Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") translateModel(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.669/1.669, allocations: 288.3 MB / 303.2 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001113/0.001113, allocations: 174.6 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.616/1.616, allocations: 205.4 MB / 0.6306 GB, free: 9.953 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009277/0.0009276, allocations: 92.91 kB / 0.7439 GB, free: 5.871 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004343/0.0004344, allocations: 15.31 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2388/0.2393, allocations: 115.3 MB / 0.9794 GB, free: 27.72 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater): time 0.6056/0.845, allocations: 105.5 MB / 1.082 GB, free: 31.92 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.8635, allocations: 12.93 MB / 1.095 GB, free: 31.79 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002919/0.8664, allocations: 61.28 kB / 1.095 GB, free: 31.79 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.002836/0.8693, allocations: 0.8278 MB / 1.096 GB, free: 31.79 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.007917/0.8772, allocations: 2.222 MB / 1.098 GB, free: 31.76 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.007324/0.8846, allocations: 1.978 MB / 1.1 GB, free: 31.72 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.00815/0.8927, allocations: 2.723 MB / 1.103 GB, free: 31.71 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003273/0.8961, allocations: 1.237 MB / 1.104 GB, free: 31.55 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004208/0.9003, allocations: 1.311 MB / 1.105 GB, free: 31.55 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002669/0.903, allocations: 0.8584 MB / 1.106 GB, free: 31.53 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0006831/0.9037, allocations: 75.28 kB / 1.106 GB, free: 31.53 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00496/0.9087, allocations: 1.212 MB / 1.107 GB, free: 31.5 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0008686/0.9096, allocations: 341.4 kB / 1.108 GB, free: 31.44 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.001212/0.9108, allocations: 417.8 kB / 1.108 GB, free: 31.34 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004994/0.9158, allocations: 2.567 MB / 1.11 GB, free: 31.16 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 3.357e-06/0.9159, allocations: 4 kB / 1.11 GB, free: 31.16 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.014e-06/0.9159, allocations: 0 / 1.11 GB, free: 31.16 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001096/0.916, allocations: 0 / 1.11 GB, free: 31.16 MB / 0.6823 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.005306/0.9213, allocations: 2.031 MB / 1.112 GB, free: 30.01 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.9214, allocations: 10.38 kB / 1.112 GB, free: 30.01 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005741/0.9271, allocations: 0.7566 MB / 1.113 GB, free: 29.88 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003584/0.9307, allocations: 1.529 MB / 1.115 GB, free: 29.48 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001933/0.9309, allocations: 138.5 kB / 1.115 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000403/0.9314, allocations: 123.8 kB / 1.115 GB, free: 29.45 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004555/0.9359, allocations: 1.727 MB / 1.117 GB, free: 29.15 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.97e-05/0.936, allocations: 4 kB / 1.117 GB, free: 29.15 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002096/0.9362, allocations: 55.56 kB / 1.117 GB, free: 29.15 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.628e-05/0.9363, allocations: 41.41 kB / 1.117 GB, free: 29.14 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004688/0.9409, allocations: 1.52 MB / 1.118 GB, free: 29.1 MB / 0.6823 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.01176/0.9527, allocations: 7.609 MB / 1.126 GB, free: 23.47 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004103/0.9569, allocations: 1.182 MB / 1.127 GB, free: 22.89 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.958, allocations: 1.276 MB / 1.128 GB, free: 21.42 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00228/0.9603, allocations: 0.6977 MB / 1.129 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=80): time 5.621e-06/0.9603, allocations: 7.266 kB / 1.129 GB, free: 21.02 MB / 0.6823 GB Notification: Performance of matching and sorting (n=80): time 0.01785/0.9782, allocations: 3.23 MB / 1.132 GB, free: 19.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.33e-05/0.9783, allocations: 137 kB / 1.132 GB, free: 19.28 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.9806, allocations: 1.313 MB / 1.133 GB, free: 18.54 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002169/0.9809, allocations: 49.92 kB / 1.133 GB, free: 18.49 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006486/0.9815, allocations: 0.7145 MB / 1.134 GB, free: 17.86 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000316/0.9819, allocations: 281.7 kB / 1.134 GB, free: 17.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.076e-05/0.9819, allocations: 24.09 kB / 1.134 GB, free: 17.61 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 7.311e-05/0.982, allocations: 342.6 kB / 1.135 GB, free: 17.28 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001949/0.984, allocations: 0.5275 MB / 1.135 GB, free: 17.02 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002116/0.9861, allocations: 0.8093 MB / 1.136 GB, free: 16.42 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002013/0.9881, allocations: 0.5752 MB / 1.137 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.356e-06/0.9882, allocations: 1 kB / 1.137 GB, free: 16.14 MB / 0.6823 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005303/0.9935, allocations: 1.676 MB / 1.138 GB, free: 15.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003965/0.9939, allocations: 2.396 MB / 1.141 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.774e-05/0.9939, allocations: 6.156 kB / 1.141 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002014/0.9959, allocations: 0.5726 MB / 1.141 GB, free: 12.55 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001391/0.9974, allocations: 255.1 kB / 1.141 GB, free: 12.46 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/0.9993, allocations: 1.172 MB / 1.142 GB, free: 11.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002457/1.002, allocations: 237.6 kB / 1.143 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001993/1.002, allocations: 62.88 kB / 1.143 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/1.002, allocations: 3.844 kB / 1.143 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005129/1.007, allocations: 1.508 MB / 1.144 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/1.007, allocations: 10.48 kB / 1.144 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001996/1.009, allocations: 0.5725 MB / 1.145 GB, free: 10.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001457/1.011, allocations: 248.5 kB / 1.145 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001839/1.013, allocations: 1.187 MB / 1.146 GB, free: 9.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00251/1.015, allocations: 231.2 kB / 1.146 GB, free: 9.398 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/1.015, allocations: 60.03 kB / 1.146 GB, free: 9.375 MB / 0.6823 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 ($whenCondition1,$PRE.calDat.nextTimeEvent,calDat.nextTimeEvent,$PRE.calDat.nextTimeEventScaled,calDat.nextTimeEventScaled,$PRE.heaPum.com.isOn,heaPum.com.isOn) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.001345/1.017, allocations: 469.3 kB / 1.147 GB, free: 9.016 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000647/1.017, allocations: 151.5 kB / 1.147 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01231/1.03, allocations: 2.163 MB / 1.149 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.226e-05/1.03, allocations: 8.125 kB / 1.149 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.815e-06/1.03, allocations: 0 / 1.149 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01156/1.041, allocations: 1.999 MB / 1.151 GB, free: 6.766 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008584/1.05, allocations: 3.686 MB / 1.155 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.05, allocations: 3.406 kB / 1.155 GB, free: 4.094 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001078/1.051, allocations: 176.8 kB / 1.155 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001794/1.053, allocations: 0.5571 MB / 1.155 GB, free: 3.789 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.202e-05/1.053, allocations: 33.16 kB / 1.156 GB, free: 3.766 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/1.055, allocations: 1.165 MB / 1.157 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.988e-06/1.055, allocations: 3.188 kB / 1.157 GB, free: 2.902 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005001/1.06, allocations: 1.708 MB / 1.158 GB, free: 1.859 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001345/1.061, allocations: 421.9 kB / 1.159 GB, free: 1.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005687/1.062, allocations: 22.33 kB / 1.159 GB, free: 1.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00216/1.064, allocations: 153.5 kB / 1.159 GB, free: 1.414 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001305/1.064, allocations: 58.02 kB / 1.159 GB, free: 1.383 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001432/1.064, allocations: 53.39 kB / 1.159 GB, free: 1.359 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001438/1.066, allocations: 0.8976 MB / 1.16 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of sort global known variables: time 2.5e-07/1.066, allocations: 0 / 1.16 GB, free: 0.8516 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003551/1.069, allocations: 0.9712 MB / 1.161 GB, free: 0.6172 MB / 0.6823 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.002923/1.072, allocations: 0.8826 MB / 1.162 GB, free: 192 kB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.007688/1.08, allocations: 2.037 MB / 1.164 GB, free: 14.16 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.018e-05/1.08, allocations: 7.781 kB / 1.164 GB, free: 14.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002241/1.082, allocations: 0.6366 MB / 1.164 GB, free: 13.52 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004043/1.086, allocations: 0.7599 MB / 1.165 GB, free: 12.77 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007086/1.093, allocations: 3.221 MB / 1.168 GB, free: 9.508 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001062/1.094, allocations: 1.29 MB / 1.169 GB, free: 8.191 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.002599/1.097, allocations: 375.9 kB / 1.17 GB, free: 7.82 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007964/1.098, allocations: 143.3 kB / 1.17 GB, free: 7.68 MB / 0.698 GB Notification: Performance of SimCode: time 1.212e-06/1.098, allocations: 4 kB / 1.17 GB, free: 7.676 MB / 0.698 GB Notification: Performance of Templates: time 0.1018/1.2, allocations: 38.14 MB / 1.207 GB, free: 1.914 MB / 0.7292 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Calibration.ScrollWaterToWater.pipe 2>&1)