Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009791/0.0009837, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001088, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 223.2 MB / 239.9 MB, free: 5.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 1.043/1.043, allocations: 143.3 MB / 434.2 MB, free: 13.6 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000361/0.0003612, allocations: 8 kB / 0.5159 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1905/0.1909, allocations: 83.41 MB / 0.5974 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.3954/0.5864, allocations: 23.96 MB / 0.6208 GB, free: 31.58 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.009241/0.5957, allocations: 6.878 MB / 0.6275 GB, free: 26.76 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001462/0.5972, allocations: 33.22 kB / 0.6275 GB, free: 26.74 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.5985, allocations: 391.5 kB / 0.6279 GB, free: 26.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003398/0.6019, allocations: 1.029 MB / 0.6289 GB, free: 25.85 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.6053, allocations: 1.097 MB / 0.6299 GB, free: 25.33 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003388/0.6087, allocations: 2.721 MB / 0.6326 GB, free: 23.88 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001808/0.6105, allocations: 1.617 MB / 0.6342 GB, free: 23.32 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.6125, allocations: 1.168 MB / 0.6353 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.6136, allocations: 0.9292 MB / 0.6362 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001693/0.6138, allocations: 78.09 kB / 0.6363 GB, free: 22.4 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001923/0.6157, allocations: 0.8597 MB / 0.6371 GB, free: 22.18 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003081/0.6161, allocations: 337.1 kB / 0.6375 GB, free: 22.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004785/0.6165, allocations: 427.4 kB / 0.6379 GB, free: 21.78 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002465/0.619, allocations: 2.929 MB / 0.6407 GB, free: 21.21 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.619, allocations: 0 / 0.6407 GB, free: 21.21 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.334e-06/0.619, allocations: 0 / 0.6407 GB, free: 21.21 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.393e-05/0.6191, allocations: 0 / 0.6407 GB, free: 21.21 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 348 * Number of variables: 348 Notification: Performance of Generate backend data structure: time 0.004009/0.6231, allocations: 2.148 MB / 0.6428 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.6232, allocations: 8.25 kB / 0.6428 GB, free: 20.02 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003/0.6235, allocations: 212.5 kB / 0.643 GB, free: 19.89 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007168/0.6242, allocations: 229.6 kB / 0.6433 GB, free: 19.79 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002863/0.6271, allocations: 1.647 MB / 0.6449 GB, free: 18.92 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.494e-05/0.6272, allocations: 120.5 kB / 0.645 GB, free: 18.86 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00022/0.6274, allocations: 158.2 kB / 0.6451 GB, free: 18.8 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003077/0.6305, allocations: 1.974 MB / 0.6471 GB, free: 17.99 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.764e-05/0.6305, allocations: 12.34 kB / 0.6471 GB, free: 17.98 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001398/0.6307, allocations: 57.16 kB / 0.6471 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.722e-05/0.6307, allocations: 37.86 kB / 0.6472 GB, free: 17.94 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002987/0.6337, allocations: 1.79 MB / 0.6489 GB, free: 17.35 MB / 0.4981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01288/0.6466, allocations: 7.71 MB / 0.6564 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00223/0.6489, allocations: 1.449 MB / 0.6579 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007377/0.6563, allocations: 3.899 MB / 0.6617 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.856e-05/0.6564, allocations: 44.47 kB / 0.6617 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 4.158e-06/0.6564, allocations: 0 / 0.6617 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.003968/0.6604, allocations: 1.503 MB / 0.6632 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.707e-05/0.6605, allocations: 65.61 kB / 0.6632 GB, free: 9.047 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00396/0.6645, allocations: 1.688 MB / 0.6649 GB, free: 8.418 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0004692/0.665, allocations: 48.08 kB / 0.6649 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001063/0.6661, allocations: 0.7573 MB / 0.6657 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005809/0.6667, allocations: 312.3 kB / 0.666 GB, free: 7.539 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.989e-05/0.6668, allocations: 28.53 kB / 0.666 GB, free: 7.516 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.667, allocations: 360.9 kB / 0.6663 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001765/0.6688, allocations: 0.6777 MB / 0.667 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001894/0.6707, allocations: 1.01 MB / 0.668 GB, free: 6.355 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001844/0.6725, allocations: 0.8681 MB / 0.6688 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.378e-05/0.6726, allocations: 2.438 kB / 0.6688 GB, free: 6.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004469/0.677, allocations: 1.94 MB / 0.6707 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006993/0.6778, allocations: 3.525 MB / 0.6742 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.6778, allocations: 9.906 kB / 0.6742 GB, free: 1.562 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.447e-05/0.6779, allocations: 21.38 kB / 0.6742 GB, free: 1.559 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00136/0.6792, allocations: 350.7 kB / 0.6745 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.998e-05/0.6793, allocations: 20.92 kB / 0.6746 GB, free: 1.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001938/0.6812, allocations: 225.5 kB / 0.6748 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001766/0.6814, allocations: 61.44 kB / 0.6748 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.6814, allocations: 4.875 kB / 0.6748 GB, free: 1.387 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002925/0.6844, allocations: 1.778 MB / 0.6766 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.601e-05/0.6844, allocations: 12.34 kB / 0.6766 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.958e-05/0.6844, allocations: 17.53 kB / 0.6766 GB, free: 0.7461 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.6857, allocations: 345.9 kB / 0.6769 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.903e-05/0.6858, allocations: 21.48 kB / 0.677 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001624/0.6874, allocations: 202.3 kB / 0.6771 GB, free: 0.6055 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/0.6876, allocations: 57.36 kB / 0.6772 GB, free: 0.5977 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (175): * Single equations (assignments): 175 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001701/0.6893, allocations: 0.753 MB / 0.6779 GB, free: 180 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000545/0.6898, allocations: 146.8 kB / 0.6781 GB, free: 104 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002316/0.6921, allocations: 1.291 MB / 0.6793 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.733e-05/0.6922, allocations: 7.469 kB / 0.6793 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.853e-06/0.6922, allocations: 1 kB / 0.6793 GB, free: 15.59 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00158/0.6938, allocations: 1.287 MB / 0.6806 GB, free: 14.83 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005493/0.6993, allocations: 2.975 MB / 0.6835 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.526e-06/0.6993, allocations: 5.359 kB / 0.6835 GB, free: 13.15 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007847/0.7001, allocations: 176.9 kB / 0.6837 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.366e-05/0.7001, allocations: 4.375 kB / 0.6837 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.741e-05/0.7002, allocations: 24.08 kB / 0.6837 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.161e-05/0.7002, allocations: 8.656 kB / 0.6837 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.448e-06/0.7003, allocations: 5.781 kB / 0.6837 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003111/0.7034, allocations: 1.973 MB / 0.6857 GB, free: 11.89 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001221/0.7046, allocations: 447 kB / 0.6861 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.7049, allocations: 26.98 kB / 0.6861 GB, free: 11.53 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008967/0.7058, allocations: 77.97 kB / 0.6862 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.7059, allocations: 45.91 kB / 0.6862 GB, free: 11.47 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.683e-05/0.706, allocations: 39.47 kB / 0.6863 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.002111/0.7081, allocations: 1.263 MB / 0.6875 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7081, allocations: 0 / 0.6875 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.003253/0.7114, allocations: 0.9241 MB / 0.6884 GB, free: 10.58 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (indTanHex.vol[1].dynBal.U,indTanHex.vol[2].dynBal.U,indTanHex.vol[3].dynBal.U,indTanHex.cap[1].T,indTanHex.cap[2].T,indTanHex.cap[3].T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 87 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003839/0.7152, allocations: 3.043 MB / 0.6914 GB, free: 8.492 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003644/0.7189, allocations: 2.306 MB / 0.6936 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.75e-06/0.7189, allocations: 0 / 0.6936 GB, free: 7.406 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0007358/0.7197, allocations: 0.5204 MB / 0.6941 GB, free: 7.16 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00419/0.7239, allocations: 0.8518 MB / 0.695 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0104/0.7343, allocations: 11.55 MB / 0.7062 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001231/0.7356, allocations: 1.713 MB / 0.7079 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.003098/0.7387, allocations: 0.9267 MB / 0.7088 GB, free: 8.191 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001015/0.7397, allocations: 0.6164 MB / 0.7094 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of SimCode: time 1.142e-06/0.7397, allocations: 0 / 0.7094 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0838/0.8235, allocations: 49.44 MB / 0.7577 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002663/0.8239, allocations: 259.9 kB / 0.7579 GB, free: 6.492 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.898/3.722, allocations: 7.938 kB / 0.7579 GB, free: 6.484 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_Storage_BaseClasses_Examples_IndirectTankHeatExchanger.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger.pipe 2>&1) Environment - environmentSimulation: