Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.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.6.0/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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: translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") translateModel(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001362/0.001362, allocations: 114 kB / 16.42 MB, free: 6.402 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.001121/0.001121, allocations: 183.9 kB / 17.35 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.307/1.307, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/package.mo): time 0.8533/0.8533, allocations: 143.1 MB / 434.3 MB, free: 11.99 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 72.72 kB / 0.5962 GB, free: 12.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1455, allocations: 82.03 MB / 0.6763 GB, free: 10.34 MB / 0.5137 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter mov.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T): time 0.05354/0.199, allocations: 53.78 MB / 0.7288 GB, free: 4.363 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0243/0.2233, allocations: 17.08 MB / 0.7455 GB, free: 3.238 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/0.2268, allocations: 91.5 kB / 0.7456 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00564/0.2325, allocations: 1.949 MB / 0.7475 GB, free: 1.203 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3209/0.5534, allocations: 2.621 MB / 0.7501 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005969/0.5593, allocations: 2.35 MB / 0.7524 GB, free: 5.715 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01243/0.5718, allocations: 7.576 MB / 0.7598 GB, free: 5.688 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002967/0.5748, allocations: 1.677 MB / 0.7614 GB, free: 5.504 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004848/0.5796, allocations: 1.978 MB / 0.7633 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.5821, allocations: 1.437 MB / 0.7647 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004025/0.5826, allocations: 180 kB / 0.7649 GB, free: 5.168 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004204/0.5868, allocations: 2.024 MB / 0.7669 GB, free: 5.164 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007693/0.5876, allocations: 0.6673 MB / 0.7675 GB, free: 5.066 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002/0.5896, allocations: 1.23 MB / 0.7688 GB, free: 4.688 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006758/0.5963, allocations: 4.117 MB / 0.7728 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.5964, allocations: 0 / 0.7728 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.362e-06/0.5964, allocations: 1.156 kB / 0.7728 GB, free: 4.145 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.054e-05/0.5964, allocations: 0 / 0.7728 GB, free: 4.145 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.005061/0.6015, allocations: 2.967 MB / 0.7757 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.6015, allocations: 10.97 kB / 0.7757 GB, free: 2.602 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002644/0.6042, allocations: 0.5505 MB / 0.7762 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004451/0.6086, allocations: 2.754 MB / 0.7789 GB, free: 1.859 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.358e-05/0.6087, allocations: 93.83 kB / 0.779 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.6089, allocations: 120.8 kB / 0.7791 GB, free: 1.855 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002461/0.6114, allocations: 1.363 MB / 0.7804 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.818e-05/0.6114, allocations: 5.844 kB / 0.7804 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001089/0.6116, allocations: 44.56 kB / 0.7805 GB, free: 1.586 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.277e-05/0.6116, allocations: 44.02 kB / 0.7805 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/0.6141, allocations: 1.107 MB / 0.7816 GB, free: 1.551 MB / 0.5762 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.008832/0.623, allocations: 7.48 MB / 0.7889 GB, free: 13.24 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002248/0.6252, allocations: 1.349 MB / 0.7902 GB, free: 12.62 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008942/0.6261, allocations: 423.9 kB / 0.7906 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005276/0.6314, allocations: 3.17 MB / 0.7937 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001034/0.6325, allocations: 433.1 kB / 0.7941 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=59): time 2.334e-06/0.6325, allocations: 0 / 0.7941 GB, free: 9.852 MB / 0.5919 GB Notification: Performance of matching and sorting (n=59): time 0.0031/0.6356, allocations: 1.244 MB / 0.7954 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.6356, allocations: 62.66 kB / 0.7954 GB, free: 9.117 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002613/0.6382, allocations: 2.152 MB / 0.7975 GB, free: 7.953 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.044e-05/0.6383, allocations: 44.58 kB / 0.7976 GB, free: 7.914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008193/0.6392, allocations: 1.028 MB / 0.7986 GB, free: 7.02 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001847/0.6394, allocations: 216.2 kB / 0.7988 GB, free: 6.84 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004078/0.6398, allocations: 313.7 kB / 0.7991 GB, free: 6.656 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 8.948e-05/0.6399, allocations: 303.4 kB / 0.7994 GB, free: 6.359 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/0.641, allocations: 0.5473 MB / 0.7999 GB, free: 6.086 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001427/0.6424, allocations: 0.9954 MB / 0.8009 GB, free: 5.258 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002369/0.6448, allocations: 1.446 MB / 0.8023 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.6448, allocations: 3.781 kB / 0.8023 GB, free: 4.273 MB / 0.5919 GB Notification: Performance of matching and sorting (n=188) (initialization): time 0.003272/0.6481, allocations: 1.779 MB / 0.804 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.112e-05/0.6482, allocations: 36.73 kB / 0.8041 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.67e-05/0.6482, allocations: 15.62 kB / 0.8041 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.573e-05/0.6482, allocations: 19.25 kB / 0.8041 GB, free: 3.422 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001104/0.6493, allocations: 315.5 kB / 0.8044 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.123e-05/0.6494, allocations: 19.66 kB / 0.8044 GB, free: 3.359 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001499/0.6509, allocations: 185.3 kB / 0.8046 GB, free: 3.246 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.651, allocations: 66.67 kB / 0.8047 GB, free: 3.234 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001813/0.6528, allocations: 0.9677 MB / 0.8056 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001433/0.6543, allocations: 0.9967 MB / 0.8066 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002479/0.6568, allocations: 1.447 MB / 0.808 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.374e-06/0.6568, allocations: 5.469 kB / 0.808 GB, free: 0.8711 MB / 0.5919 GB Notification: Performance of matching and sorting (n=188) (initialization_lambda0): time 0.003384/0.6602, allocations: 1.766 MB / 0.8097 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.445e-05/0.6602, allocations: 39.52 kB / 0.8098 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.6602, allocations: 16.06 kB / 0.8098 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.861e-05/0.6603, allocations: 23.98 kB / 0.8098 GB, free: 15.75 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.6614, allocations: 305.4 kB / 0.8101 GB, free: 15.48 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-05/0.6614, allocations: 33.8 kB / 0.8101 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001553/0.663, allocations: 159 kB / 0.8103 GB, free: 15.29 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.6631, allocations: 59.98 kB / 0.8103 GB, free: 15.23 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (154): * Single equations (assignments): 151 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003465/0.6635, allocations: 258.2 kB / 0.8106 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003105/0.6638, allocations: 201.4 kB / 0.8108 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002829/0.6666, allocations: 1.137 MB / 0.8119 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002035/0.6687, allocations: 0.9465 MB / 0.8128 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/0.6687, allocations: 0 / 0.8128 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008423/0.6696, allocations: 386.2 kB / 0.8132 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002808/0.6698, allocations: 19.94 kB / 0.8132 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009682/0.6708, allocations: 71.86 kB / 0.8133 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001321/0.671, allocations: 56.05 kB / 0.8133 GB, free: 12.13 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002865/0.6738, allocations: 1.032 MB / 0.8143 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003264/0.6771, allocations: 1.628 MB / 0.8159 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009113/0.678, allocations: 412.3 kB / 0.8163 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002088/0.6801, allocations: 1.436 MB / 0.8177 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of Backend: time 4.41e-07/0.6801, allocations: 0 / 0.8177 GB, free: 7.629 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.006547/0.6867, allocations: 2.785 MB / 0.8204 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of SimCode: time 0.007429/0.6941, allocations: 4.621 MB / 0.8249 GB, free: 0.5 MB / 0.6075 GB Notification: Performance of Templates: time 0.06861/0.7628, allocations: 44.23 MB / 0.8681 GB, free: 4.938 MB / 0.6544 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatExchangers.Examples.WaterHeater_T.pipe 2>&1)