Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.716/4.716, allocations: 0.5623 GB / 0.5769 GB, free: 3.336 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.002348/0.002347, allocations: 356.4 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.962/3.962, allocations: 410.7 MB / 1.112 GB, free: 5.898 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.001759/0.001759, allocations: 186.5 kB / 1.225 GB, free: 6.121 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004924/0.0004927, allocations: 16 kB / 1.348 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.581/0.5815, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.05981/0.6414, allocations: 64.44 MB / 1.524 GB, free: 219.9 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.01867/0.6601, allocations: 12.86 MB / 1.536 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002446/0.6626, allocations: 55.62 kB / 1.536 GB, free: 207.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.002405/0.665, allocations: 0.7315 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.007276/0.6723, allocations: 2.266 MB / 1.539 GB, free: 204.1 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.006407/0.6787, allocations: 1.885 MB / 1.541 GB, free: 202.2 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.005831/0.6846, allocations: 5.088 MB / 1.546 GB, free: 197.1 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001911/0.6865, allocations: 1.146 MB / 1.547 GB, free: 196 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002559/0.6891, allocations: 1.33 MB / 1.548 GB, free: 194.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001585/0.6908, allocations: 1.126 MB / 1.55 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0002378/0.691, allocations: 64 kB / 1.55 GB, free: 193.5 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/0.6941, allocations: 1.084 MB / 1.551 GB, free: 192.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0003666/0.6944, allocations: 318.6 kB / 1.551 GB, free: 192.1 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.000617/0.6951, allocations: 396.8 kB / 1.551 GB, free: 191.7 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.003711/0.6988, allocations: 2.459 MB / 1.554 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.604e-06/0.6988, allocations: 0 / 1.554 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.066e-06/0.6989, allocations: 4 kB / 1.554 GB, free: 189.2 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.771e-05/0.6989, allocations: 0 / 1.554 GB, free: 189.2 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003729/0.7026, allocations: 1.893 MB / 1.556 GB, free: 187.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.7027, allocations: 27.55 kB / 1.556 GB, free: 187.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006105/0.7088, allocations: 0.7276 MB / 1.556 GB, free: 186.5 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003022/0.7119, allocations: 1.503 MB / 1.558 GB, free: 184.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001416/0.712, allocations: 128 kB / 1.558 GB, free: 184.8 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002321/0.7123, allocations: 124.7 kB / 1.558 GB, free: 184.7 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004384/0.7167, allocations: 1.64 MB / 1.56 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.165e-05/0.7168, allocations: 8 kB / 1.56 GB, free: 183 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001767/0.7169, allocations: 52 kB / 1.56 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.861e-05/0.717, allocations: 39.92 kB / 1.56 GB, free: 182.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005527/0.7225, allocations: 1.484 MB / 1.561 GB, free: 181.4 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.01154/0.7341, allocations: 7.036 MB / 1.568 GB, free: 174 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002527/0.7367, allocations: 0.7435 MB / 1.569 GB, free: 173.3 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001911/0.7386, allocations: 0.5076 MB / 1.569 GB, free: 172.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.7398, allocations: 1.267 MB / 1.571 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.143e-05/0.7398, allocations: 47.06 kB / 1.571 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=68): time 3.987e-06/0.7398, allocations: 0 / 1.571 GB, free: 171.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=68): time 0.02121/0.7611, allocations: 3.11 MB / 1.574 GB, free: 168 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/0.7611, allocations: 111.4 kB / 1.574 GB, free: 167.9 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00243/0.7636, allocations: 1.347 MB / 1.575 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001793/0.7638, allocations: 45.7 kB / 1.575 GB, free: 166.5 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005724/0.7644, allocations: 0.6917 MB / 1.576 GB, free: 165.8 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.00024/0.7646, allocations: 236.5 kB / 1.576 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.661e-05/0.7647, allocations: 20 kB / 1.576 GB, free: 165.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.214e-05/0.7648, allocations: 341.9 kB / 1.576 GB, free: 165.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002334/0.7672, allocations: 0.5172 MB / 1.577 GB, free: 164.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002536/0.7697, allocations: 0.7901 MB / 1.578 GB, free: 163.8 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002389/0.7722, allocations: 0.5652 MB / 1.578 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.646e-06/0.7722, allocations: 4 kB / 1.578 GB, free: 163.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01355/0.7858, allocations: 2.151 MB / 1.58 GB, free: 161 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001401/0.7859, allocations: 288.3 kB / 1.581 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.39e-05/0.786, allocations: 7.938 kB / 1.581 GB, free: 160.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002123/0.7881, allocations: 495.9 kB / 1.581 GB, free: 160.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001747/0.7899, allocations: 263.6 kB / 1.581 GB, free: 159.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001867/0.7918, allocations: 0.9966 MB / 1.582 GB, free: 158.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002873/0.7947, allocations: 286.5 kB / 1.582 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001737/0.7949, allocations: 55.94 kB / 1.583 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.208e-05/0.7949, allocations: 4 kB / 1.583 GB, free: 158.6 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01308/0.808, allocations: 1.995 MB / 1.584 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.988e-05/0.808, allocations: 4 kB / 1.584 GB, free: 156.6 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001988/0.81, allocations: 491 kB / 1.585 GB, free: 156.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001716/0.8118, allocations: 271.5 kB / 1.585 GB, free: 155.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0018/0.8136, allocations: 0.9932 MB / 1.586 GB, free: 154.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/0.8162, allocations: 250.8 kB / 1.586 GB, free: 154.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.8164, allocations: 63.89 kB / 1.586 GB, free: 154.5 MB / 0.8542 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 (94): * Single equations (assignments): 93 * 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.0008528/0.8173, allocations: 449.7 kB / 1.587 GB, free: 154.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002947/0.8176, allocations: 142.3 kB / 1.587 GB, free: 153.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004943/0.8225, allocations: 1.332 MB / 1.588 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.8226, allocations: 8 kB / 1.588 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.27e-06/0.8226, allocations: 3.953 kB / 1.588 GB, free: 152.6 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004277/0.8269, allocations: 1.154 MB / 1.589 GB, free: 151.4 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008378/0.8353, allocations: 3.057 MB / 1.592 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.8353, allocations: 8 kB / 1.592 GB, free: 148.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001126/0.8365, allocations: 155.8 kB / 1.593 GB, free: 148.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001985/0.8385, allocations: 483.7 kB / 1.593 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001074/0.8386, allocations: 27.97 kB / 1.593 GB, free: 147.6 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001814/0.8404, allocations: 0.9895 MB / 1.594 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.148e-06/0.8405, allocations: 4 kB / 1.594 GB, free: 146.5 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006991/0.8475, allocations: 1.978 MB / 1.596 GB, free: 144.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009472/0.8485, allocations: 398.9 kB / 1.596 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002656/0.8487, allocations: 18.3 kB / 1.596 GB, free: 144.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002086/0.8508, allocations: 159.7 kB / 1.597 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.851, allocations: 60.25 kB / 1.597 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001234/0.8511, allocations: 43.95 kB / 1.597 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.00189/0.853, allocations: 0.9697 MB / 1.598 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.111e-06/0.8531, allocations: 0 / 1.598 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.002961/0.856, allocations: 0.8812 MB / 1.598 GB, free: 141.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (48): * Single equations (assignments): 45 * 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.001249/0.8573, allocations: 0.5239 MB / 1.599 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.00755/0.8649, allocations: 1.861 MB / 1.601 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.174e-05/0.8649, allocations: 4 kB / 1.601 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.002226/0.8672, allocations: 0.5258 MB / 1.601 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004601/0.8718, allocations: 0.7961 MB / 1.602 GB, free: 138.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006531/0.8784, allocations: 3.152 MB / 1.605 GB, free: 135.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007699/0.8792, allocations: 1.238 MB / 1.606 GB, free: 133.8 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.002413/0.8816, allocations: 364.5 kB / 1.607 GB, free: 133.5 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004039/0.882, allocations: 135.3 kB / 1.607 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of SimCode: time 1.769e-06/0.8821, allocations: 0 / 1.607 GB, free: 133.3 MB / 0.8542 GB Notification: Performance of Templates: time 0.0695/0.9516, allocations: 36.38 MB / 1.642 GB, free: 97.56 MB / 0.8542 GB