Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 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.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001191/0.001191, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001262/0.001262, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.474/1.474, allocations: 205.4 MB / 222.1 MB, free: 5.668 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.534/1.534, allocations: 251.9 MB / 0.51 GB, free: 4.859 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.0005576/0.0005577, allocations: 23.44 kB / 0.6241 GB, free: 1.199 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5468/0.5474, allocations: 106.3 MB / 0.728 GB, free: 11.45 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.05788/0.6053, allocations: 58.55 MB / 0.7851 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01817/0.6235, allocations: 12.35 MB / 0.7972 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.6259, allocations: 55.62 kB / 0.7972 GB, free: 4.332 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002494/0.6284, allocations: 0.7928 MB / 0.798 GB, free: 3.535 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.006535/0.6349, allocations: 2.176 MB / 0.8001 GB, free: 1.355 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005608/0.6406, allocations: 1.891 MB / 0.802 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004936/0.6455, allocations: 2.615 MB / 0.8045 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002213/0.6477, allocations: 1.153 MB / 0.8057 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002941/0.6507, allocations: 1.253 MB / 0.8069 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001602/0.6523, allocations: 0.8205 MB / 0.8077 GB, free: 9.605 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0002866/0.6526, allocations: 64 kB / 0.8078 GB, free: 9.543 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003203/0.6558, allocations: 1.264 MB / 0.809 GB, free: 8.277 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003661/0.6562, allocations: 294.8 kB / 0.8093 GB, free: 7.988 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.000574/0.6568, allocations: 408.8 kB / 0.8097 GB, free: 7.582 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003116/0.6599, allocations: 2.467 MB / 0.8121 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.6599, allocations: 0 / 0.8121 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.613e-06/0.6599, allocations: 0 / 0.8121 GB, free: 5.109 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 2.524e-05/0.66, allocations: 0 / 0.8121 GB, free: 5.109 MB / 0.6231 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.003533/0.6635, allocations: 1.959 MB / 0.814 GB, free: 3.082 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.822e-05/0.6635, allocations: 8.031 kB / 0.814 GB, free: 3.074 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005309/0.6689, allocations: 0.7354 MB / 0.8147 GB, free: 2.336 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.6713, allocations: 1.425 MB / 0.8161 GB, free: 0.8555 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001366/0.6714, allocations: 132 kB / 0.8162 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001773/0.6716, allocations: 124 kB / 0.8163 GB, free: 0.5977 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003701/0.6753, allocations: 1.643 MB / 0.8179 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.425e-05/0.6754, allocations: 0 / 0.8179 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/0.6755, allocations: 59.98 kB / 0.818 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-05/0.6756, allocations: 39.94 kB / 0.818 GB, free: 14.76 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004729/0.6803, allocations: 1.511 MB / 0.8195 GB, free: 13.24 MB / 0.6387 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.01065/0.691, allocations: 7.326 MB / 0.8267 GB, free: 5.535 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002355/0.6933, allocations: 0.8493 MB / 0.8275 GB, free: 4.676 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001328/0.6947, allocations: 1.271 MB / 0.8287 GB, free: 3.129 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.116e-05/0.6947, allocations: 47.12 kB / 0.8288 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=70): time 2.866e-06/0.6948, allocations: 0 / 0.8288 GB, free: 3.074 MB / 0.6387 GB Notification: Performance of matching and sorting (n=70): time 0.03014/0.7249, allocations: 4.268 MB / 0.833 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.166e-05/0.725, allocations: 111.4 kB / 0.8331 GB, free: 14.64 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.7272, allocations: 1.406 MB / 0.8344 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001227/0.7273, allocations: 45.7 kB / 0.8345 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.000573/0.7279, allocations: 0.6725 MB / 0.8351 GB, free: 12.5 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002343/0.7282, allocations: 248.5 kB / 0.8354 GB, free: 12.25 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.968e-05/0.7282, allocations: 20 kB / 0.8354 GB, free: 12.23 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7284, allocations: 338 kB / 0.8357 GB, free: 11.89 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001947/0.7303, allocations: 0.5172 MB / 0.8362 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002108/0.7324, allocations: 0.794 MB / 0.837 GB, free: 10.47 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001974/0.7344, allocations: 0.5614 MB / 0.8375 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.511e-06/0.7344, allocations: 0 / 0.8375 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.005064/0.7395, allocations: 1.632 MB / 0.8391 GB, free: 8.266 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008844/0.7404, allocations: 2.488 MB / 0.8416 GB, free: 5.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.7404, allocations: 8 kB / 0.8416 GB, free: 5.617 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001944/0.7424, allocations: 0.5505 MB / 0.8421 GB, free: 5.066 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001353/0.7437, allocations: 251.6 kB / 0.8424 GB, free: 4.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001984/0.7457, allocations: 1.17 MB / 0.8435 GB, free: 3.625 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002429/0.7482, allocations: 290.5 kB / 0.8438 GB, free: 3.34 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.7483, allocations: 55.95 kB / 0.8438 GB, free: 3.285 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.7484, allocations: 5.875 kB / 0.8438 GB, free: 3.281 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004814/0.7532, allocations: 1.472 MB / 0.8453 GB, free: 1.805 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.7532, allocations: 8.25 kB / 0.8453 GB, free: 1.797 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001798/0.755, allocations: 0.5513 MB / 0.8458 GB, free: 1.246 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.7563, allocations: 255.6 kB / 0.8461 GB, free: 0.9961 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001918/0.7583, allocations: 1.17 MB / 0.8472 GB, free: 15.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/0.7605, allocations: 254.8 kB / 0.8474 GB, free: 15.55 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.7606, allocations: 55.94 kB / 0.8475 GB, free: 15.5 MB / 0.67 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 ($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 (82): * Single equations (assignments): 81 * 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.0007859/0.7614, allocations: 444.9 kB / 0.8479 GB, free: 15.05 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003544/0.7617, allocations: 138.3 kB / 0.8481 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004362/0.7661, allocations: 1.419 MB / 0.8494 GB, free: 13.47 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-05/0.7662, allocations: 8 kB / 0.8494 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.7662, allocations: 4 kB / 0.8494 GB, free: 13.46 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003714/0.7699, allocations: 1.215 MB / 0.8506 GB, free: 12.21 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008115/0.778, allocations: 3.508 MB / 0.8541 GB, free: 8.5 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.361e-05/0.7781, allocations: 4 kB / 0.8541 GB, free: 8.496 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008547/0.7789, allocations: 151.9 kB / 0.8542 GB, free: 8.348 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001823/0.7808, allocations: 0.5332 MB / 0.8547 GB, free: 7.812 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.821e-05/0.7809, allocations: 23.97 kB / 0.8548 GB, free: 7.789 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.7827, allocations: 1.162 MB / 0.8559 GB, free: 6.602 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.945e-06/0.7827, allocations: 11.98 kB / 0.8559 GB, free: 6.59 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004534/0.7873, allocations: 1.706 MB / 0.8576 GB, free: 4.691 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001218/0.7885, allocations: 398.9 kB / 0.8579 GB, free: 4.281 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004272/0.789, allocations: 19.98 kB / 0.858 GB, free: 4.262 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001916/0.7909, allocations: 166 kB / 0.8581 GB, free: 4.105 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001125/0.791, allocations: 60.25 kB / 0.8582 GB, free: 4.047 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001027/0.7911, allocations: 39.95 kB / 0.8582 GB, free: 4.008 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.00176/0.7929, allocations: 0.9926 MB / 0.8592 GB, free: 3.016 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7929, allocations: 0 / 0.8592 GB, free: 3.016 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002897/0.7958, allocations: 0.9396 MB / 0.8601 GB, free: 2.074 MB / 0.67 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 (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.001372/0.7972, allocations: 0.6078 MB / 0.8607 GB, free: 1.465 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.006657/0.8039, allocations: 1.906 MB / 0.8626 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 9.508e-06/0.8039, allocations: 8.125 kB / 0.8626 GB, free: 15.55 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/0.8059, allocations: 0.5531 MB / 0.8631 GB, free: 15 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004088/0.81, allocations: 0.773 MB / 0.8639 GB, free: 14.23 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007565/0.8175, allocations: 3.115 MB / 0.8669 GB, free: 11.05 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001077/0.8187, allocations: 1.238 MB / 0.8681 GB, free: 9.781 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001921/0.8206, allocations: 330.9 kB / 0.8684 GB, free: 9.457 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003569/0.821, allocations: 119.3 kB / 0.8685 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of SimCode: time 1.092e-06/0.821, allocations: 0 / 0.8685 GB, free: 9.34 MB / 0.6856 GB Notification: Performance of Templates: time 0.0608/0.8818, allocations: 37.69 MB / 0.9053 GB, free: 4.105 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1) Environment - environmentSimulation: