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.002727/0.002732, allocations: 356.5 kB / 16.59 MB, free: 5.57 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.508/1.508, allocations: 165.8 MB / 183.1 MB, free: 5.426 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 4.054/4.054, allocations: 410.8 MB / 0.6001 GB, free: 15.36 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.002573/0.002573, allocations: 200.8 kB / 0.6668 GB, free: 6.957 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007133/0.0007136, allocations: 16 kB / 0.7429 GB, free: 8.996 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5003/0.501, allocations: 67.45 MB / 0.8087 GB, free: 28.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.08959/0.5907, allocations: 64.4 MB / 0.8716 GB, free: 12.22 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02714/0.6178, allocations: 12.82 MB / 0.8842 GB, free: 15.38 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002759/0.6207, allocations: 63.56 kB / 0.8842 GB, free: 15.31 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00362/0.6243, allocations: 0.7297 MB / 0.8849 GB, free: 14.58 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.009726/0.6341, allocations: 2.26 MB / 0.8871 GB, free: 12.31 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008582/0.6427, allocations: 1.902 MB / 0.889 GB, free: 10.44 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.009176/0.6519, allocations: 5.081 MB / 0.894 GB, free: 5.34 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002871/0.6548, allocations: 1.16 MB / 0.8951 GB, free: 4.152 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00417/0.659, allocations: 1.334 MB / 0.8964 GB, free: 2.812 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002887/0.6619, allocations: 1.12 MB / 0.8975 GB, free: 1.688 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005051/0.6625, allocations: 68 kB / 0.8975 GB, free: 1.621 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004689/0.6672, allocations: 1.08 MB / 0.8986 GB, free: 0.5391 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008617/0.6681, allocations: 318.6 kB / 0.8989 GB, free: 232 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0009321/0.669, allocations: 404.9 kB / 0.8993 GB, free: 15.82 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005425/0.6745, allocations: 2.455 MB / 0.9017 GB, free: 13.36 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.301e-06/0.6745, allocations: 3.938 kB / 0.9017 GB, free: 13.36 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.384e-06/0.6746, allocations: 0 / 0.9017 GB, free: 13.36 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.545e-05/0.6746, allocations: 0 / 0.9017 GB, free: 13.36 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.005925/0.6806, allocations: 1.908 MB / 0.9036 GB, free: 11.38 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.6806, allocations: 8.031 kB / 0.9036 GB, free: 11.37 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01073/0.6914, allocations: 0.7316 MB / 0.9043 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004137/0.6956, allocations: 1.491 MB / 0.9057 GB, free: 9.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002002/0.6958, allocations: 135.9 kB / 0.9059 GB, free: 8.949 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000356/0.6962, allocations: 120 kB / 0.906 GB, free: 8.832 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007176/0.7034, allocations: 1.652 MB / 0.9076 GB, free: 7.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.609e-05/0.7035, allocations: 3.938 kB / 0.9076 GB, free: 7.086 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002471/0.7037, allocations: 56 kB / 0.9076 GB, free: 7.031 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.504e-05/0.7038, allocations: 32 kB / 0.9077 GB, free: 7 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00925/0.7131, allocations: 1.488 MB / 0.9091 GB, free: 5.504 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.01771/0.7308, allocations: 7.015 MB / 0.916 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004085/0.7349, allocations: 0.755 MB / 0.9167 GB, free: 13.38 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003201/0.7382, allocations: 0.4983 MB / 0.9172 GB, free: 12.88 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/0.7401, allocations: 1.274 MB / 0.9184 GB, free: 11.33 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.22e-05/0.7402, allocations: 47.12 kB / 0.9185 GB, free: 11.27 MB / 474.7 MB Notification: Performance of pre-optimization done (n=68): time 3.166e-06/0.7402, allocations: 0 / 0.9185 GB, free: 11.27 MB / 474.7 MB Notification: Performance of matching and sorting (n=68): time 0.0384/0.7786, allocations: 3.102 MB / 0.9215 GB, free: 8.141 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.832e-05/0.7787, allocations: 111.4 kB / 0.9216 GB, free: 8.008 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003426/0.7822, allocations: 1.354 MB / 0.923 GB, free: 6.641 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002642/0.7825, allocations: 41.7 kB / 0.923 GB, free: 6.594 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009205/0.7834, allocations: 0.6916 MB / 0.9237 GB, free: 5.895 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004341/0.7839, allocations: 244.6 kB / 0.9239 GB, free: 5.652 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000122/0.784, allocations: 16 kB / 0.9239 GB, free: 5.637 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.7842, allocations: 341.9 kB / 0.9242 GB, free: 5.297 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003902/0.7881, allocations: 0.5172 MB / 0.9247 GB, free: 4.781 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005473/0.7936, allocations: 0.7901 MB / 0.9255 GB, free: 3.883 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006648/0.8003, allocations: 0.5691 MB / 0.9261 GB, free: 3.312 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.016e-05/0.8004, allocations: 0 / 0.9261 GB, free: 3.312 MB / 474.7 MB Notification: Performance of matching and sorting (n=114) (initialization): time 0.02555/0.8259, allocations: 2.155 MB / 0.9282 GB, free: 1.145 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002228/0.8262, allocations: 268.8 kB / 0.9284 GB, free: 0.7969 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.8262, allocations: 8 kB / 0.9284 GB, free: 0.7891 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002979/0.8292, allocations: 0.49 MB / 0.9289 GB, free: 308 kB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002864/0.8321, allocations: 263.6 kB / 0.9292 GB, free: 44 kB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3645/1.197, allocations: 0.9848 MB / 0.9301 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004657/1.201, allocations: 282.6 kB / 0.9304 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003352/1.202, allocations: 55.2 kB / 0.9305 GB, free: 113.2 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/1.202, allocations: 4.156 kB / 0.9305 GB, free: 113.2 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02374/1.226, allocations: 2.002 MB / 0.9324 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.959e-05/1.226, allocations: 8.219 kB / 0.9324 GB, free: 113.1 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002992/1.229, allocations: 492.9 kB / 0.9329 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002906/1.232, allocations: 265.7 kB / 0.9331 GB, free: 113 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002811/1.234, allocations: 1.004 MB / 0.9341 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004155/1.239, allocations: 247.7 kB / 0.9344 GB, free: 112.3 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000292/1.239, allocations: 55.95 kB / 0.9344 GB, free: 112.3 MB / 474.7 MB 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.001154/1.24, allocations: 452.9 kB / 0.9349 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005117/1.241, allocations: 146.2 kB / 0.935 GB, free: 111.9 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009036/1.25, allocations: 1.335 MB / 0.9363 GB, free: 111.5 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007227/1.257, allocations: 1.14 MB / 0.9374 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/1.257, allocations: 0.8125 kB / 0.9374 GB, free: 111 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001129/1.258, allocations: 393.4 kB / 0.9378 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004395/1.259, allocations: 15.34 kB / 0.9378 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003429/1.262, allocations: 153.5 kB / 0.9379 GB, free: 110.8 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002218/1.262, allocations: 50.25 kB / 0.938 GB, free: 110.7 MB / 474.7 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01313/1.275, allocations: 1.478 MB / 0.9394 GB, free: 110.3 MB / 474.7 MB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01012/1.286, allocations: 1.789 MB / 0.9412 GB, free: 109.6 MB / 474.7 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003012/1.289, allocations: 459.8 kB / 0.9416 GB, free: 109.4 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.002444/1.291, allocations: 0.946 MB / 0.9425 GB, free: 109.1 MB / 474.7 MB Notification: Performance of Backend: time 6.01e-07/1.291, allocations: 0 / 0.9425 GB, free: 109.1 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01144/1.303, allocations: 2.054 MB / 0.9445 GB, free: 108.2 MB / 474.7 MB Notification: Performance of SimCode: time 0.01003/1.313, allocations: 3.938 MB / 0.9484 GB, free: 105.4 MB / 474.7 MB Notification: Performance of Templates: time 0.08953/1.402, allocations: 40.55 MB / 0.988 GB, free: 65.24 MB / 474.7 MB