Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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: translateModel(BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 112.2 kB / 16.42 MB, free: 6.473 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.001131/0.001131, allocations: 186.6 kB / 17.35 MB, free: 5.75 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.385/1.385, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002088/0.002088, allocations: 292.7 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9609/0.9609, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001813/0.001813, allocations: 91.84 kB / 0.6821 GB, free: 6.965 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4452/0.447, allocations: 86.98 MB / 0.7671 GB, free: 4.062 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1284/0.5755, allocations: 126.1 MB / 0.8902 GB, free: 5.512 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02251/0.598, allocations: 15.43 MB / 0.9053 GB, free: 6.047 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002825/0.6009, allocations: 75.56 kB / 0.9054 GB, free: 5.973 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003163/0.6041, allocations: 0.99 MB / 0.9063 GB, free: 4.977 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008423/0.6125, allocations: 2.733 MB / 0.909 GB, free: 2.234 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.005743/0.6183, allocations: 2.138 MB / 0.9111 GB, free: 120 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006171/0.6245, allocations: 4.801 MB / 0.9158 GB, free: 11.3 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002497/0.627, allocations: 1.697 MB / 0.9174 GB, free: 9.566 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00378/0.6308, allocations: 1.883 MB / 0.9193 GB, free: 7.68 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003109/0.6339, allocations: 1.335 MB / 0.9206 GB, free: 6.34 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0005355/0.6345, allocations: 204 kB / 0.9208 GB, free: 6.141 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00443/0.6389, allocations: 2.04 MB / 0.9228 GB, free: 4.098 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0006661/0.6396, allocations: 0.51 MB / 0.9233 GB, free: 3.586 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001767/0.6414, allocations: 1.081 MB / 0.9243 GB, free: 2.5 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005827/0.6472, allocations: 3.7 MB / 0.9279 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.6472, allocations: 0 / 0.9279 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of FrontEnd: time 2.264e-06/0.6472, allocations: 0 / 0.9279 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.255e-05/0.6473, allocations: 0 / 0.9279 GB, free: 14.79 MB / 0.7012 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.005034/0.6524, allocations: 2.447 MB / 0.9303 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/0.6524, allocations: 8.031 kB / 0.9303 GB, free: 12.27 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005825/0.6582, allocations: 0.7127 MB / 0.931 GB, free: 11.55 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003143/0.6614, allocations: 1.697 MB / 0.9327 GB, free: 9.797 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000153/0.6616, allocations: 140.1 kB / 0.9328 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002207/0.6618, allocations: 128 kB / 0.9329 GB, free: 9.527 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004467/0.6663, allocations: 1.734 MB / 0.9346 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.658e-05/0.6663, allocations: 0 / 0.9346 GB, free: 7.695 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001782/0.6665, allocations: 56 kB / 0.9347 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-05/0.6666, allocations: 39.98 kB / 0.9347 GB, free: 7.602 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00495/0.6715, allocations: 1.512 MB / 0.9362 GB, free: 6.082 MB / 0.7012 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.01077/0.6823, allocations: 7.526 MB / 0.9436 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00425/0.6866, allocations: 1.159 MB / 0.9447 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002019/0.6886, allocations: 0.5899 MB / 0.9453 GB, free: 12.39 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.6899, allocations: 1.275 MB / 0.9465 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002356/0.6923, allocations: 0.6913 MB / 0.9472 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=80): time 3.476e-06/0.6923, allocations: 0 / 0.9472 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of matching and sorting (n=80): time 0.019/0.7113, allocations: 3.163 MB / 0.9503 GB, free: 6.941 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.489e-05/0.7114, allocations: 141.2 kB / 0.9504 GB, free: 6.773 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002115/0.7136, allocations: 1.29 MB / 0.9517 GB, free: 5.469 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001825/0.7138, allocations: 45.7 kB / 0.9517 GB, free: 5.418 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008136/0.7146, allocations: 0.7231 MB / 0.9524 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003631/0.715, allocations: 280.1 kB / 0.9527 GB, free: 4.41 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004434/0.7154, allocations: 218.4 kB / 0.9529 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001557/0.7156, allocations: 345.9 kB / 0.9532 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002189/0.7178, allocations: 0.5317 MB / 0.9537 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.7202, allocations: 0.8022 MB / 0.9545 GB, free: 2.406 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004242/0.7244, allocations: 1.233 MB / 0.9557 GB, free: 1.09 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.409e-05/0.7244, allocations: 4 kB / 0.9557 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.3496/1.074, allocations: 1.651 MB / 0.9573 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.231e-05/1.074, allocations: 11.98 kB / 0.9574 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/1.074, allocations: 8.875 kB / 0.9574 GB, free: 183.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002321/1.076, allocations: 0.5663 MB / 0.9579 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001561/1.078, allocations: 245.2 kB / 0.9582 GB, free: 183.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00223/1.08, allocations: 1.167 MB / 0.9593 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/1.082, allocations: 176.1 kB / 0.9595 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001231/1.082, allocations: 61.27 kB / 0.9595 GB, free: 183.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002422/1.085, allocations: 0.8281 MB / 0.9603 GB, free: 182.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002058/1.087, allocations: 0.7921 MB / 0.9611 GB, free: 182.3 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003805/1.091, allocations: 1.218 MB / 0.9623 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.18e-06/1.091, allocations: 2.344 kB / 0.9623 GB, free: 181.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005134/1.096, allocations: 1.642 MB / 0.9639 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/1.096, allocations: 7.25 kB / 0.9639 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.789e-06/1.096, allocations: 7.531 kB / 0.9639 GB, free: 181.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001881/1.098, allocations: 0.5636 MB / 0.9645 GB, free: 181.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/1.099, allocations: 250.2 kB / 0.9647 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/1.101, allocations: 1.178 MB / 0.9658 GB, free: 180.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/1.103, allocations: 150 kB / 0.966 GB, free: 180.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.931e-05/1.103, allocations: 57.8 kB / 0.966 GB, free: 180.2 MB / 0.7169 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.0003744/1.103, allocations: 253 kB / 0.9663 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002463/1.104, allocations: 151.9 kB / 0.9664 GB, free: 180 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01237/1.116, allocations: 2.119 MB / 0.9685 GB, free: 179.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01168/1.128, allocations: 1.944 MB / 0.9704 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.727e-06/1.128, allocations: 0 / 0.9704 GB, free: 178.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008806/1.129, allocations: 378 kB / 0.9708 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002436/1.129, allocations: 19.75 kB / 0.9708 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001551/1.13, allocations: 118.6 kB / 0.9709 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.623e-05/1.13, allocations: 51.52 kB / 0.9709 GB, free: 178.6 MB / 0.7169 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007131/1.138, allocations: 1.744 MB / 0.9726 GB, free: 178 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00585/1.143, allocations: 2.083 MB / 0.9747 GB, free: 177.1 MB / 0.7169 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001757/1.145, allocations: 0.5363 MB / 0.9752 GB, free: 176.8 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009978/1.146, allocations: 0.8835 MB / 0.9761 GB, free: 176 MB / 0.7169 GB Notification: Performance of Backend: time 6.41e-07/1.146, allocations: 0.7656 kB / 0.9761 GB, free: 176 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.007506/1.154, allocations: 2.652 MB / 0.9787 GB, free: 173.8 MB / 0.7169 GB Notification: Performance of SimCode: time 0.005422/1.159, allocations: 3.564 MB / 0.9821 GB, free: 170.2 MB / 0.7169 GB Notification: Performance of Templates: time 0.05269/1.212, allocations: 45.81 MB / 1.027 GB, free: 124.9 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)