Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001921/0.001921, allocations: 104.3 kB / 19.72 MB, free: 416 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00217/0.00217, allocations: 213 kB / 23.02 MB, free: 2.949 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.689/1.689, allocations: 230.6 MB / 256.8 MB, free: 9.629 MB / 202.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 3.436/3.436, allocations: 0.5045 GB / 0.8104 GB, free: 2.836 MB / 0.6511 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.003654/0.003654, allocations: 71.89 kB / 1.177 GB, free: 11.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9611/0.9647, allocations: 180 MB / 1.353 GB, free: 1.625 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1553/1.12, allocations: 116 MB / 1.466 GB, free: 13.28 MB / 1.151 GB Notification: Performance of NFInst.instExpressions: time 0.0278/1.148, allocations: 14.55 MB / 1.48 GB, free: 14.69 MB / 1.167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003599/1.151, allocations: 103.1 kB / 1.48 GB, free: 14.59 MB / 1.167 GB Notification: Performance of NFTyping.typeComponents: time 0.003359/1.155, allocations: 0.9393 MB / 1.481 GB, free: 13.64 MB / 1.167 GB Notification: Performance of NFTyping.typeBindings: time 0.009668/1.164, allocations: 2.8 MB / 1.484 GB, free: 10.83 MB / 1.167 GB Notification: Performance of NFTyping.typeClassSections: time 0.006715/1.171, allocations: 2.135 MB / 1.486 GB, free: 8.715 MB / 1.167 GB Notification: Performance of NFFlatten.flatten: time 0.008971/1.18, allocations: 4.84 MB / 1.491 GB, free: 3.863 MB / 1.167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002808/1.183, allocations: 1.327 MB / 1.492 GB, free: 2.496 MB / 1.167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00651/1.189, allocations: 2.064 MB / 1.494 GB, free: 440 kB / 1.167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003525/1.193, allocations: 1.314 MB / 1.496 GB, free: 15.11 MB / 1.182 GB Notification: Performance of NFPackage.collectConstants: time 0.0005225/1.193, allocations: 204 kB / 1.496 GB, free: 14.91 MB / 1.182 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005327/1.199, allocations: 1.853 MB / 1.498 GB, free: 13.05 MB / 1.182 GB Notification: Performance of NFScalarize.scalarize: time 0.000692/1.2, allocations: 0.5137 MB / 1.498 GB, free: 12.54 MB / 1.182 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/1.201, allocations: 0.8713 MB / 1.499 GB, free: 11.66 MB / 1.182 GB Notification: Performance of NFConvertDAE.convert: time 0.009485/1.211, allocations: 3.796 MB / 1.503 GB, free: 7.855 MB / 1.182 GB Notification: Performance of FrontEnd - DAE generated: time 8.126e-06/1.211, allocations: 0 / 1.503 GB, free: 7.855 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.966e-06/1.211, allocations: 4 kB / 1.503 GB, free: 7.852 MB / 1.182 GB Notification: Performance of Transformations before backend: time 7.126e-05/1.211, allocations: 0 / 1.503 GB, free: 7.852 MB / 1.182 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.005993/1.217, allocations: 2.458 MB / 1.505 GB, free: 5.336 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/1.217, allocations: 8.922 kB / 1.505 GB, free: 5.328 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008412/1.225, allocations: 0.9511 MB / 1.506 GB, free: 4.375 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004295/1.23, allocations: 1.665 MB / 1.508 GB, free: 2.664 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002138/1.23, allocations: 157.8 kB / 1.508 GB, free: 2.496 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002594/1.23, allocations: 124 kB / 1.508 GB, free: 2.375 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006284/1.236, allocations: 2.356 MB / 1.51 GB, free: 15.81 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.365e-05/1.236, allocations: 0 / 1.51 GB, free: 15.81 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001793/1.237, allocations: 56 kB / 1.51 GB, free: 15.76 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.104e-05/1.237, allocations: 39.94 kB / 1.51 GB, free: 15.72 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007292/1.244, allocations: 1.687 MB / 1.512 GB, free: 14.02 MB / 1.198 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.01301/1.257, allocations: 6.276 MB / 1.518 GB, free: 7.605 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007875/1.265, allocations: 1.476 MB / 1.519 GB, free: 6.117 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003095/1.268, allocations: 0.6866 MB / 1.52 GB, free: 5.43 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005192/1.268, allocations: 88.59 kB / 1.52 GB, free: 5.344 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003707/1.272, allocations: 1.207 MB / 1.521 GB, free: 4.035 MB / 1.198 GB Notification: Performance of pre-optimization done (n=81): time 4.448e-06/1.272, allocations: 3.938 kB / 1.521 GB, free: 4.031 MB / 1.198 GB Notification: Performance of matching and sorting (n=81): time 0.02957/1.302, allocations: 4.263 MB / 1.526 GB, free: 15.76 MB / 1.214 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.302, allocations: 145.2 kB / 1.526 GB, free: 15.58 MB / 1.214 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002278/1.304, allocations: 1.222 MB / 1.527 GB, free: 14.35 MB / 1.214 GB Notification: Performance of collectPreVariables (initialization): time 0.000211/1.304, allocations: 49.7 kB / 1.527 GB, free: 14.3 MB / 1.214 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009184/1.305, allocations: 0.7513 MB / 1.528 GB, free: 13.54 MB / 1.214 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004226/1.306, allocations: 285.5 kB / 1.528 GB, free: 13.26 MB / 1.214 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004862/1.306, allocations: 234.4 kB / 1.528 GB, free: 13.02 MB / 1.214 GB Notification: Performance of setup shared object (initialization): time 0.000222/1.306, allocations: 345.9 kB / 1.528 GB, free: 12.68 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003043/1.309, allocations: 0.6682 MB / 1.529 GB, free: 12.01 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00369/1.313, allocations: 1.264 MB / 1.53 GB, free: 10.56 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006093/1.319, allocations: 1.45 MB / 1.532 GB, free: 9.031 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.991e-06/1.319, allocations: 0 / 1.532 GB, free: 9.031 MB / 1.214 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.007713/1.327, allocations: 1.914 MB / 1.534 GB, free: 7.105 MB / 1.214 GB Notification: Performance of prepare postOptimizeDAE: time 3.182e-05/1.327, allocations: 8 kB / 1.534 GB, free: 7.098 MB / 1.214 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/1.327, allocations: 4 kB / 1.534 GB, free: 7.094 MB / 1.214 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002317/1.329, allocations: 0.5808 MB / 1.534 GB, free: 6.512 MB / 1.214 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001998/1.331, allocations: 311.5 kB / 1.535 GB, free: 6.207 MB / 1.214 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002687/1.334, allocations: 1.209 MB / 1.536 GB, free: 4.973 MB / 1.214 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/1.336, allocations: 215.2 kB / 1.536 GB, free: 4.762 MB / 1.214 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001488/1.337, allocations: 63.94 kB / 1.536 GB, free: 4.699 MB / 1.214 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003634/1.34, allocations: 0.9625 MB / 1.537 GB, free: 3.734 MB / 1.214 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003492/1.344, allocations: 1.249 MB / 1.538 GB, free: 2.297 MB / 1.214 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006092/1.35, allocations: 1.435 MB / 1.54 GB, free: 0.7812 MB / 1.214 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.128e-05/1.35, allocations: 12.09 kB / 1.54 GB, free: 0.7695 MB / 1.214 GB Notification: Performance of matching and sorting (n=119) (initialization_lambda0): time 0.007632/1.357, allocations: 1.884 MB / 1.541 GB, free: 14.88 MB / 1.229 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/1.357, allocations: 4 kB / 1.541 GB, free: 14.88 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.391e-05/1.357, allocations: 8 kB / 1.541 GB, free: 14.87 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002195/1.36, allocations: 0.594 MB / 1.542 GB, free: 14.27 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001917/1.362, allocations: 303.5 kB / 1.542 GB, free: 13.97 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002531/1.364, allocations: 1.212 MB / 1.543 GB, free: 12.73 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002297/1.366, allocations: 199.3 kB / 1.544 GB, free: 12.54 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000137/1.367, allocations: 59.94 kB / 1.544 GB, free: 12.48 MB / 1.229 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * 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 {(11,18)} Notification: Performance of prepare postOptimizeDAE: time 0.0004968/1.367, allocations: 246.6 kB / 1.544 GB, free: 12.23 MB / 1.229 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003477/1.367, allocations: 147.1 kB / 1.544 GB, free: 12.09 MB / 1.229 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007842/1.375, allocations: 1.863 MB / 1.546 GB, free: 10.21 MB / 1.229 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.774e-05/1.375, allocations: 8 kB / 1.546 GB, free: 10.2 MB / 1.229 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.291e-06/1.375, allocations: 0 / 1.546 GB, free: 10.2 MB / 1.229 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006774/1.382, allocations: 1.664 MB / 1.548 GB, free: 8.5 MB / 1.229 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/1.393, allocations: 3.301 MB / 1.551 GB, free: 5.129 MB / 1.229 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.432e-06/1.393, allocations: 0 / 1.551 GB, free: 5.129 MB / 1.229 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.395, allocations: 247.6 kB / 1.551 GB, free: 4.887 MB / 1.229 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002158/1.397, allocations: 0.5706 MB / 1.552 GB, free: 4.312 MB / 1.229 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001092/1.397, allocations: 39.94 kB / 1.552 GB, free: 4.273 MB / 1.229 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002606/1.399, allocations: 1.196 MB / 1.553 GB, free: 3.051 MB / 1.229 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.945e-06/1.399, allocations: 0 / 1.553 GB, free: 3.051 MB / 1.229 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007429/1.407, allocations: 1.87 MB / 1.555 GB, free: 1.145 MB / 1.229 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001/1.408, allocations: 322.7 kB / 1.555 GB, free: 0.8281 MB / 1.229 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002585/1.408, allocations: 23.94 kB / 1.555 GB, free: 0.8047 MB / 1.229 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00205/1.41, allocations: 151.8 kB / 1.555 GB, free: 0.6562 MB / 1.229 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001506/1.41, allocations: 56.55 kB / 1.555 GB, free: 0.6016 MB / 1.229 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001391/1.41, allocations: 63.91 kB / 1.555 GB, free: 0.5391 MB / 1.229 GB Notification: Performance of sorting global known variables: time 0.001409/1.412, allocations: 0.8255 MB / 1.556 GB, free: 15.71 MB / 1.245 GB Notification: Performance of sort global known variables: time 8e-08/1.412, allocations: 0 / 1.556 GB, free: 15.71 MB / 1.245 GB Notification: Performance of remove unused functions: time 0.002926/1.415, allocations: 1.025 MB / 1.557 GB, free: 14.68 MB / 1.245 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 (59): * Single equations (assignments): 54 * 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 {(11,18)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004359/1.419, allocations: 0.9581 MB / 1.558 GB, free: 13.94 MB / 1.245 GB Notification: Performance of simCode: created initialization part: time 0.01327/1.432, allocations: 2.627 MB / 1.56 GB, free: 11.32 MB / 1.245 GB Notification: Performance of simCode: created event and clocks part: time 1.807e-05/1.432, allocations: 0 / 1.56 GB, free: 11.32 MB / 1.245 GB Notification: Performance of simCode: created simulation system equations: time 0.004665/1.437, allocations: 0.8731 MB / 1.561 GB, free: 10.45 MB / 1.245 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003353/1.44, allocations: 0.6661 MB / 1.562 GB, free: 9.797 MB / 1.245 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008603/1.449, allocations: 2.969 MB / 1.565 GB, free: 6.777 MB / 1.245 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.45, allocations: 0.6858 MB / 1.566 GB, free: 6.055 MB / 1.245 GB Notification: Performance of simCode: alias equations: time 0.002232/1.452, allocations: 397.8 kB / 1.566 GB, free: 5.664 MB / 1.245 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000463/1.453, allocations: 147.3 kB / 1.566 GB, free: 5.52 MB / 1.245 GB Notification: Performance of SimCode: time 1.402e-06/1.453, allocations: 0 / 1.566 GB, free: 5.52 MB / 1.245 GB Notification: Performance of Templates: time 0.0755/1.528, allocations: 41.48 MB / 1.607 GB, free: 12.65 MB / 1.292 GB " [Timeout remaining time 298] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 12.479796664789319]