Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_master_IBPSA.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 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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_master_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.003968/0.003968, allocations: 357.7 kB / 15.95 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.469/1.469, allocations: 165.9 MB / 182.5 MB, free: 5.926 MB / 90.73 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.212/4.212, allocations: 410.7 MB / 0.5995 GB, free: 2.195 MB / 410.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00179/0.00179, allocations: 192.4 kB / 0.6662 GB, free: 14.04 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000457/0.0004573, allocations: 12 kB / 0.7423 GB, free: 44 kB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3855/0.386, allocations: 67.44 MB / 0.8081 GB, free: 245.4 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.07609/0.4621, allocations: 64.41 MB / 0.871 GB, free: 193.1 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.01921/0.4814, allocations: 12.83 MB / 0.8836 GB, free: 180.2 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002872/0.4843, allocations: 59.62 kB / 0.8836 GB, free: 180.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.4872, allocations: 0.7218 MB / 0.8843 GB, free: 179.5 MB / 0.5886 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.01137/0.4986, allocations: 2.273 MB / 0.8865 GB, free: 177.2 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.00821/0.5069, allocations: 1.895 MB / 0.8884 GB, free: 175.4 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.00634/0.5132, allocations: 5.088 MB / 0.8934 GB, free: 170.2 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002053/0.5153, allocations: 1.152 MB / 0.8945 GB, free: 169.1 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002938/0.5183, allocations: 1.338 MB / 0.8958 GB, free: 167.8 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001846/0.5202, allocations: 1.123 MB / 0.8969 GB, free: 166.7 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003201/0.5205, allocations: 68 kB / 0.897 GB, free: 166.6 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003407/0.524, allocations: 1.084 MB / 0.898 GB, free: 165.5 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0004921/0.5245, allocations: 314.6 kB / 0.8983 GB, free: 165.2 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.0006432/0.5252, allocations: 400.8 kB / 0.8987 GB, free: 164.8 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.003436/0.5286, allocations: 2.455 MB / 0.9011 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 6.203e-06/0.5286, allocations: 0 / 0.9011 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of FrontEnd: time 2.189e-06/0.5287, allocations: 0 / 0.9011 GB, free: 162.3 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 2.932e-05/0.5287, allocations: 0 / 0.9011 GB, free: 162.3 MB / 0.5886 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.003747/0.5325, allocations: 1.907 MB / 0.903 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.5325, allocations: 8.031 kB / 0.903 GB, free: 160.4 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006145/0.5387, allocations: 0.7355 MB / 0.9037 GB, free: 159.6 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003065/0.5418, allocations: 1.495 MB / 0.9051 GB, free: 158.1 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001561/0.542, allocations: 131.9 kB / 0.9053 GB, free: 157.9 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002553/0.5422, allocations: 116 kB / 0.9054 GB, free: 157.8 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004644/0.5469, allocations: 1.656 MB / 0.907 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.336e-05/0.547, allocations: 3.938 kB / 0.907 GB, free: 156.1 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001875/0.5472, allocations: 56 kB / 0.9071 GB, free: 156 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.063e-05/0.5472, allocations: 32 kB / 0.9071 GB, free: 156 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00578/0.553, allocations: 1.487 MB / 0.9085 GB, free: 154.5 MB / 0.5886 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.01153/0.5646, allocations: 7.015 MB / 0.9154 GB, free: 147.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/0.5673, allocations: 0.7598 MB / 0.9161 GB, free: 146.4 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001995/0.5693, allocations: 0.5061 MB / 0.9166 GB, free: 145.9 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001204/0.5706, allocations: 1.274 MB / 0.9179 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.494e-05/0.5706, allocations: 43.12 kB / 0.9179 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=68): time 3.994e-06/0.5706, allocations: 0 / 0.9179 GB, free: 144.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=68): time 0.02154/0.5922, allocations: 3.094 MB / 0.9209 GB, free: 141.2 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.041e-05/0.5923, allocations: 119.4 kB / 0.921 GB, free: 141 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002464/0.5947, allocations: 1.347 MB / 0.9224 GB, free: 139.7 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001835/0.595, allocations: 37.7 kB / 0.9224 GB, free: 139.6 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005924/0.5956, allocations: 0.6994 MB / 0.9231 GB, free: 138.9 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.5958, allocations: 240.6 kB / 0.9233 GB, free: 138.7 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.624e-05/0.5959, allocations: 20 kB / 0.9233 GB, free: 138.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.339e-05/0.596, allocations: 349.9 kB / 0.9237 GB, free: 138.3 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002325/0.5984, allocations: 0.5133 MB / 0.9242 GB, free: 137.8 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002541/0.6009, allocations: 0.7881 MB / 0.9249 GB, free: 136.9 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002482/0.6035, allocations: 0.5692 MB / 0.9255 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.08e-06/0.6035, allocations: 0 / 0.9255 GB, free: 136.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0138/0.6173, allocations: 2.159 MB / 0.9276 GB, free: 134.2 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.6175, allocations: 272.4 kB / 0.9279 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.6175, allocations: 8 kB / 0.9279 GB, free: 133.8 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002146/0.6197, allocations: 494.4 kB / 0.9283 GB, free: 133.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/0.6215, allocations: 259.6 kB / 0.9286 GB, free: 133.1 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001926/0.6234, allocations: 1.001 MB / 0.9296 GB, free: 132 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002938/0.6264, allocations: 286.6 kB / 0.9298 GB, free: 131.8 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002038/0.6266, allocations: 55.95 kB / 0.9299 GB, free: 131.7 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.6267, allocations: 4 kB / 0.9299 GB, free: 131.7 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01332/0.64, allocations: 1.991 MB / 0.9318 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.327e-05/0.64, allocations: 8 kB / 0.9318 GB, free: 129.7 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002032/0.6421, allocations: 489 kB / 0.9323 GB, free: 129.2 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001736/0.6439, allocations: 263.6 kB / 0.9326 GB, free: 129 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001886/0.6458, allocations: 1.003 MB / 0.9335 GB, free: 128 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002634/0.6484, allocations: 250.8 kB / 0.9338 GB, free: 127.7 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/0.6487, allocations: 51.95 kB / 0.9338 GB, free: 127.7 MB / 0.5886 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.0009587/0.6496, allocations: 458.7 kB / 0.9343 GB, free: 127.2 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003793/0.65, allocations: 142.3 kB / 0.9344 GB, free: 127.1 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00514/0.6552, allocations: 1.343 MB / 0.9357 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.777e-05/0.6552, allocations: 12 kB / 0.9357 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.6552, allocations: 0 / 0.9357 GB, free: 125.7 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004416/0.6597, allocations: 1.135 MB / 0.9368 GB, free: 124.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008743/0.6684, allocations: 3.077 MB / 0.9398 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.6685, allocations: 8.031 kB / 0.9398 GB, free: 121.3 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001154/0.6697, allocations: 151.8 kB / 0.94 GB, free: 121.2 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002025/0.6717, allocations: 487.2 kB / 0.9405 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001185/0.6719, allocations: 27.97 kB / 0.9405 GB, free: 120.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001866/0.6737, allocations: 0.9857 MB / 0.9414 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.791e-06/0.6738, allocations: 7.938 kB / 0.9415 GB, free: 119.7 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007101/0.6809, allocations: 1.967 MB / 0.9434 GB, free: 117.6 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009992/0.6819, allocations: 398.9 kB / 0.9438 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003131/0.6823, allocations: 16 kB / 0.9438 GB, free: 117.2 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002245/0.6845, allocations: 159.8 kB / 0.9439 GB, free: 117 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001499/0.6847, allocations: 60.3 kB / 0.944 GB, free: 117 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001514/0.6849, allocations: 47.91 kB / 0.944 GB, free: 116.9 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.002017/0.6869, allocations: 0.9658 MB / 0.945 GB, free: 116 MB / 0.5886 GB Notification: Performance of sort global known variables: time 9.57e-07/0.6869, allocations: 6.531 kB / 0.945 GB, free: 116 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.003146/0.6901, allocations: 0.8812 MB / 0.9458 GB, free: 115.1 MB / 0.5886 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.001267/0.6914, allocations: 0.5189 MB / 0.9463 GB, free: 114.6 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.007792/0.6992, allocations: 1.861 MB / 0.9482 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.119e-05/0.6993, allocations: 0.5625 kB / 0.9482 GB, free: 112.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.002288/0.7016, allocations: 0.537 MB / 0.9487 GB, free: 112.2 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004915/0.7065, allocations: 0.8037 MB / 0.9495 GB, free: 111.4 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006758/0.7133, allocations: 3.141 MB / 0.9525 GB, free: 108.2 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008026/0.7141, allocations: 1.234 MB / 0.9537 GB, free: 107 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.002707/0.7169, allocations: 374.9 kB / 0.9541 GB, free: 106.6 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004689/0.7174, allocations: 127.3 kB / 0.9542 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of SimCode: time 2.414e-06/0.7174, allocations: 4 kB / 0.9542 GB, free: 106.5 MB / 0.5886 GB Notification: Performance of Templates: time 0.06896/0.7864, allocations: 36.38 MB / 0.9897 GB, free: 70.88 MB / 0.5886 GB