Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.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_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.603/4.603, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.002341/0.002341, allocations: 358 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.926/3.926, allocations: 410.7 MB / 1.112 GB, free: 5.934 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.001804/0.001804, allocations: 183.5 kB / 1.225 GB, free: 6.062 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0007592/0.0007595, allocations: 12 kB / 1.348 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.5717, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic): time 0.1134/0.6852, allocations: 120.7 MB / 1.579 GB, free: 163.7 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0319/0.7171, allocations: 22.59 MB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004821/0.722, allocations: 115.2 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.004842/0.7268, allocations: 1.343 MB / 1.602 GB, free: 139.6 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. [/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.01399/0.7409, allocations: 4.26 MB / 1.606 GB, free: 135.3 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.01081/0.7517, allocations: 3.128 MB / 1.609 GB, free: 132.3 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0113/0.763, allocations: 9.801 MB / 1.619 GB, free: 122.5 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003864/0.7669, allocations: 2.245 MB / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005444/0.7724, allocations: 2.566 MB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003673/0.7761, allocations: 2.178 MB / 1.626 GB, free: 115.5 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0006735/0.7768, allocations: 128 kB / 1.626 GB, free: 115.3 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005556/0.7824, allocations: 1.594 MB / 1.627 GB, free: 113.7 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.001021/0.7835, allocations: 0.5872 MB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.001288/0.7848, allocations: 0.7343 MB / 1.629 GB, free: 112.4 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.006387/0.7912, allocations: 4.594 MB / 1.633 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 5.153e-06/0.7912, allocations: 0 / 1.633 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.542e-06/0.7912, allocations: 0 / 1.633 GB, free: 107.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.392e-05/0.7913, allocations: 0 / 1.633 GB, free: 107.8 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: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00664/0.798, allocations: 3.351 MB / 1.636 GB, free: 104.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.686e-05/0.798, allocations: 11.62 kB / 1.636 GB, free: 104.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/0.8126, allocations: 1.455 MB / 1.638 GB, free: 102.9 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00601/0.8187, allocations: 2.826 MB / 1.641 GB, free: 99.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002781/0.819, allocations: 263.9 kB / 1.641 GB, free: 99.71 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000521/0.8195, allocations: 235.9 kB / 1.641 GB, free: 99.48 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009058/0.8286, allocations: 3.218 MB / 1.644 GB, free: 96.07 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.416e-05/0.8287, allocations: 7.938 kB / 1.644 GB, free: 96.06 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003514/0.8291, allocations: 112 kB / 1.644 GB, free: 95.95 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.038e-05/0.8292, allocations: 63.95 kB / 1.644 GB, free: 95.89 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01136/0.8406, allocations: 2.885 MB / 1.647 GB, free: 92.99 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.02269/0.8633, allocations: 13.65 MB / 1.661 GB, free: 78.69 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005215/0.8685, allocations: 1.51 MB / 1.662 GB, free: 77.18 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003757/0.8723, allocations: 0.9315 MB / 1.663 GB, free: 76.25 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001581/0.8739, allocations: 1.785 MB / 1.665 GB, free: 74.08 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004311/0.8783, allocations: 1.208 MB / 1.666 GB, free: 72.81 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=126): time 5.036e-06/0.8783, allocations: 4 kB / 1.666 GB, free: 72.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=132): time 0.05759/0.9359, allocations: 11.86 MB / 1.677 GB, free: 60.79 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001225/0.9361, allocations: 0.5823 MB / 1.678 GB, free: 60.07 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004885/0.941, allocations: 2.58 MB / 1.681 GB, free: 57.47 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0003565/0.9414, allocations: 65.69 kB / 1.681 GB, free: 57.4 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.9426, allocations: 1.313 MB / 1.682 GB, free: 56.07 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005445/0.9431, allocations: 461.6 kB / 1.682 GB, free: 55.61 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001777/0.9433, allocations: 32 kB / 1.682 GB, free: 55.58 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001155/0.9435, allocations: 385.8 kB / 1.683 GB, free: 55.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0046/0.9481, allocations: 0.9953 MB / 1.684 GB, free: 54.2 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005095/0.9532, allocations: 1.608 MB / 1.685 GB, free: 52.35 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004766/0.958, allocations: 1.137 MB / 1.686 GB, free: 51.21 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.374e-05/0.958, allocations: 4 kB / 1.686 GB, free: 51.21 MB / 0.8542 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.02444/0.9825, allocations: 4.194 MB / 1.69 GB, free: 46.99 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002325/0.9828, allocations: 0.4899 MB / 1.691 GB, free: 46.32 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.13e-05/0.9828, allocations: 12 kB / 1.691 GB, free: 46.31 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004693/0.9875, allocations: 1.154 MB / 1.692 GB, free: 45.16 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00307/0.9906, allocations: 471.2 kB / 1.693 GB, free: 44.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00461/0.9952, allocations: 2.397 MB / 1.695 GB, free: 42.26 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00549/1.001, allocations: 411.8 kB / 1.695 GB, free: 41.86 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002983/1.001, allocations: 111.8 kB / 1.695 GB, free: 41.75 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/1.001, allocations: 4 kB / 1.695 GB, free: 41.75 MB / 0.8542 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.023/1.024, allocations: 3.903 MB / 1.699 GB, free: 37.83 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.239e-05/1.024, allocations: 20.14 kB / 1.699 GB, free: 37.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004741/1.029, allocations: 1.146 MB / 1.7 GB, free: 36.66 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003062/1.032, allocations: 471.2 kB / 1.701 GB, free: 36.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004709/1.037, allocations: 2.386 MB / 1.703 GB, free: 33.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005117/1.042, allocations: 389.5 kB / 1.704 GB, free: 33.39 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003046/1.042, allocations: 107.9 kB / 1.704 GB, free: 33.29 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.001874/1.044, allocations: 0.6954 MB / 1.704 GB, free: 32.58 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007885/1.045, allocations: 284.6 kB / 1.705 GB, free: 32.3 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009801/1.055, allocations: 2.462 MB / 1.707 GB, free: 29.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.769e-05/1.055, allocations: 19.95 kB / 1.707 GB, free: 29.8 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.692e-06/1.055, allocations: 0 / 1.707 GB, free: 29.8 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008179/1.063, allocations: 2.057 MB / 1.709 GB, free: 27.69 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02308/1.086, allocations: 7.081 MB / 1.716 GB, free: 20.44 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.223e-05/1.086, allocations: 4.094 kB / 1.716 GB, free: 20.44 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002065/1.088, allocations: 295.5 kB / 1.716 GB, free: 20.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004235/1.093, allocations: 1.011 MB / 1.717 GB, free: 19.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002083/1.093, allocations: 55.89 kB / 1.717 GB, free: 19.09 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003943/1.097, allocations: 2.162 MB / 1.719 GB, free: 16.88 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.938e-06/1.097, allocations: 15.89 kB / 1.719 GB, free: 16.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0154/1.112, allocations: 3.83 MB / 1.723 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001879/1.114, allocations: 0.6573 MB / 1.724 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005335/1.115, allocations: 39.98 kB / 1.724 GB, free: 12.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003985/1.119, allocations: 296.2 kB / 1.724 GB, free: 11.9 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002386/1.119, allocations: 120.7 kB / 1.724 GB, free: 11.79 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002022/1.119, allocations: 75.92 kB / 1.724 GB, free: 11.71 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.003525/1.123, allocations: 1.808 MB / 1.726 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.24e-07/1.123, allocations: 0 / 1.726 GB, free: 9.902 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.005779/1.128, allocations: 1.472 MB / 1.727 GB, free: 8.43 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.001955/1.13, allocations: 0.7642 MB / 1.728 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0151/1.146, allocations: 3.803 MB / 1.732 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.253e-05/1.146, allocations: 4.438 kB / 1.732 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.004572/1.15, allocations: 1.111 MB / 1.733 GB, free: 2.738 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00837/1.159, allocations: 1.509 MB / 1.734 GB, free: 1.273 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5169/1.676, allocations: 5.825 MB / 1.74 GB, free: 261.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001727/1.677, allocations: 1.775 MB / 1.742 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.004861/1.682, allocations: 0.6518 MB / 1.743 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00087/1.683, allocations: 237.8 kB / 1.743 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of SimCode: time 1.438e-06/1.683, allocations: 0 / 1.743 GB, free: 260.7 MB / 0.8542 GB Notification: Performance of Templates: time 0.1536/1.837, allocations: 71.23 MB / 1.812 GB, free: 206.2 MB / 0.8542 GB