Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001291/0.001291, allocations: 114.6 kB / 16.42 MB, free: 6.02 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.001285/0.001285, allocations: 186.1 kB / 17.35 MB, free: 5.633 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.337/1.337, allocations: 222.9 MB / 241.1 MB, free: 15.15 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.856/0.856, allocations: 143.1 MB / 434.3 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 68.2 kB / 0.5962 GB, free: 12.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.1364, allocations: 82.04 MB / 0.6763 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.4138/0.5503, allocations: 130.8 MB / 0.8041 GB, free: 7.875 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03026/0.5806, allocations: 25.12 MB / 0.8286 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004174/0.5848, allocations: 138 kB / 0.8288 GB, free: 4.629 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.004276/0.5891, allocations: 1.789 MB / 0.8305 GB, free: 3.125 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01177/0.6009, allocations: 4.785 MB / 0.8352 GB, free: 15.32 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.008562/0.6095, allocations: 3.533 MB / 0.8386 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.01101/0.6205, allocations: 9.025 MB / 0.8474 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004458/0.625, allocations: 3.208 MB / 0.8506 GB, free: 1.809 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006757/0.6318, allocations: 3.539 MB / 0.854 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003881/0.6356, allocations: 2.488 MB / 0.8565 GB, free: 11.77 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0008521/0.6365, allocations: 388 kB / 0.8568 GB, free: 11.39 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006103/0.6426, allocations: 2.892 MB / 0.8597 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.001062/0.6437, allocations: 0.8877 MB / 0.8605 GB, free: 7.609 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.002793/0.6465, allocations: 1.995 MB / 0.8625 GB, free: 5.605 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.008857/0.6554, allocations: 6.688 MB / 0.869 GB, free: 14.9 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 7.164e-06/0.6554, allocations: 7.984 kB / 0.869 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6554, allocations: 3.938 kB / 0.869 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001218/0.6555, allocations: 0 / 0.869 GB, free: 14.89 MB / 0.6387 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.007625/0.6632, allocations: 4.095 MB / 0.873 GB, free: 10.69 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.897e-05/0.6632, allocations: 12.02 kB / 0.873 GB, free: 10.68 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009864/0.6731, allocations: 1.284 MB / 0.8743 GB, free: 9.387 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00486/0.678, allocations: 2.996 MB / 0.8772 GB, free: 6.312 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002382/0.6782, allocations: 252 kB / 0.8774 GB, free: 6.051 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000432/0.6787, allocations: 235.9 kB / 0.8777 GB, free: 5.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007251/0.6859, allocations: 3.16 MB / 0.8808 GB, free: 2.473 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.672e-05/0.686, allocations: 7.938 kB / 0.8808 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002681/0.6863, allocations: 104 kB / 0.8809 GB, free: 2.363 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.807e-05/0.6863, allocations: 71.98 kB / 0.8809 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008641/0.695, allocations: 2.76 MB / 0.8836 GB, free: 15.52 MB / 0.6544 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.01818/0.7132, allocations: 13.59 MB / 0.8969 GB, free: 1.27 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004107/0.7173, allocations: 1.395 MB / 0.8983 GB, free: 15.86 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002946/0.7203, allocations: 0.8542 MB / 0.8991 GB, free: 15.01 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001725/0.722, allocations: 1.785 MB / 0.9008 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003482/0.7255, allocations: 1.119 MB / 0.9019 GB, free: 11.65 MB / 0.67 GB Notification: Performance of pre-optimization done (n=126): time 4.699e-06/0.7255, allocations: 4 kB / 0.9019 GB, free: 11.65 MB / 0.67 GB Notification: Performance of matching and sorting (n=132): time 0.03178/0.7573, allocations: 9.542 MB / 0.9112 GB, free: 1.945 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002349/0.7576, allocations: 0.5844 MB / 0.9118 GB, free: 1.223 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004158/0.7617, allocations: 2.64 MB / 0.9144 GB, free: 14.57 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001976/0.7619, allocations: 61.7 kB / 0.9145 GB, free: 14.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/0.7631, allocations: 1.349 MB / 0.9158 GB, free: 13.14 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004493/0.7636, allocations: 461.5 kB / 0.9162 GB, free: 12.68 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007653/0.7644, allocations: 462.8 kB / 0.9167 GB, free: 12.22 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.807e-05/0.7645, allocations: 309.1 kB / 0.9169 GB, free: 11.92 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003668/0.7681, allocations: 0.9299 MB / 0.9179 GB, free: 10.98 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004248/0.7724, allocations: 1.53 MB / 0.9194 GB, free: 9.207 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006919/0.7793, allocations: 2.166 MB / 0.9215 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.7794, allocations: 0 / 0.9215 GB, free: 6.867 MB / 0.6856 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01153/0.7909, allocations: 3.093 MB / 0.9245 GB, free: 3.75 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 5.058e-05/0.791, allocations: 33.7 kB / 0.9245 GB, free: 3.711 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.013e-05/0.791, allocations: 12.88 kB / 0.9245 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003104/0.7941, allocations: 0.9225 MB / 0.9254 GB, free: 2.777 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002637/0.7967, allocations: 463.2 kB / 0.9259 GB, free: 2.324 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003163/0.7999, allocations: 2.167 MB / 0.928 GB, free: 108 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004202/0.8041, allocations: 279.5 kB / 0.9283 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002687/0.8044, allocations: 111.9 kB / 0.9284 GB, free: 15.72 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004625/0.8091, allocations: 1.426 MB / 0.9298 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004123/0.8132, allocations: 1.507 MB / 0.9312 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006784/0.82, allocations: 2.138 MB / 0.9333 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.063e-05/0.82, allocations: 4 kB / 0.9333 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.01147/0.8315, allocations: 3.073 MB / 0.9363 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 3.684e-05/0.8315, allocations: 40.14 kB / 0.9364 GB, free: 7.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.66e-05/0.8316, allocations: 12 kB / 0.9364 GB, free: 7.078 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00301/0.8346, allocations: 0.917 MB / 0.9373 GB, free: 6.164 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002547/0.8371, allocations: 467.2 kB / 0.9377 GB, free: 5.707 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003026/0.8402, allocations: 2.155 MB / 0.9398 GB, free: 3.5 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004181/0.8444, allocations: 300 kB / 0.9401 GB, free: 3.207 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002162/0.8446, allocations: 107.9 kB / 0.9402 GB, free: 3.102 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0005063/0.8451, allocations: 299.8 kB / 0.9405 GB, free: 2.801 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006877/0.8458, allocations: 284.6 kB / 0.9408 GB, free: 2.52 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007684/0.8535, allocations: 2.233 MB / 0.9429 GB, free: 276 kB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006526/0.86, allocations: 1.865 MB / 0.9448 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.8601, allocations: 256 / 0.9448 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001206/0.8613, allocations: 0.5678 MB / 0.9453 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005554/0.8619, allocations: 40 kB / 0.9454 GB, free: 13.71 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003055/0.8649, allocations: 204 kB / 0.9456 GB, free: 13.52 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002077/0.8651, allocations: 100.8 kB / 0.9456 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01092/0.8761, allocations: 3.059 MB / 0.9486 GB, free: 10.34 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01032/0.8864, allocations: 3.622 MB / 0.9522 GB, free: 6.699 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003016/0.8894, allocations: 0.8341 MB / 0.953 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003332/0.8928, allocations: 1.839 MB / 0.9548 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of Backend: time 7.02e-07/0.8928, allocations: 0 / 0.9548 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.01356/0.9064, allocations: 3.973 MB / 0.9587 GB, free: 56 kB / 0.7169 GB Notification: Performance of SimCode: time 0.01171/0.9181, allocations: 6.363 MB / 0.9649 GB, free: 9.668 MB / 0.7325 GB Notification: Performance of Templates: time 0.3979/1.316, allocations: 91.38 MB / 1.054 GB, free: 293.7 MB / 0.8106 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)