Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 IBPSA with version 3.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002449/0.002449, allocations: 357 kB / 15.94 MB, free: 6.207 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 1.447/1.447, allocations: 165.8 MB / 182.5 MB, free: 5.406 MB / 138.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.705/3.705, allocations: 410.8 MB / 0.5995 GB, free: 15.16 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001784/0.001783, allocations: 198.1 kB / 0.6662 GB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004503/0.0004504, allocations: 16 kB / 0.7423 GB, free: 8.977 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3661, allocations: 67.44 MB / 0.8081 GB, free: 28.8 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_TemperatureProtection): time 0.08407/0.4502, allocations: 64.45 MB / 0.8711 GB, free: 12.18 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02376/0.474, allocations: 12.79 MB / 0.8836 GB, free: 15.36 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002518/0.4766, allocations: 63.56 kB / 0.8836 GB, free: 15.3 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002884/0.4795, allocations: 0.7219 MB / 0.8843 GB, free: 14.57 MB / 442.7 MB [/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.00874/0.4882, allocations: 2.274 MB / 0.8866 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007744/0.496, allocations: 1.898 MB / 0.8884 GB, free: 10.42 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.008327/0.5044, allocations: 5.287 MB / 0.8936 GB, free: 5.121 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002712/0.5071, allocations: 1.294 MB / 0.8948 GB, free: 3.805 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00359/0.5107, allocations: 1.388 MB / 0.8962 GB, free: 2.41 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00256/0.5133, allocations: 1.182 MB / 0.8974 GB, free: 1.223 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003998/0.5138, allocations: 72 kB / 0.8974 GB, free: 1.152 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003783/0.5176, allocations: 1.099 MB / 0.8985 GB, free: 52 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000714/0.5183, allocations: 334.6 kB / 0.8988 GB, free: 15.72 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008767/0.5192, allocations: 436.7 kB / 0.8992 GB, free: 15.29 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004852/0.5241, allocations: 2.704 MB / 0.9019 GB, free: 12.57 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.528e-06/0.5241, allocations: 0 / 0.9019 GB, free: 12.57 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.509e-06/0.5242, allocations: 0 / 0.9019 GB, free: 12.57 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.86e-05/0.5242, allocations: 0 / 0.9019 GB, free: 12.57 MB / 458.7 MB 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.005002/0.5292, allocations: 2.058 MB / 0.9039 GB, free: 10.45 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.5293, allocations: 15.97 kB / 0.9039 GB, free: 10.43 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006595/0.5359, allocations: 0.7585 MB / 0.9046 GB, free: 9.672 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004067/0.54, allocations: 1.6 MB / 0.9062 GB, free: 8.016 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002338/0.5403, allocations: 148.3 kB / 0.9063 GB, free: 7.863 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000396/0.5407, allocations: 143.9 kB / 0.9065 GB, free: 7.723 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006619/0.5473, allocations: 1.833 MB / 0.9083 GB, free: 5.797 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.699e-05/0.5474, allocations: 3.938 kB / 0.9083 GB, free: 5.793 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002259/0.5477, allocations: 63.98 kB / 0.9083 GB, free: 5.73 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.892e-05/0.5477, allocations: 40 kB / 0.9084 GB, free: 5.691 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006688/0.5544, allocations: 1.61 MB / 0.9099 GB, free: 4.074 MB / 458.7 MB 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.01562/0.5701, allocations: 7.576 MB / 0.9173 GB, free: 12.13 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003309/0.5734, allocations: 0.8821 MB / 0.9182 GB, free: 11.24 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002338/0.5758, allocations: 0.5586 MB / 0.9187 GB, free: 10.68 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001765/0.5776, allocations: 1.275 MB / 0.92 GB, free: 9.125 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.548e-05/0.5777, allocations: 47.22 kB / 0.92 GB, free: 9.07 MB / 474.7 MB Notification: Performance of pre-optimization done (n=81): time 4.039e-06/0.5777, allocations: 3.938 kB / 0.92 GB, free: 9.066 MB / 474.7 MB Notification: Performance of matching and sorting (n=81): time 0.02036/0.5981, allocations: 2.812 MB / 0.9228 GB, free: 6.227 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000141/0.5982, allocations: 196.5 kB / 0.923 GB, free: 5.988 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003166/0.6014, allocations: 1.425 MB / 0.9244 GB, free: 4.555 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002497/0.6017, allocations: 49.7 kB / 0.9244 GB, free: 4.5 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000962/0.6027, allocations: 0.7446 MB / 0.9251 GB, free: 3.75 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004139/0.6031, allocations: 280 kB / 0.9254 GB, free: 3.473 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001046/0.6032, allocations: 20 kB / 0.9254 GB, free: 3.453 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000212/0.6035, allocations: 341.9 kB / 0.9258 GB, free: 3.113 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002684/0.6062, allocations: 0.5569 MB / 0.9263 GB, free: 2.555 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003114/0.6093, allocations: 0.8671 MB / 0.9271 GB, free: 1.562 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002802/0.6121, allocations: 0.6041 MB / 0.9277 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.995e-06/0.6122, allocations: 0 / 0.9277 GB, free: 0.9609 MB / 474.7 MB Notification: Performance of matching and sorting (n=127) (initialization): time 0.4833/1.095, allocations: 1.683 MB / 0.9294 GB, free: 113.1 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001474/1.096, allocations: 298.4 kB / 0.9297 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.811e-05/1.096, allocations: 7.641 kB / 0.9297 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002282/1.098, allocations: 489 kB / 0.9301 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001944/1.1, allocations: 279.9 kB / 0.9304 GB, free: 112.8 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002086/1.102, allocations: 0.9881 MB / 0.9314 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003301/1.105, allocations: 301.8 kB / 0.9317 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/1.106, allocations: 61.69 kB / 0.9317 GB, free: 112.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/1.106, allocations: 6.875 kB / 0.9317 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006819/1.113, allocations: 1.523 MB / 0.9332 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.963e-05/1.113, allocations: 6.344 kB / 0.9332 GB, free: 111.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002289/1.115, allocations: 498.1 kB / 0.9337 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001994/1.117, allocations: 278.2 kB / 0.934 GB, free: 111.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00202/1.119, allocations: 0.996 MB / 0.9349 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002981/1.122, allocations: 270.7 kB / 0.9352 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002252/1.122, allocations: 61.75 kB / 0.9352 GB, free: 111 MB / 474.7 MB 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.001106/1.123, allocations: 494.5 kB / 0.9357 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004545/1.124, allocations: 156.1 kB / 0.9359 GB, free: 110.6 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008783/1.133, allocations: 1.533 MB / 0.9374 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/1.133, allocations: 15.44 kB / 0.9374 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/1.133, allocations: 4.453 kB / 0.9374 GB, free: 110.1 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008113/1.141, allocations: 1.3 MB / 0.9387 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01835/1.159, allocations: 3.859 MB / 0.9424 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.159, allocations: 3.812 kB / 0.9424 GB, free: 107.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001317/1.161, allocations: 177.7 kB / 0.9426 GB, free: 107.8 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00225/1.163, allocations: 482.1 kB / 0.9431 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/1.163, allocations: 35.81 kB / 0.9431 GB, free: 107.6 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002104/1.165, allocations: 0.9906 MB / 0.9441 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.037e-06/1.165, allocations: 3.969 kB / 0.9441 GB, free: 106.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01013/1.175, allocations: 2.184 MB / 0.9462 GB, free: 105.6 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/1.177, allocations: 430.9 kB / 0.9466 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/1.177, allocations: 19.69 kB / 0.9466 GB, free: 105.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002807/1.18, allocations: 178.2 kB / 0.9468 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002266/1.18, allocations: 88.2 kB / 0.9469 GB, free: 105.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001588/1.18, allocations: 51.62 kB / 0.9469 GB, free: 105 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002202/1.183, allocations: 1 MB / 0.9479 GB, free: 104.5 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.7e-07/1.183, allocations: 0 / 0.9479 GB, free: 104.5 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.003406/1.186, allocations: 0.9638 MB / 0.9488 GB, free: 103.8 MB / 474.7 MB 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.001295/1.187, allocations: 0.5362 MB / 0.9494 GB, free: 103.3 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008163/1.196, allocations: 2.011 MB / 0.9513 GB, free: 101.3 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.087e-05/1.196, allocations: 4 kB / 0.9513 GB, free: 101.3 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002522/1.198, allocations: 0.6333 MB / 0.952 GB, free: 100.7 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00861/1.207, allocations: 0.8117 MB / 0.9527 GB, free: 99.9 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01349/1.22, allocations: 3.442 MB / 0.9561 GB, free: 96.37 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001568/1.222, allocations: 1.293 MB / 0.9574 GB, free: 95.05 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.005126/1.227, allocations: 387.1 kB / 0.9577 GB, free: 94.67 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009522/1.228, allocations: 143.3 kB / 0.9579 GB, free: 94.54 MB / 474.7 MB Notification: Performance of SimCode: time 2.691e-06/1.228, allocations: 0 / 0.9579 GB, free: 94.54 MB / 474.7 MB Notification: Performance of Templates: time 0.1018/1.33, allocations: 38.09 MB / 0.9951 GB, free: 56.86 MB / 474.7 MB