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.0009518/0.0009515, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001213/0.001213, allocations: 172.7 kB / 15.95 MB, free: 208 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.357/1.357, allocations: 223.3 MB / 240 MB, free: 5.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9943/0.9943, allocations: 143.4 MB / 434.4 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003227/0.0003227, allocations: 12 kB / 0.5161 GB, free: 11.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1783/0.1786, allocations: 83.42 MB / 0.5975 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Storage.BaseClasses.Examples.IndirectTankHeatExchanger): time 0.322/0.5006, allocations: 26.23 MB / 0.6232 GB, free: 29.62 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.008452/0.5091, allocations: 7.39 MB / 0.6304 GB, free: 24.37 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.5103, allocations: 33.16 kB / 0.6304 GB, free: 24.35 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0008646/0.5112, allocations: 288.1 kB / 0.6307 GB, free: 24.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001951/0.5131, allocations: 0.8145 MB / 0.6315 GB, free: 23.72 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.5154, allocations: 0.7758 MB / 0.6322 GB, free: 23.36 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004326/0.5197, allocations: 5.261 MB / 0.6374 GB, free: 21.16 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/0.5216, allocations: 1.611 MB / 0.639 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002175/0.5237, allocations: 1.312 MB / 0.6402 GB, free: 20.11 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00146/0.5252, allocations: 1.226 MB / 0.6414 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.5254, allocations: 77.66 kB / 0.6415 GB, free: 19.61 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002736/0.5281, allocations: 0.9863 MB / 0.6425 GB, free: 19.34 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004718/0.5286, allocations: 354.8 kB / 0.6428 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000937/0.5296, allocations: 424.7 kB / 0.6432 GB, free: 18.93 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003121/0.5327, allocations: 2.988 MB / 0.6461 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.5327, allocations: 0 / 0.6461 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.454e-06/0.5327, allocations: 2.969 kB / 0.6461 GB, free: 18.35 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.722e-05/0.5328, allocations: 0 / 0.6461 GB, free: 18.35 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.003905/0.5367, allocations: 2.159 MB / 0.6482 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.339e-05/0.5367, allocations: 11.59 kB / 0.6482 GB, free: 17.14 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002829/0.537, allocations: 210 kB / 0.6484 GB, free: 17.01 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007096/0.5377, allocations: 229.4 kB / 0.6487 GB, free: 16.91 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.5405, allocations: 1.741 MB / 0.6504 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001021/0.5406, allocations: 115.7 kB / 0.6505 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002478/0.5409, allocations: 153.6 kB / 0.6506 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003509/0.5444, allocations: 1.98 MB / 0.6526 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.796e-05/0.5444, allocations: 2.922 kB / 0.6526 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001315/0.5446, allocations: 57.94 kB / 0.6526 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.867e-05/0.5447, allocations: 41 kB / 0.6527 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00295/0.5476, allocations: 1.784 MB / 0.6544 GB, free: 14.45 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.01073/0.5583, allocations: 7.634 MB / 0.6619 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002025/0.5604, allocations: 1.447 MB / 0.6633 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.5615, allocations: 0.6575 MB / 0.6639 GB, free: 9.176 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006119/0.5676, allocations: 3.855 MB / 0.6677 GB, free: 6.617 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.5676, allocations: 40.92 kB / 0.6677 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=88): time 2.925e-06/0.5676, allocations: 0 / 0.6677 GB, free: 6.574 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88): time 0.002418/0.5701, allocations: 1.509 MB / 0.6692 GB, free: 6.016 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.972e-05/0.5701, allocations: 67.23 kB / 0.6693 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.5724, allocations: 1.593 MB / 0.6708 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.189e-05/0.5724, allocations: 49.55 kB / 0.6709 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005654/0.573, allocations: 0.7601 MB / 0.6716 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/0.5733, allocations: 316.1 kB / 0.6719 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.878e-05/0.5734, allocations: 25.91 kB / 0.6719 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.5735, allocations: 364.1 kB / 0.6723 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001069/0.5745, allocations: 0.6743 MB / 0.6729 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001188/0.5757, allocations: 1.014 MB / 0.6739 GB, free: 3.297 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00123/0.577, allocations: 0.8649 MB / 0.6748 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.919e-06/0.577, allocations: 3.875 kB / 0.6748 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of matching and sorting (n=175) (initialization): time 0.002906/0.5799, allocations: 1.947 MB / 0.6767 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001491/0.5801, allocations: 366.7 kB / 0.677 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.711e-05/0.5801, allocations: 8.438 kB / 0.677 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.075e-05/0.5801, allocations: 17.66 kB / 0.677 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.5813, allocations: 334.3 kB / 0.6774 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.471e-05/0.5813, allocations: 23.42 kB / 0.6774 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001178/0.5825, allocations: 213 kB / 0.6776 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/0.5826, allocations: 60.59 kB / 0.6776 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.947e-06/0.5827, allocations: 5.625 kB / 0.6776 GB, free: 1.605 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002503/0.5852, allocations: 1.786 MB / 0.6794 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5852, allocations: 9.844 kB / 0.6794 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.074e-05/0.5852, allocations: 16.22 kB / 0.6794 GB, free: 0.9609 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.5864, allocations: 334 kB / 0.6797 GB, free: 0.9297 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3e-05/0.5864, allocations: 27.08 kB / 0.6798 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.5875, allocations: 187.8 kB / 0.6799 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/0.5876, allocations: 62.61 kB / 0.68 GB, free: 0.7969 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.001247/0.5889, allocations: 0.7523 MB / 0.6807 GB, free: 272 kB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003142/0.5892, allocations: 150.5 kB / 0.6809 GB, free: 192 kB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/0.5913, allocations: 1.278 MB / 0.6821 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.586e-05/0.5914, allocations: 8.5 kB / 0.6821 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.5914, allocations: 5.109 kB / 0.6821 GB, free: 15.46 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001563/0.593, allocations: 1.293 MB / 0.6834 GB, free: 14.55 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004428/0.5974, allocations: 2.928 MB / 0.6863 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.931e-06/0.5974, allocations: 1.188 kB / 0.6863 GB, free: 12.67 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007784/0.5982, allocations: 185.9 kB / 0.6864 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.567e-05/0.5982, allocations: 8.609 kB / 0.6864 GB, free: 12.62 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.488e-05/0.5983, allocations: 29.23 kB / 0.6865 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/0.5983, allocations: 3.297 kB / 0.6865 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.5983, allocations: 6.344 kB / 0.6865 GB, free: 12.6 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002877/0.6012, allocations: 1.907 MB / 0.6883 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00082/0.602, allocations: 432.1 kB / 0.6888 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/0.6023, allocations: 27.06 kB / 0.6888 GB, free: 11.16 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007593/0.603, allocations: 75.88 kB / 0.6889 GB, free: 11.12 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.116e-05/0.6031, allocations: 58.8 kB / 0.6889 GB, free: 11.08 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.372e-05/0.6032, allocations: 34.66 kB / 0.6889 GB, free: 11.07 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001806/0.605, allocations: 1.193 MB / 0.6901 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.605, allocations: 3.938 kB / 0.6901 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002697/0.6077, allocations: 0.9051 MB / 0.691 GB, free: 10.25 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.004262/0.612, allocations: 2.704 MB / 0.6936 GB, free: 8.395 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003778/0.6158, allocations: 2.312 MB / 0.6959 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6158, allocations: 0 / 0.6959 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0006667/0.6165, allocations: 0.517 MB / 0.6964 GB, free: 5.57 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003443/0.6199, allocations: 0.8691 MB / 0.6973 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02423/0.6442, allocations: 12.46 MB / 0.7094 GB, free: 7.816 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.6454, allocations: 1.682 MB / 0.7111 GB, free: 6.102 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002611/0.648, allocations: 0.9215 MB / 0.712 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/0.6489, allocations: 0.6203 MB / 0.7126 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of SimCode: time 7.51e-07/0.6489, allocations: 0 / 0.7126 GB, free: 4.586 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07502/0.724, allocations: 49.7 MB / 0.7611 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.7242, allocations: 259.4 kB / 0.7613 GB, free: 3.223 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.686/3.41, allocations: 0 / 0.7613 GB, free: 3.223 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: