Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP|heaPum.com.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heaPum.sta_a2.T|heaPum.sta_b2.T|heaPum.com.port_a.T|heaPum.sta_a1.T|heaPum.sta_b1.T|heaPum.com.port_b.T|heaPum.QCon_flow|heaPum.QEva_flow|heaPum.P|heaPum.com.COP|heaPum.com.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001503/0.001503, allocations: 114.2 kB / 16.38 MB, free: 6.484 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001499/0.001499, allocations: 190.6 kB / 17.32 MB, free: 5.82 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.437/2.437, allocations: 442.6 MB / 0.7166 GB, free: 14.6 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001295/0.001295, allocations: 69.52 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2684/0.2697, allocations: 153 MB / 1.027 GB, free: 2.035 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.5304/0.8002, allocations: 69.92 MB / 1.095 GB, free: 19.91 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.8185, allocations: 14.39 MB / 1.109 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002804/0.8214, allocations: 70.81 kB / 1.109 GB, free: 15.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.00237/0.8238, allocations: 0.9149 MB / 1.11 GB, free: 14.53 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.007125/0.8309, allocations: 2.555 MB / 1.113 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00513/0.8361, allocations: 1.978 MB / 1.114 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.006417/0.8425, allocations: 4.683 MB / 1.119 GB, free: 9.547 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002332/0.8448, allocations: 1.625 MB / 1.121 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00394/0.8488, allocations: 1.77 MB / 1.122 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.8508, allocations: 1.267 MB / 1.124 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0003584/0.8512, allocations: 196.8 kB / 1.124 GB, free: 7.273 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005303/0.8565, allocations: 1.979 MB / 1.126 GB, free: 6.598 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.0008499/0.8574, allocations: 472.9 kB / 1.126 GB, free: 6.293 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.001664/0.859, allocations: 1.018 MB / 1.127 GB, free: 5.656 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.006469/0.8655, allocations: 3.519 MB / 1.131 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 4.909e-06/0.8656, allocations: 0 / 1.131 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.804e-06/0.8656, allocations: 0 / 1.131 GB, free: 4.34 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.98e-05/0.8656, allocations: 0 / 1.131 GB, free: 4.34 MB / 0.8419 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.004244/0.8699, allocations: 2.282 MB / 1.133 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.301e-05/0.8699, allocations: 9.688 kB / 1.133 GB, free: 2.852 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005483/0.8754, allocations: 0.6961 MB / 1.134 GB, free: 2.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002469/0.8779, allocations: 1.587 MB / 1.135 GB, free: 1.766 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.878, allocations: 128.3 kB / 1.135 GB, free: 1.691 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/0.8782, allocations: 120.1 kB / 1.135 GB, free: 1.652 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003634/0.8819, allocations: 1.63 MB / 1.137 GB, free: 0.9141 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.277e-05/0.8819, allocations: 9.219 kB / 1.137 GB, free: 0.9062 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001403/0.8821, allocations: 57.27 kB / 1.137 GB, free: 0.8633 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.499e-05/0.8821, allocations: 38.66 kB / 1.137 GB, free: 0.8594 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004553/0.8867, allocations: 1.458 MB / 1.138 GB, free: 380 kB / 0.8419 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.009827/0.8965, allocations: 6.994 MB / 1.145 GB, free: 11.2 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002247/0.8988, allocations: 0.7473 MB / 1.146 GB, free: 10.81 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001659/0.9005, allocations: 496.7 kB / 1.146 GB, free: 10.57 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/0.9018, allocations: 1.266 MB / 1.148 GB, free: 9.109 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.9019, allocations: 44.58 kB / 1.148 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=68): time 3.146e-06/0.9019, allocations: 0 / 1.148 GB, free: 9.062 MB / 0.8575 GB Notification: Performance of matching and sorting (n=68): time 0.02048/0.9224, allocations: 3.022 MB / 1.151 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.314e-05/0.9224, allocations: 114.1 kB / 1.151 GB, free: 7.395 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.9247, allocations: 1.374 MB / 1.152 GB, free: 6.641 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 0.0001606/0.9249, allocations: 45.08 kB / 1.152 GB, free: 6.598 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006384/0.9256, allocations: 0.6922 MB / 1.153 GB, free: 5.984 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002712/0.9258, allocations: 242.4 kB / 1.153 GB, free: 5.773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003973/0.9262, allocations: 231.4 kB / 1.153 GB, free: 5.629 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000125/0.9264, allocations: 346.1 kB / 1.154 GB, free: 5.293 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001968/0.9284, allocations: 0.5015 MB / 1.154 GB, free: 5.043 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002215/0.9306, allocations: 0.7779 MB / 1.155 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003781/0.9344, allocations: 1.137 MB / 1.156 GB, free: 3.723 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.947e-06/0.9344, allocations: 5.062 kB / 1.156 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005432/0.9398, allocations: 1.564 MB / 1.158 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.208e-05/0.9399, allocations: 9.281 kB / 1.158 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.9399, allocations: 7.312 kB / 1.158 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.9417, allocations: 486.1 kB / 1.158 GB, free: 2.719 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001394/0.9431, allocations: 257.2 kB / 1.158 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.9448, allocations: 0.9851 MB / 1.159 GB, free: 1.871 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002539/0.9474, allocations: 222.4 kB / 1.159 GB, free: 1.746 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.9475, allocations: 53.8 kB / 1.159 GB, free: 1.727 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002529/0.9501, allocations: 0.8026 MB / 1.16 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002174/0.9522, allocations: 0.7807 MB / 1.161 GB, free: 0.6641 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00386/0.9561, allocations: 1.126 MB / 1.162 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.849e-06/0.9561, allocations: 6.422 kB / 1.162 GB, free: 15.94 MB / 0.8731 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005357/0.9615, allocations: 1.563 MB / 1.164 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.9615, allocations: 7.562 kB / 1.164 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.9616, allocations: 5.562 kB / 1.164 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001649/0.9632, allocations: 488.5 kB / 1.164 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001359/0.9646, allocations: 260.7 kB / 1.164 GB, free: 14.85 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001595/0.9662, allocations: 0.9863 MB / 1.165 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002421/0.9686, allocations: 193.5 kB / 1.166 GB, free: 13.98 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.9688, allocations: 59.44 kB / 1.166 GB, free: 13.95 MB / 0.8731 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 (heaPum.com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.000418/0.9692, allocations: 240.1 kB / 1.166 GB, free: 13.73 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003723/0.9696, allocations: 148.5 kB / 1.166 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004459/0.974, allocations: 1.312 MB / 1.167 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003769/0.9778, allocations: 1.105 MB / 1.168 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/0.9778, allocations: 0 / 1.168 GB, free: 12.26 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009338/0.9788, allocations: 350 kB / 1.169 GB, free: 11.96 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004495/0.9792, allocations: 11.22 kB / 1.169 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001744/0.981, allocations: 111.5 kB / 1.169 GB, free: 11.9 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001308/0.9811, allocations: 47.62 kB / 1.169 GB, free: 11.87 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.006571/0.9877, allocations: 1.418 MB / 1.17 GB, free: 11.12 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005518/0.9933, allocations: 1.733 MB / 1.172 GB, free: 10.13 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001652/0.9949, allocations: 444 kB / 1.172 GB, free: 9.918 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001755/0.9967, allocations: 0.976 MB / 1.173 GB, free: 9.305 MB / 0.8731 GB Notification: Performance of Backend: time 5.41e-07/0.9967, allocations: 3.938 kB / 1.173 GB, free: 9.301 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00838/1.005, allocations: 2.138 MB / 1.175 GB, free: 7.172 MB / 0.8731 GB Notification: Performance of SimCode: time 0.006628/1.012, allocations: 3.473 MB / 1.179 GB, free: 3.66 MB / 0.8731 GB Notification: Performance of Templates: time 0.06464/1.076, allocations: 44.71 MB / 1.222 GB, free: 7.312 MB / 0.92 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)