Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001034/0.001034, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01023/0.01023, allocations: 170 kB / 16.26 MB, free: 6.613 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.688/1.688, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.594/1.594, allocations: 252 MB / 0.5105 GB, free: 4.664 MB / 414.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.0005624/0.0005625, allocations: 20 kB / 0.6249 GB, free: 0.7539 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5815/0.582, allocations: 106.3 MB / 0.7287 GB, free: 11.32 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.1225/0.7046, allocations: 123.3 MB / 0.8491 GB, free: 15.58 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02432/0.7289, allocations: 15.45 MB / 0.8642 GB, free: 100 kB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004165/0.7332, allocations: 63.56 kB / 0.8643 GB, free: 36 kB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.003627/0.7368, allocations: 0.7848 MB / 0.8651 GB, free: 15.25 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.01012/0.747, allocations: 2.38 MB / 0.8674 GB, free: 12.86 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.007101/0.7541, allocations: 1.928 MB / 0.8693 GB, free: 10.95 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.008837/0.7629, allocations: 5.951 MB / 0.8751 GB, free: 4.984 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002651/0.7656, allocations: 1.34 MB / 0.8764 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003562/0.7692, allocations: 1.481 MB / 0.8778 GB, free: 2.117 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002716/0.772, allocations: 1.244 MB / 0.879 GB, free: 0.8672 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0003904/0.7724, allocations: 72 kB / 0.8791 GB, free: 0.7969 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004994/0.7774, allocations: 1.88 MB / 0.881 GB, free: 14.91 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006027/0.778, allocations: 358.4 kB / 0.8813 GB, free: 14.56 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.001413/0.7795, allocations: 0.946 MB / 0.8822 GB, free: 13.61 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.005579/0.7851, allocations: 3.598 MB / 0.8857 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.7851, allocations: 0 / 0.8857 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.964e-06/0.7851, allocations: 0 / 0.8857 GB, free: 9.996 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 3.715e-05/0.7851, allocations: 0 / 0.8857 GB, free: 9.996 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.004327/0.7895, allocations: 2.093 MB / 0.8878 GB, free: 7.832 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.738e-05/0.7895, allocations: 12.03 kB / 0.8878 GB, free: 7.82 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005818/0.7954, allocations: 0.7556 MB / 0.8885 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003927/0.7993, allocations: 1.634 MB / 0.8901 GB, free: 5.371 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002355/0.7996, allocations: 132.1 kB / 0.8902 GB, free: 5.234 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004183/0.8, allocations: 124 kB / 0.8904 GB, free: 5.113 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004746/0.8048, allocations: 1.739 MB / 0.8921 GB, free: 3.273 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.369e-05/0.8049, allocations: 3.938 kB / 0.8921 GB, free: 3.27 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001668/0.8051, allocations: 56 kB / 0.8921 GB, free: 3.215 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.92e-05/0.8051, allocations: 36 kB / 0.8922 GB, free: 3.18 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0051/0.8102, allocations: 1.539 MB / 0.8937 GB, free: 1.633 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.01198/0.8223, allocations: 7.549 MB / 0.901 GB, free: 9.676 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004065/0.8264, allocations: 1.187 MB / 0.9022 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001989/0.8284, allocations: 0.6077 MB / 0.9028 GB, free: 7.871 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/0.8299, allocations: 1.286 MB / 0.904 GB, free: 6.309 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002264/0.8321, allocations: 0.6951 MB / 0.9047 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=80): time 3.296e-06/0.8322, allocations: 0 / 0.9047 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of matching and sorting (n=80): time 0.01872/0.8509, allocations: 3.257 MB / 0.9079 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.833e-05/0.851, allocations: 141.2 kB / 0.908 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00194/0.853, allocations: 1.273 MB / 0.9093 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001775/0.8532, allocations: 45.7 kB / 0.9093 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006304/0.8538, allocations: 0.7271 MB / 0.91 GB, free: 72 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.4371/1.291, allocations: 266.2 kB / 0.9103 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/1.291, allocations: 80.55 kB / 0.9104 GB, free: 176.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001028/1.291, allocations: 346.2 kB / 0.9107 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002306/1.294, allocations: 0.5343 MB / 0.9112 GB, free: 176.1 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002385/1.296, allocations: 0.8167 MB / 0.912 GB, free: 175.8 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004349/1.3, allocations: 1.257 MB / 0.9132 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.3, allocations: 1.719 kB / 0.9132 GB, free: 175.5 MB / 0.7169 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006107/1.307, allocations: 1.691 MB / 0.9149 GB, free: 174.9 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001483/1.307, allocations: 266.4 kB / 0.9151 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.307, allocations: 8.25 kB / 0.9152 GB, free: 174.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002129/1.309, allocations: 0.5486 MB / 0.9157 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001451/1.31, allocations: 253.6 kB / 0.9159 GB, free: 174.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/1.312, allocations: 1.178 MB / 0.9171 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002278/1.315, allocations: 235.5 kB / 0.9173 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/1.315, allocations: 57.67 kB / 0.9174 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/1.315, allocations: 3.719 kB / 0.9174 GB, free: 173.7 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005522/1.32, allocations: 1.523 MB / 0.9189 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.929e-05/1.32, allocations: 5.75 kB / 0.9189 GB, free: 173.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002193/1.323, allocations: 0.5437 MB / 0.9194 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001525/1.324, allocations: 251.9 kB / 0.9196 GB, free: 173.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/1.326, allocations: 1.181 MB / 0.9208 GB, free: 172.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00233/1.329, allocations: 224.5 kB / 0.921 GB, free: 172.2 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/1.329, allocations: 60.77 kB / 0.9211 GB, free: 172.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.001097/1.33, allocations: 482.7 kB / 0.9215 GB, free: 171.9 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000374/1.33, allocations: 145.8 kB / 0.9217 GB, free: 171.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0132/1.343, allocations: 2.176 MB / 0.9238 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.901e-05/1.344, allocations: 7.156 kB / 0.9238 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.258e-06/1.344, allocations: 1.375 kB / 0.9238 GB, free: 171.2 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01203/1.356, allocations: 2.003 MB / 0.9257 GB, free: 170.6 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007754/1.363, allocations: 3.645 MB / 0.9293 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.104e-05/1.363, allocations: 3.969 kB / 0.9293 GB, free: 168.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001056/1.365, allocations: 186.2 kB / 0.9295 GB, free: 168.2 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001721/1.366, allocations: 0.5269 MB / 0.93 GB, free: 168 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.971e-05/1.366, allocations: 35.7 kB / 0.93 GB, free: 168 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/1.368, allocations: 1.164 MB / 0.9312 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/1.368, allocations: 0 / 0.9312 GB, free: 167.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004942/1.373, allocations: 1.626 MB / 0.9328 GB, free: 166.2 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001351/1.374, allocations: 399 kB / 0.9331 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002469/1.375, allocations: 22.36 kB / 0.9332 GB, free: 165.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001915/1.377, allocations: 164.7 kB / 0.9333 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/1.377, allocations: 60.62 kB / 0.9334 GB, free: 165.8 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.97e-05/1.377, allocations: 48.06 kB / 0.9334 GB, free: 165.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0011/1.378, allocations: 0.8673 MB / 0.9343 GB, free: 165.3 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/1.378, allocations: 4 kB / 0.9343 GB, free: 165.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002767/1.381, allocations: 1.005 MB / 0.9353 GB, free: 164.4 MB / 0.7169 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.001995/1.383, allocations: 0.9287 MB / 0.9362 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006702/1.39, allocations: 2.046 MB / 0.9382 GB, free: 161.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 9.497e-06/1.39, allocations: 384 / 0.9382 GB, free: 161.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002042/1.392, allocations: 0.648 MB / 0.9388 GB, free: 161.1 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004036/1.396, allocations: 0.7697 MB / 0.9395 GB, free: 160.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005566/1.401, allocations: 3.374 MB / 0.9428 GB, free: 156.9 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005273/1.402, allocations: 1.259 MB / 0.9441 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001809/1.404, allocations: 371.9 kB / 0.9444 GB, free: 155.3 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003223/1.404, allocations: 135.3 kB / 0.9446 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of SimCode: time 9.32e-07/1.404, allocations: 0 / 0.9446 GB, free: 155.1 MB / 0.7169 GB Notification: Performance of Templates: time 0.04946/1.453, allocations: 38.38 MB / 0.982 GB, free: 117.2 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1) Environment - environmentSimulation: