Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.291/2.291, allocations: 251.1 MB / 266.7 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001427/0.001427, allocations: 175 kB / 326.3 MB, free: 2.867 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.487/2.487, allocations: 205.4 MB / 0.5772 GB, free: 21.21 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008712/0.0008711, allocations: 82.36 kB / 0.6817 GB, free: 14.06 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004637/0.0004639, allocations: 12.03 kB / 0.7957 GB, free: 135.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2049, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.08208/0.287, allocations: 64.47 MB / 0.9624 GB, free: 1.391 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02886/0.3159, allocations: 13.64 MB / 0.9758 GB, free: 3.723 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002781/0.3188, allocations: 59.62 kB / 0.9758 GB, free: 3.664 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.003222/0.322, allocations: 0.6405 MB / 0.9765 GB, free: 3.02 MB / 0.6198 GB [/home/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. [/home/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. [/home/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. [/home/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.008681/0.3307, allocations: 1.985 MB / 0.9784 GB, free: 1.031 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.007381/0.3381, allocations: 1.445 MB / 0.9798 GB, free: 15.6 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.009869/0.348, allocations: 5.105 MB / 0.9848 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00323/0.3513, allocations: 1.219 MB / 0.986 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004689/0.3561, allocations: 1.381 MB / 0.9873 GB, free: 7.844 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002943/0.3591, allocations: 1.112 MB / 0.9884 GB, free: 6.727 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004626/0.3596, allocations: 68 kB / 0.9885 GB, free: 6.66 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005758/0.3653, allocations: 1.513 MB / 0.99 GB, free: 5.145 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0008411/0.3662, allocations: 310.6 kB / 0.9902 GB, free: 4.84 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0009004/0.3671, allocations: 396.8 kB / 0.9906 GB, free: 4.445 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.006013/0.3732, allocations: 2.63 MB / 0.9932 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.3732, allocations: 0 / 0.9932 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.315e-06/0.3732, allocations: 0 / 0.9932 GB, free: 1.809 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.789e-05/0.3733, allocations: 0 / 0.9932 GB, free: 1.809 MB / 0.6355 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.006019/0.3793, allocations: 1.973 MB / 0.9951 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.3794, allocations: 8.031 kB / 0.9951 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01075/0.3902, allocations: 0.7363 MB / 0.9958 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004148/0.3944, allocations: 1.495 MB / 0.9973 GB, free: 13.47 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002028/0.3946, allocations: 132 kB / 0.9974 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003422/0.395, allocations: 120 kB / 0.9975 GB, free: 13.22 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00688/0.4019, allocations: 1.633 MB / 0.9991 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.044e-05/0.402, allocations: 3.906 kB / 0.9991 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002274/0.4022, allocations: 55.98 kB / 0.9992 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.461e-05/0.4023, allocations: 39.92 kB / 0.9992 GB, free: 11.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.014/0.4163, allocations: 1.488 MB / 1.001 GB, free: 9.902 MB / 0.6511 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.02616/0.4425, allocations: 7.009 MB / 1.008 GB, free: 2.555 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005443/0.448, allocations: 0.7591 MB / 1.008 GB, free: 1.785 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004567/0.4526, allocations: 0.4983 MB / 1.009 GB, free: 1.285 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002891/0.4556, allocations: 1.267 MB / 1.01 GB, free: 15.74 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.463e-05/0.4558, allocations: 51.05 kB / 1.01 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=68): time 5.751e-06/0.4558, allocations: 0 / 1.01 GB, free: 15.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=68): time 0.0568/0.5126, allocations: 3.109 MB / 1.013 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.5128, allocations: 115.4 kB / 1.013 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005268/0.5181, allocations: 1.35 MB / 1.015 GB, free: 11.04 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.000312/0.5184, allocations: 41.7 kB / 1.015 GB, free: 10.99 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.5197, allocations: 0.6878 MB / 1.015 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005912/0.5203, allocations: 244.6 kB / 1.015 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/0.5205, allocations: 16 kB / 1.015 GB, free: 10.04 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002342/0.5208, allocations: 341.9 kB / 1.016 GB, free: 9.699 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005089/0.5259, allocations: 0.5133 MB / 1.016 GB, free: 9.188 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005478/0.5314, allocations: 0.7901 MB / 1.017 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005522/0.537, allocations: 0.5691 MB / 1.018 GB, free: 7.719 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.24e-05/0.5371, allocations: 4 kB / 1.018 GB, free: 7.715 MB / 0.6667 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.03589/0.573, allocations: 2.147 MB / 1.02 GB, free: 5.555 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003395/0.5734, allocations: 276.3 kB / 1.02 GB, free: 5.195 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.236e-05/0.5734, allocations: 8 kB / 1.02 GB, free: 5.188 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004258/0.5777, allocations: 465.6 kB / 1.02 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00432/0.5821, allocations: 267.7 kB / 1.021 GB, free: 4.469 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004504/0.5866, allocations: 1.004 MB / 1.022 GB, free: 3.441 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006921/0.5936, allocations: 282.5 kB / 1.022 GB, free: 3.164 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003383/0.594, allocations: 55.95 kB / 1.022 GB, free: 3.109 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/0.594, allocations: 4 kB / 1.022 GB, free: 3.105 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0353/0.6294, allocations: 1.994 MB / 1.024 GB, free: 1.105 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.577e-05/0.6295, allocations: 4.5 kB / 1.024 GB, free: 1.102 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004367/0.6338, allocations: 483.6 kB / 1.024 GB, free: 0.6289 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004324/0.6382, allocations: 263.6 kB / 1.025 GB, free: 380 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004805/0.6431, allocations: 0.9962 MB / 1.026 GB, free: 15.35 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00628/0.6494, allocations: 257.2 kB / 1.026 GB, free: 15.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003301/0.6498, allocations: 55.94 kB / 1.026 GB, free: 15.05 MB / 0.6823 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.001509/0.6513, allocations: 444.8 kB / 1.026 GB, free: 14.6 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006508/0.652, allocations: 146.2 kB / 1.027 GB, free: 14.46 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009737/0.6617, allocations: 1.33 MB / 1.028 GB, free: 13.11 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007447/0.6692, allocations: 1.143 MB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.173e-05/0.6693, allocations: 3.984 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001248/0.6706, allocations: 386.9 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003891/0.671, allocations: 12 kB / 1.029 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003422/0.6744, allocations: 147.8 kB / 1.029 GB, free: 11.38 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002024/0.6746, allocations: 48.48 kB / 1.029 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01279/0.6875, allocations: 1.479 MB / 1.031 GB, free: 9.836 MB / 0.6823 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.01025/0.6978, allocations: 1.777 MB / 1.033 GB, free: 8.047 MB / 0.6823 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.003056/0.7009, allocations: 464.2 kB / 1.033 GB, free: 7.594 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002586/0.7035, allocations: 0.9416 MB / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of Backend: time 5.81e-07/0.7035, allocations: 0 / 1.034 GB, free: 6.652 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.01277/0.7163, allocations: 2.207 MB / 1.036 GB, free: 4.453 MB / 0.6823 GB Notification: Performance of SimCode: time 0.01175/0.7281, allocations: 3.961 MB / 1.04 GB, free: 460 kB / 0.6823 GB Notification: Performance of Templates: time 0.6617/1.39, allocations: 41.68 MB / 1.081 GB, free: 140.2 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)