Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.00155/0.00155, allocations: 106.1 kB / 16.37 MB, free: 6.258 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.001459/0.001459, allocations: 190.5 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.373/1.373, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.804/1.804, allocations: 292.3 MB / 0.5496 GB, free: 17.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00261/0.00261, allocations: 63.91 kB / 0.6729 GB, free: 5.852 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2533/0.2559, allocations: 114.6 MB / 0.7848 GB, free: 3.184 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.4829/0.7388, allocations: 126.1 MB / 0.9079 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02588/0.7647, allocations: 15.2 MB / 0.9228 GB, free: 11.77 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003758/0.7685, allocations: 72 kB / 0.9228 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003443/0.772, allocations: 0.9688 MB / 0.9238 GB, free: 10.92 MB / 0.7169 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.008982/0.781, allocations: 2.581 MB / 0.9263 GB, free: 8.859 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006932/0.788, allocations: 2.113 MB / 0.9284 GB, free: 7.262 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007493/0.7955, allocations: 4.745 MB / 0.933 GB, free: 2.504 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003198/0.7987, allocations: 1.701 MB / 0.9347 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004906/0.8036, allocations: 1.841 MB / 0.9365 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002805/0.8065, allocations: 1.342 MB / 0.9378 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0005808/0.8071, allocations: 208 kB / 0.938 GB, free: 13.41 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004959/0.812, allocations: 2.04 MB / 0.94 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0007556/0.8128, allocations: 0.4944 MB / 0.9405 GB, free: 10.87 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001982/0.8148, allocations: 1.077 MB / 0.9415 GB, free: 9.785 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.006076/0.8209, allocations: 3.7 MB / 0.9451 GB, free: 6.082 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.361e-06/0.8209, allocations: 4 kB / 0.9451 GB, free: 6.078 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.542e-06/0.8209, allocations: 4 kB / 0.9451 GB, free: 6.074 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 8.104e-05/0.821, allocations: 0 / 0.9451 GB, free: 6.074 MB / 0.7325 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.004732/0.8257, allocations: 2.446 MB / 0.9475 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.8258, allocations: 8.031 kB / 0.9475 GB, free: 3.551 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005709/0.8315, allocations: 0.716 MB / 0.9482 GB, free: 2.832 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003077/0.8346, allocations: 1.681 MB / 0.9499 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.8348, allocations: 136.1 kB / 0.95 GB, free: 0.9531 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000204/0.835, allocations: 131.9 kB / 0.9501 GB, free: 0.8242 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004083/0.8391, allocations: 1.73 MB / 0.9518 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.434e-05/0.8391, allocations: 0 / 0.9518 GB, free: 15 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001434/0.8393, allocations: 56 kB / 0.9519 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.857e-05/0.8393, allocations: 39.92 kB / 0.9519 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004794/0.8441, allocations: 1.508 MB / 0.9534 GB, free: 13.39 MB / 0.7481 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.01031/0.8545, allocations: 7.526 MB / 0.9607 GB, free: 5.457 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004117/0.8586, allocations: 1.17 MB / 0.9619 GB, free: 4.277 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002004/0.8606, allocations: 0.582 MB / 0.9624 GB, free: 3.695 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.862, allocations: 1.275 MB / 0.9637 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002313/0.8644, allocations: 0.6926 MB / 0.9644 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=80): time 3.447e-06/0.8644, allocations: 0 / 0.9644 GB, free: 1.438 MB / 0.7481 GB Notification: Performance of matching and sorting (n=80): time 0.0184/0.8828, allocations: 3.175 MB / 0.9675 GB, free: 14.23 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.648e-05/0.8829, allocations: 137.2 kB / 0.9676 GB, free: 14.07 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002033/0.885, allocations: 1.286 MB / 0.9688 GB, free: 12.77 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/0.8851, allocations: 53.7 kB / 0.9689 GB, free: 12.71 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006293/0.8858, allocations: 0.7269 MB / 0.9696 GB, free: 11.97 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002841/0.8861, allocations: 276.1 kB / 0.9699 GB, free: 11.7 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000367/0.8864, allocations: 222.4 kB / 0.9701 GB, free: 11.48 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.000136/0.8866, allocations: 337.9 kB / 0.9704 GB, free: 11.14 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002056/0.8887, allocations: 0.5317 MB / 0.9709 GB, free: 10.61 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00226/0.8909, allocations: 0.8022 MB / 0.9717 GB, free: 9.695 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0041/0.895, allocations: 1.233 MB / 0.9729 GB, free: 8.379 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.857e-06/0.8951, allocations: 4 kB / 0.9729 GB, free: 8.375 MB / 0.7637 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005475/0.9006, allocations: 1.648 MB / 0.9745 GB, free: 6.715 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 3.674e-05/0.9006, allocations: 8 kB / 0.9745 GB, free: 6.707 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/0.9006, allocations: 8 kB / 0.9745 GB, free: 6.699 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.9027, allocations: 0.5568 MB / 0.9751 GB, free: 6.141 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001363/0.9041, allocations: 243.6 kB / 0.9753 GB, free: 5.902 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002109/0.9062, allocations: 1.179 MB / 0.9765 GB, free: 4.699 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.9082, allocations: 186.1 kB / 0.9766 GB, free: 4.52 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001266/0.9083, allocations: 63.94 kB / 0.9767 GB, free: 4.457 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002533/0.9109, allocations: 0.8259 MB / 0.9775 GB, free: 3.625 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00224/0.9131, allocations: 0.7981 MB / 0.9783 GB, free: 2.719 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00407/0.9172, allocations: 1.213 MB / 0.9795 GB, free: 1.422 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.064e-06/0.9172, allocations: 4 kB / 0.9795 GB, free: 1.418 MB / 0.7637 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.005663/0.9229, allocations: 1.645 MB / 0.9811 GB, free: 15.76 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.9229, allocations: 7.938 kB / 0.9811 GB, free: 15.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.214e-05/0.923, allocations: 11.94 kB / 0.9811 GB, free: 15.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002099/0.9251, allocations: 0.5681 MB / 0.9817 GB, free: 15.18 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/0.9265, allocations: 247.6 kB / 0.9819 GB, free: 14.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002182/0.9286, allocations: 1.162 MB / 0.983 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001862/0.9305, allocations: 155.3 kB / 0.9832 GB, free: 13.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001222/0.9307, allocations: 59.94 kB / 0.9832 GB, free: 13.54 MB / 0.7794 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.0004305/0.9311, allocations: 247.6 kB / 0.9835 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005899/0.9317, allocations: 146.2 kB / 0.9836 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01317/0.9449, allocations: 2.114 MB / 0.9857 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01261/0.9575, allocations: 1.951 MB / 0.9876 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.656e-05/0.9576, allocations: 3.938 kB / 0.9876 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001016/0.9586, allocations: 379 kB / 0.9879 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004711/0.9591, allocations: 15.98 kB / 0.988 GB, free: 8.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00183/0.9609, allocations: 111.8 kB / 0.9881 GB, free: 8.52 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001497/0.9611, allocations: 52.58 kB / 0.9881 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008455/0.9696, allocations: 1.741 MB / 0.9898 GB, free: 6.715 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.007126/0.9767, allocations: 2.092 MB / 0.9919 GB, free: 4.609 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001959/0.9787, allocations: 0.5402 MB / 0.9924 GB, free: 4.074 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.001702/0.9805, allocations: 0.8826 MB / 0.9932 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of Backend: time 5.81e-07/0.9805, allocations: 0 / 0.9932 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.01001/0.9905, allocations: 2.644 MB / 0.9958 GB, free: 0.7852 MB / 0.7794 GB Notification: Performance of SimCode: time 0.008668/0.9992, allocations: 3.563 MB / 0.9993 GB, free: 13.22 MB / 0.795 GB Notification: Performance of Templates: time 0.07461/1.074, allocations: 45.73 MB / 1.044 GB, free: 15.92 MB / 0.8419 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)