Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.249/2.249, allocations: 391.2 MB / 407 MB, free: 10.92 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 191.4 kB / 499.1 MB, free: 4.695 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.447/1.447, allocations: 222.9 MB / 0.7948 GB, free: 15.83 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009416/0.0009416, allocations: 98.89 kB / 0.9329 GB, free: 7.148 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001279/0.001279, allocations: 52.28 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2557/0.257, allocations: 140.6 MB / 1.218 GB, free: 117.3 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.0861/0.3432, allocations: 125.3 MB / 1.34 GB, free: 7.645 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.02109/0.3643, allocations: 15.59 MB / 1.356 GB, free: 8.008 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002783/0.3672, allocations: 71.56 kB / 1.356 GB, free: 7.938 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.3698, allocations: 0.7925 MB / 1.356 GB, free: 7.141 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.006771/0.3766, allocations: 2.403 MB / 1.359 GB, free: 4.73 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.004931/0.3815, allocations: 1.905 MB / 1.361 GB, free: 2.844 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.006661/0.3882, allocations: 6.046 MB / 1.367 GB, free: 12.78 MB / 0.8698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002578/0.3908, allocations: 1.408 MB / 1.368 GB, free: 11.34 MB / 0.8698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00356/0.3944, allocations: 1.552 MB / 1.37 GB, free: 9.781 MB / 0.8698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003154/0.3975, allocations: 1.31 MB / 1.371 GB, free: 8.465 MB / 0.8698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005951/0.3982, allocations: 92 kB / 1.371 GB, free: 8.375 MB / 0.8698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005025/0.4032, allocations: 1.821 MB / 1.373 GB, free: 6.551 MB / 0.8698 GB Notification: Performance of NFScalarize.scalarize: time 0.0008296/0.404, allocations: 402.3 kB / 1.373 GB, free: 6.156 MB / 0.8698 GB Notification: Performance of NFVerifyModel.verify: time 0.001888/0.406, allocations: 0.9639 MB / 1.374 GB, free: 5.188 MB / 0.8698 GB Notification: Performance of NFConvertDAE.convert: time 0.006107/0.4121, allocations: 3.596 MB / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 7.975e-06/0.4121, allocations: 0 / 1.377 GB, free: 1.582 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4121, allocations: 3.938 kB / 1.377 GB, free: 1.578 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.993e-05/0.4122, allocations: 0 / 1.377 GB, free: 1.578 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 312 * Number of variables: 312 Notification: Performance of Generate backend data structure: time 0.005411/0.4176, allocations: 2.459 MB / 1.38 GB, free: 15.05 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.559e-05/0.4177, allocations: 19.92 kB / 1.38 GB, free: 15.03 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00549/0.4232, allocations: 0.7082 MB / 1.381 GB, free: 14.32 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003232/0.4265, allocations: 1.666 MB / 1.382 GB, free: 12.59 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001635/0.4266, allocations: 132.1 kB / 1.382 GB, free: 12.46 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002611/0.4269, allocations: 124 kB / 1.382 GB, free: 12.34 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004024/0.4309, allocations: 1.732 MB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.567e-05/0.431, allocations: 7.875 kB / 1.384 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001546/0.4311, allocations: 56 kB / 1.384 GB, free: 10.44 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.576e-05/0.4312, allocations: 43.92 kB / 1.384 GB, free: 10.4 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004728/0.4359, allocations: 1.508 MB / 1.386 GB, free: 8.883 MB / 0.8855 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.01045/0.4464, allocations: 7.552 MB / 1.393 GB, free: 0.9258 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.4505, allocations: 1.169 MB / 1.394 GB, free: 15.75 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001957/0.4524, allocations: 0.5844 MB / 1.395 GB, free: 15.16 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001275/0.4537, allocations: 1.275 MB / 1.396 GB, free: 13.61 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002224/0.456, allocations: 0.6885 MB / 1.397 GB, free: 12.91 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=80): time 3.467e-06/0.456, allocations: 4 kB / 1.397 GB, free: 12.9 MB / 0.9011 GB Notification: Performance of matching and sorting (n=80): time 0.01853/0.4745, allocations: 3.163 MB / 1.4 GB, free: 9.711 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.839e-05/0.4747, allocations: 141.1 kB / 1.4 GB, free: 9.539 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002239/0.4769, allocations: 1.278 MB / 1.401 GB, free: 8.246 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.4771, allocations: 45.7 kB / 1.401 GB, free: 8.195 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006768/0.4778, allocations: 0.7193 MB / 1.402 GB, free: 7.469 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003633/0.4782, allocations: 280 kB / 1.402 GB, free: 7.191 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004346/0.4786, allocations: 222.4 kB / 1.402 GB, free: 6.969 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.4788, allocations: 341.9 kB / 1.403 GB, free: 6.629 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002025/0.4808, allocations: 0.5278 MB / 1.403 GB, free: 6.098 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.483, allocations: 0.806 MB / 1.404 GB, free: 5.176 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004087/0.4871, allocations: 1.229 MB / 1.405 GB, free: 3.867 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.055e-06/0.4872, allocations: 4 kB / 1.405 GB, free: 3.863 MB / 0.9011 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005746/0.4929, allocations: 1.656 MB / 1.407 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.609e-05/0.493, allocations: 8 kB / 1.407 GB, free: 2.188 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.724e-05/0.493, allocations: 11.98 kB / 1.407 GB, free: 2.176 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002078/0.4951, allocations: 0.5724 MB / 1.407 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.4965, allocations: 235.6 kB / 1.408 GB, free: 1.371 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/0.4986, allocations: 1.177 MB / 1.409 GB, free: 172 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002153/0.5008, allocations: 224.5 kB / 1.409 GB, free: 15.95 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/0.5009, allocations: 59.94 kB / 1.409 GB, free: 15.89 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002615/0.5036, allocations: 0.8336 MB / 1.41 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002217/0.5058, allocations: 0.7943 MB / 1.411 GB, free: 14.15 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004018/0.5098, allocations: 1.209 MB / 1.412 GB, free: 12.86 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.853e-06/0.5099, allocations: 11.92 kB / 1.412 GB, free: 12.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005402/0.5153, allocations: 1.637 MB / 1.413 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.5153, allocations: 12.88 kB / 1.414 GB, free: 11.19 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/0.5153, allocations: 8 kB / 1.414 GB, free: 11.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002048/0.5174, allocations: 0.5607 MB / 1.414 GB, free: 10.62 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/0.5189, allocations: 243.6 kB / 1.414 GB, free: 10.38 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002155/0.5211, allocations: 1.17 MB / 1.415 GB, free: 9.184 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002132/0.5232, allocations: 215.1 kB / 1.416 GB, free: 8.973 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001786/0.5234, allocations: 55.95 kB / 1.416 GB, free: 8.918 MB / 0.9167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 7 ($PRE.calDat.nextTimeEvent,$whenCondition1,heaPum.com.isOn,$PRE.heaPum.com.isOn,calDat.nextTimeEventScaled,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0004667/0.5239, allocations: 236.8 kB / 1.416 GB, free: 8.68 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005473/0.5245, allocations: 154.2 kB / 1.416 GB, free: 8.527 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01298/0.5375, allocations: 2.119 MB / 1.418 GB, free: 6.395 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.836e-05/0.5375, allocations: 8 kB / 1.418 GB, free: 6.387 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.053e-05/0.5375, allocations: 3.984 kB / 1.418 GB, free: 6.383 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01238/0.5499, allocations: 1.958 MB / 1.42 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008984/0.559, allocations: 3.629 MB / 1.424 GB, free: 0.582 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.007e-05/0.559, allocations: 4 kB / 1.424 GB, free: 0.5781 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001092/0.5601, allocations: 179.9 kB / 1.424 GB, free: 412 kB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.4704/1.03, allocations: 0.5381 MB / 1.424 GB, free: 200 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002302/1.031, allocations: 36.73 kB / 1.424 GB, free: 200 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002058/1.033, allocations: 1.153 MB / 1.425 GB, free: 199.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/1.033, allocations: 9.906 kB / 1.425 GB, free: 199.5 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008107/1.041, allocations: 3.047 MB / 1.428 GB, free: 198.3 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007733/1.042, allocations: 383.3 kB / 1.429 GB, free: 198.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/1.042, allocations: 21.66 kB / 1.429 GB, free: 198.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001688/1.044, allocations: 146.7 kB / 1.429 GB, free: 198.1 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/1.044, allocations: 58.27 kB / 1.429 GB, free: 198.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001327/1.044, allocations: 56.92 kB / 1.429 GB, free: 198.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001316/1.045, allocations: 0.8678 MB / 1.43 GB, free: 197.7 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.81e-07/1.045, allocations: 0 / 1.43 GB, free: 197.7 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002867/1.048, allocations: 0.9962 MB / 1.431 GB, free: 197.6 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,calDat.nextTimeEvent,calDat.nextTimeEventScaled,heaPum.com.isOn) * Number of discrete states: 3 (calDat.nextTimeEvent,heaPum.com.isOn,calDat.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (54): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(4,25)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001994/1.05, allocations: 0.8869 MB / 1.432 GB, free: 197.4 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.00694/1.057, allocations: 2.008 MB / 1.434 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.057, allocations: 1.656 kB / 1.434 GB, free: 196.8 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.002189/1.059, allocations: 0.6303 MB / 1.434 GB, free: 196.7 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003961/1.063, allocations: 0.7517 MB / 1.435 GB, free: 196.5 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006532/1.07, allocations: 3.767 MB / 1.439 GB, free: 194.3 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001091/1.071, allocations: 1.28 MB / 1.44 GB, free: 193.6 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.002272/1.073, allocations: 369.7 kB / 1.44 GB, free: 193.5 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004565/1.074, allocations: 146.7 kB / 1.441 GB, free: 193.5 MB / 0.9167 GB Notification: Performance of SimCode: time 1.132e-06/1.074, allocations: 1.25 kB / 1.441 GB, free: 193.5 MB / 0.9167 GB Notification: Performance of Templates: time 0.05771/1.131, allocations: 39.46 MB / 1.479 GB, free: 166.4 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)