Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.588/4.588, allocations: 0.5623 GB / 0.5769 GB, free: 3.324 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002386/0.002386, allocations: 359.8 kB / 0.644 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.996/3.996, allocations: 410.7 MB / 1.112 GB, free: 5.922 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001733/0.001732, allocations: 175.2 kB / 1.225 GB, free: 6.055 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005335/0.0005337, allocations: 20 kB / 1.348 GB, free: 8.195 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5629/0.5635, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.0588/0.6223, allocations: 64.49 MB / 1.524 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01774/0.6401, allocations: 12.81 MB / 1.536 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002348/0.6425, allocations: 60.28 kB / 1.536 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.6448, allocations: 0.7329 MB / 1.537 GB, free: 206.3 MB / 0.8542 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.006907/0.6517, allocations: 2.27 MB / 1.539 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.00635/0.6581, allocations: 1.9 MB / 1.541 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.006048/0.6641, allocations: 5.281 MB / 1.546 GB, free: 196.9 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002051/0.6662, allocations: 1.3 MB / 1.547 GB, free: 195.7 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002498/0.6688, allocations: 1.384 MB / 1.549 GB, free: 194.3 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.6702, allocations: 1.185 MB / 1.55 GB, free: 193.1 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002273/0.6705, allocations: 72 kB / 1.55 GB, free: 193 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002926/0.6734, allocations: 1.095 MB / 1.551 GB, free: 191.9 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003532/0.6738, allocations: 350.4 kB / 1.551 GB, free: 191.6 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0005022/0.6743, allocations: 424.7 kB / 1.552 GB, free: 191.2 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003009/0.6773, allocations: 2.696 MB / 1.555 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.127e-06/0.6774, allocations: 0 / 1.555 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.373e-06/0.6774, allocations: 0 / 1.555 GB, free: 188.5 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.223e-05/0.6774, allocations: 3.938 kB / 1.555 GB, free: 188.5 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 338 * Number of variables: 338 Notification: Performance of Generate backend data structure: time 0.003815/0.6812, allocations: 2.066 MB / 1.557 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.6813, allocations: 15.62 kB / 1.557 GB, free: 186.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006116/0.6874, allocations: 0.7546 MB / 1.557 GB, free: 185.6 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/0.6906, allocations: 1.603 MB / 1.559 GB, free: 183.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001485/0.6908, allocations: 148.3 kB / 1.559 GB, free: 183.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002526/0.6911, allocations: 136 kB / 1.559 GB, free: 183.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004659/0.6957, allocations: 1.836 MB / 1.561 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.286e-05/0.6958, allocations: 3.906 kB / 1.561 GB, free: 181.7 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/0.696, allocations: 60 kB / 1.561 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.926e-05/0.6961, allocations: 43.94 kB / 1.561 GB, free: 181.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005718/0.7018, allocations: 1.606 MB / 1.563 GB, free: 180 MB / 0.8542 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.01156/0.7134, allocations: 7.582 MB / 1.57 GB, free: 172 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002766/0.7162, allocations: 0.8911 MB / 1.571 GB, free: 171.1 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001994/0.7182, allocations: 0.5532 MB / 1.571 GB, free: 170.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.7194, allocations: 1.276 MB / 1.573 GB, free: 169 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.131e-05/0.7194, allocations: 51.16 kB / 1.573 GB, free: 169 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=81): time 4.108e-06/0.7194, allocations: 0 / 1.573 GB, free: 169 MB / 0.8542 GB Notification: Performance of matching and sorting (n=81): time 0.01855/0.738, allocations: 2.812 MB / 1.575 GB, free: 166.1 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.132e-05/0.7381, allocations: 188.6 kB / 1.576 GB, free: 165.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002376/0.7405, allocations: 1.425 MB / 1.577 GB, free: 164.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001391/0.7406, allocations: 49.7 kB / 1.577 GB, free: 164.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000598/0.7412, allocations: 0.7432 MB / 1.578 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.000251/0.7415, allocations: 284 kB / 1.578 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.7416, allocations: 23.94 kB / 1.578 GB, free: 163.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.095e-05/0.7417, allocations: 341.9 kB / 1.578 GB, free: 163 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.744, allocations: 0.5569 MB / 1.579 GB, free: 162.5 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002533/0.7466, allocations: 0.8632 MB / 1.58 GB, free: 161.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002384/0.749, allocations: 0.6041 MB / 1.58 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.534e-06/0.749, allocations: 0 / 1.58 GB, free: 160.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=127) (initialization): time 0.006104/0.7551, allocations: 1.691 MB / 1.582 GB, free: 159.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001149/0.7553, allocations: 289 kB / 1.582 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/0.7553, allocations: 8 kB / 1.582 GB, free: 158.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002055/0.7573, allocations: 489.9 kB / 1.583 GB, free: 158.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001705/0.7591, allocations: 279.5 kB / 1.583 GB, free: 158.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/0.7609, allocations: 0.9934 MB / 1.584 GB, free: 157.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002874/0.7638, allocations: 304.5 kB / 1.584 GB, free: 156.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000155/0.764, allocations: 62.61 kB / 1.584 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.531e-06/0.764, allocations: 4 kB / 1.584 GB, free: 156.7 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005969/0.77, allocations: 1.527 MB / 1.586 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.178e-05/0.77, allocations: 4 kB / 1.586 GB, free: 155.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001955/0.772, allocations: 0.4884 MB / 1.586 GB, free: 154.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001709/0.7737, allocations: 271.6 kB / 1.587 GB, free: 154.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001811/0.7756, allocations: 0.9933 MB / 1.588 GB, free: 153.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002546/0.7781, allocations: 282.8 kB / 1.588 GB, free: 153.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001426/0.7783, allocations: 55.95 kB / 1.588 GB, free: 153.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum.temPro.hysHig.y,heaPum.temPro.hysHig.y,$PRE.heaPum.temPro.hysLow.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,$PRE.heaPum.temPro.hysdTConEva.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0009151/0.7792, allocations: 484.8 kB / 1.588 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002906/0.7795, allocations: 162.1 kB / 1.589 GB, free: 152.4 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006668/0.7862, allocations: 1.534 MB / 1.59 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.466e-05/0.7862, allocations: 8.797 kB / 1.59 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.734e-06/0.7862, allocations: 0 / 1.59 GB, free: 150.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006036/0.7923, allocations: 1.311 MB / 1.591 GB, free: 149.5 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0161/0.8084, allocations: 3.848 MB / 1.595 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/0.8085, allocations: 7.984 kB / 1.595 GB, free: 145.6 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/0.8098, allocations: 183.7 kB / 1.595 GB, free: 145.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002005/0.8118, allocations: 476.3 kB / 1.596 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.909e-05/0.8119, allocations: 31.95 kB / 1.596 GB, free: 144.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001819/0.8137, allocations: 0.9968 MB / 1.597 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.481e-06/0.8138, allocations: 7.938 kB / 1.597 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008662/0.8224, allocations: 2.179 MB / 1.599 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009901/0.8235, allocations: 426.7 kB / 1.599 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002838/0.8238, allocations: 20.06 kB / 1.599 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002122/0.8259, allocations: 185.5 kB / 1.599 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001754/0.8261, allocations: 80.38 kB / 1.6 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001306/0.8262, allocations: 52.06 kB / 1.6 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001884/0.8281, allocations: 0.9992 MB / 1.601 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.76e-07/0.8282, allocations: 0 / 1.601 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002792/0.831, allocations: 0.9666 MB / 1.601 GB, free: 138.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 5 (heaPum.com.isOn,heaPum.temPro.hysHig.y,heaPum.temPro.hysLow.y,heaPum.temPro.on.y,heaPum.temPro.hysdTConEva.y) * Number of discrete states: 4 (heaPum.temPro.hysLow.y,heaPum.temPro.hysHig.y,heaPum.temPro.hysdTConEva.y,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (61): * Single equations (assignments): 58 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.001189/0.8322, allocations: 0.5395 MB / 1.602 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.007574/0.8398, allocations: 2.012 MB / 1.604 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 9.011e-06/0.8398, allocations: 4 kB / 1.604 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002417/0.8422, allocations: 0.6358 MB / 1.605 GB, free: 135.7 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00445/0.8467, allocations: 0.8113 MB / 1.605 GB, free: 134.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006692/0.8534, allocations: 3.439 MB / 1.609 GB, free: 131.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008085/0.8543, allocations: 1.297 MB / 1.61 GB, free: 130.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002496/0.8568, allocations: 399.7 kB / 1.61 GB, free: 129.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004507/0.8572, allocations: 139.3 kB / 1.611 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.574e-06/0.8572, allocations: 0 / 1.611 GB, free: 129.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.07234/0.9296, allocations: 38.1 MB / 1.648 GB, free: 92.09 MB / 0.8542 GB