Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001476/0.001476, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00157/0.00157, allocations: 194.8 kB / 16.14 MB, free: 6.66 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.489/1.489, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.812/2.812, allocations: 472.6 MB / 0.7447 GB, free: 4.926 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001261/0.001262, allocations: 70.05 kB / 0.9114 GB, free: 33.7 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3652/0.3665, allocations: 159.9 MB / 1.068 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.06931/0.4359, allocations: 69.51 MB / 1.135 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.02275/0.4587, allocations: 14.58 MB / 1.15 GB, free: 6.582 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003244/0.462, allocations: 67.62 kB / 1.15 GB, free: 6.516 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 0.003253/0.4653, allocations: 0.742 MB / 1.15 GB, free: 5.77 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.008027/0.4733, allocations: 2.371 MB / 1.153 GB, free: 3.395 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.00554/0.4789, allocations: 1.774 MB / 1.154 GB, free: 1.637 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.00786/0.4868, allocations: 5.865 MB / 1.16 GB, free: 11.75 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003048/0.4899, allocations: 1.328 MB / 1.161 GB, free: 10.39 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00434/0.4942, allocations: 1.482 MB / 1.163 GB, free: 8.902 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003064/0.4973, allocations: 1.244 MB / 1.164 GB, free: 7.652 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0008056/0.4982, allocations: 88 kB / 1.164 GB, free: 7.566 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005955/0.5041, allocations: 1.762 MB / 1.166 GB, free: 5.801 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 0.001323/0.5055, allocations: 358.5 kB / 1.166 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 0.003249/0.5088, allocations: 0.9134 MB / 1.167 GB, free: 4.531 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.007971/0.5168, allocations: 3.42 MB / 1.171 GB, free: 1.102 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/0.5168, allocations: 0 / 1.171 GB, free: 1.102 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.543e-06/0.5168, allocations: 0 / 1.171 GB, free: 1.102 MB / 0.92 GB Notification: Performance of Transformations before backend: time 0.0001097/0.517, allocations: 4 kB / 1.171 GB, free: 1.098 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.007066/0.524, allocations: 2.302 MB / 1.173 GB, free: 14.73 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.043e-05/0.5241, allocations: 15.97 kB / 1.173 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00661/0.5307, allocations: 0.6933 MB / 1.173 GB, free: 14.02 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004041/0.5348, allocations: 1.554 MB / 1.175 GB, free: 12.41 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002316/0.535, allocations: 136 kB / 1.175 GB, free: 12.27 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004515/0.5355, allocations: 119.9 kB / 1.175 GB, free: 12.15 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005421/0.5409, allocations: 1.657 MB / 1.177 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.15e-05/0.541, allocations: 0 / 1.177 GB, free: 10.39 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.5413, allocations: 52 kB / 1.177 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.006e-05/0.5413, allocations: 39.94 kB / 1.177 GB, free: 10.3 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005443/0.5468, allocations: 1.48 MB / 1.178 GB, free: 8.816 MB / 0.9356 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.01266/0.5595, allocations: 7.283 MB / 1.186 GB, free: 1.152 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00267/0.5622, allocations: 0.819 MB / 1.186 GB, free: 336 kB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001889/0.5641, allocations: 0.5061 MB / 1.187 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001418/0.5655, allocations: 1.267 MB / 1.188 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.875e-05/0.5656, allocations: 47.06 kB / 1.188 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=70): time 3.025e-06/0.5656, allocations: 0 / 1.188 GB, free: 14.22 MB / 0.9512 GB Notification: Performance of matching and sorting (n=70): time 0.03056/0.5962, allocations: 4.147 MB / 1.192 GB, free: 10.04 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.5963, allocations: 115.3 kB / 1.192 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002839/0.5991, allocations: 1.359 MB / 1.194 GB, free: 8.531 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 0.0002239/0.5994, allocations: 45.7 kB / 1.194 GB, free: 8.48 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007655/0.6002, allocations: 0.6881 MB / 1.194 GB, free: 7.785 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003757/0.6006, allocations: 240.5 kB / 1.195 GB, free: 7.547 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004989/0.6011, allocations: 226.3 kB / 1.195 GB, free: 7.32 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.6012, allocations: 341.9 kB / 1.195 GB, free: 6.98 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002089/0.6033, allocations: 0.5044 MB / 1.196 GB, free: 6.473 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.6056, allocations: 0.7822 MB / 1.196 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004015/0.6097, allocations: 1.137 MB / 1.197 GB, free: 4.352 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.151e-05/0.6097, allocations: 8 kB / 1.197 GB, free: 4.344 MB / 0.9512 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005699/0.6154, allocations: 1.581 MB / 1.199 GB, free: 2.75 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.726e-05/0.6154, allocations: 11.94 kB / 1.199 GB, free: 2.738 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/0.6155, allocations: 8 kB / 1.199 GB, free: 2.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002097/0.6176, allocations: 0.5717 MB / 1.2 GB, free: 2.16 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001411/0.619, allocations: 239.6 kB / 1.2 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002121/0.6211, allocations: 1.166 MB / 1.201 GB, free: 0.7305 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002814/0.624, allocations: 260.9 kB / 1.201 GB, free: 488 kB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001697/0.6242, allocations: 55.95 kB / 1.201 GB, free: 432 kB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002735/0.6269, allocations: 0.8024 MB / 1.202 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00226/0.6292, allocations: 0.7667 MB / 1.203 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003958/0.6332, allocations: 1.133 MB / 1.204 GB, free: 13.52 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.402e-05/0.6332, allocations: 7.938 kB / 1.204 GB, free: 13.51 MB / 0.9669 GB Notification: Performance of matching and sorting (n=110) (initialization_lambda0): time 0.005793/0.639, allocations: 1.582 MB / 1.205 GB, free: 11.92 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.6391, allocations: 16.03 kB / 1.205 GB, free: 11.9 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.29e-05/0.6391, allocations: 8 kB / 1.205 GB, free: 11.89 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001956/0.641, allocations: 0.558 MB / 1.206 GB, free: 11.34 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001382/0.6424, allocations: 235.6 kB / 1.206 GB, free: 11.11 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002024/0.6445, allocations: 1.166 MB / 1.207 GB, free: 9.914 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002631/0.6471, allocations: 223.2 kB / 1.208 GB, free: 9.695 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000146/0.6473, allocations: 55.94 kB / 1.208 GB, free: 9.641 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * 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.0004065/0.6477, allocations: 236.7 kB / 1.208 GB, free: 9.402 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005655/0.6483, allocations: 146.2 kB / 1.208 GB, free: 9.258 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004985/0.6533, allocations: 1.36 MB / 1.209 GB, free: 7.879 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.607e-05/0.6533, allocations: 15.92 kB / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.243e-05/0.6533, allocations: 0 / 1.209 GB, free: 7.863 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003967/0.6573, allocations: 1.172 MB / 1.21 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009445/0.6668, allocations: 3.461 MB / 1.214 GB, free: 2.988 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-05/0.6668, allocations: 4 kB / 1.214 GB, free: 2.984 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009693/0.6678, allocations: 143.9 kB / 1.214 GB, free: 2.844 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001915/0.6697, allocations: 0.5502 MB / 1.215 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.973e-05/0.6698, allocations: 27.91 kB / 1.215 GB, free: 2.266 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001987/0.6718, allocations: 1.154 MB / 1.216 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.905e-06/0.6719, allocations: 11.94 kB / 1.216 GB, free: 1.074 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004676/0.6765, allocations: 1.446 MB / 1.217 GB, free: 15.55 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008223/0.6774, allocations: 355 kB / 1.217 GB, free: 15.18 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004443/0.6778, allocations: 24.06 kB / 1.217 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002085/0.6799, allocations: 155.7 kB / 1.218 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.6801, allocations: 60.25 kB / 1.218 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001252/0.6802, allocations: 43.95 kB / 1.218 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001954/0.6822, allocations: 0.9615 MB / 1.219 GB, free: 13.95 MB / 0.9825 GB Notification: Performance of sort global known variables: time 2.41e-07/0.6822, allocations: 4 kB / 1.219 GB, free: 13.94 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002878/0.6851, allocations: 0.8889 MB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 Backend phase and start with SimCode phase: time 0.001508/0.6866, allocations: 0.5364 MB / 1.22 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.007399/0.694, allocations: 1.843 MB / 1.222 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.579e-05/0.694, allocations: 3.781 kB / 1.222 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.6962, allocations: 0.5418 MB / 1.222 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004407/0.7006, allocations: 0.7763 MB / 1.223 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007214/0.7079, allocations: 3.193 MB / 1.226 GB, free: 6.094 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009029/0.7088, allocations: 1.211 MB / 1.227 GB, free: 4.855 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.001956/0.7108, allocations: 332.6 kB / 1.228 GB, free: 4.531 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003959/0.7112, allocations: 127.3 kB / 1.228 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of SimCode: time 6.61e-07/0.7112, allocations: 0 / 1.228 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of Templates: time 0.6233/1.335, allocations: 38.06 MB / 1.265 GB, free: 169.2 MB / 0.9981 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1)