Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.00103/0.00103, allocations: 89.66 kB / 15.36 MB, free: 0.7383 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.008272/0.008272, allocations: 171.4 kB / 16.26 MB, free: 6.613 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001699/0.001699, allocations: 275 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9531/0.9531, allocations: 169.5 MB / 0.5004 GB, free: 14.11 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004173/0.0004173, allocations: 15.48 kB / 0.5986 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1515, allocations: 88.55 MB / 0.6851 GB, free: 15.09 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06352/0.215, allocations: 68.21 MB / 0.7517 GB, free: 10.68 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.328/0.5431, allocations: 14.36 MB / 0.7657 GB, free: 23.96 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.5453, allocations: 64.59 kB / 0.7658 GB, free: 23.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002153/0.5475, allocations: 0.7556 MB / 0.7665 GB, free: 23.96 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005974/0.5535, allocations: 2.345 MB / 0.7688 GB, free: 23.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.004348/0.5578, allocations: 1.78 MB / 0.7706 GB, free: 23.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006719/0.5645, allocations: 5.919 MB / 0.7764 GB, free: 23.81 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002046/0.5666, allocations: 1.287 MB / 0.7776 GB, free: 23.66 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003184/0.5698, allocations: 1.431 MB / 0.779 GB, free: 23.64 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001859/0.5717, allocations: 1.189 MB / 0.7802 GB, free: 23.5 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002037/0.5719, allocations: 66.09 kB / 0.7802 GB, free: 23.5 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003617/0.5755, allocations: 1.741 MB / 0.7819 GB, free: 23.37 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003705/0.5759, allocations: 331.6 kB / 0.7822 GB, free: 23.29 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001321/0.5772, allocations: 0.8984 MB / 0.7831 GB, free: 22.99 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.004791/0.582, allocations: 3.349 MB / 0.7864 GB, free: 22.58 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.5821, allocations: 0 / 0.7864 GB, free: 22.58 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.214e-06/0.5821, allocations: 0 / 0.7864 GB, free: 22.58 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.986e-05/0.5821, allocations: 0 / 0.7864 GB, free: 22.58 MB / 0.545 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.003768/0.5859, allocations: 1.93 MB / 0.7883 GB, free: 21.47 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.58e-05/0.586, allocations: 13.88 kB / 0.7883 GB, free: 21.46 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00584/0.5918, allocations: 0.7366 MB / 0.789 GB, free: 21.34 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00358/0.5954, allocations: 1.558 MB / 0.7905 GB, free: 20.91 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001319/0.5956, allocations: 133.4 kB / 0.7907 GB, free: 20.87 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.5958, allocations: 126.6 kB / 0.7908 GB, free: 20.87 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004052/0.5998, allocations: 1.653 MB / 0.7924 GB, free: 20.61 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.493e-05/0.5999, allocations: 6 kB / 0.7924 GB, free: 20.6 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001459/0.6001, allocations: 51.84 kB / 0.7925 GB, free: 20.6 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.992e-05/0.6001, allocations: 36.03 kB / 0.7925 GB, free: 20.6 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004707/0.6048, allocations: 1.493 MB / 0.7939 GB, free: 20.55 MB / 0.545 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.009756/0.6146, allocations: 7.024 MB / 0.8008 GB, free: 16.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002308/0.6169, allocations: 0.7516 MB / 0.8015 GB, free: 15.71 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001669/0.6186, allocations: 0.5112 MB / 0.802 GB, free: 15.46 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001107/0.6198, allocations: 1.268 MB / 0.8033 GB, free: 14 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.153e-05/0.6198, allocations: 48.61 kB / 0.8033 GB, free: 13.95 MB / 0.545 GB Notification: Performance of pre-optimization done (n=68): time 3.707e-06/0.6198, allocations: 0 / 0.8033 GB, free: 13.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=68): time 0.02051/0.6404, allocations: 3.123 MB / 0.8064 GB, free: 12.43 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.6404, allocations: 109.8 kB / 0.8065 GB, free: 12.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002011/0.6424, allocations: 1.366 MB / 0.8078 GB, free: 11.55 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001625/0.6426, allocations: 45.44 kB / 0.8079 GB, free: 11.5 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004362/0.6431, allocations: 0.6949 MB / 0.8085 GB, free: 10.89 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.000187/0.6433, allocations: 240.7 kB / 0.8088 GB, free: 10.69 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001101/0.6434, allocations: 73.19 kB / 0.8088 GB, free: 10.64 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.476e-05/0.6434, allocations: 347.3 kB / 0.8092 GB, free: 10.3 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001795/0.6452, allocations: 0.5146 MB / 0.8097 GB, free: 10.05 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.6472, allocations: 0.7958 MB / 0.8104 GB, free: 9.469 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003392/0.6506, allocations: 1.174 MB / 0.8116 GB, free: 8.742 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.251e-06/0.6506, allocations: 6.906 kB / 0.8116 GB, free: 8.738 MB / 0.545 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005014/0.6556, allocations: 1.602 MB / 0.8132 GB, free: 7.945 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001343/0.6558, allocations: 273 kB / 0.8134 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.439e-05/0.6558, allocations: 5.875 kB / 0.8134 GB, free: 7.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001694/0.6575, allocations: 497.6 kB / 0.8139 GB, free: 7.402 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.6589, allocations: 273.8 kB / 0.8142 GB, free: 7.309 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001527/0.6604, allocations: 0.9933 MB / 0.8151 GB, free: 6.543 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003056/0.6635, allocations: 277.4 kB / 0.8154 GB, free: 6.398 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000177/0.6637, allocations: 59.31 kB / 0.8155 GB, free: 6.371 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.729e-05/0.6637, allocations: 6.406 kB / 0.8155 GB, free: 6.371 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005036/0.6687, allocations: 1.436 MB / 0.8169 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.6688, allocations: 7.188 kB / 0.8169 GB, free: 5.676 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/0.6704, allocations: 493.8 kB / 0.8173 GB, free: 5.473 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/0.6717, allocations: 264.2 kB / 0.8176 GB, free: 5.387 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.6733, allocations: 0.9908 MB / 0.8186 GB, free: 4.625 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002379/0.6757, allocations: 248.9 kB / 0.8188 GB, free: 4.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.6758, allocations: 54.8 kB / 0.8188 GB, free: 4.477 MB / 0.545 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.0007849/0.6766, allocations: 462.5 kB / 0.8193 GB, free: 4.113 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002758/0.6769, allocations: 147.1 kB / 0.8194 GB, free: 4.035 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/0.6809, allocations: 1.341 MB / 0.8207 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.096e-05/0.6809, allocations: 5.781 kB / 0.8207 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/0.6809, allocations: 2.5 kB / 0.8207 GB, free: 3.293 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003411/0.6843, allocations: 1.151 MB / 0.8219 GB, free: 2.645 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006792/0.6911, allocations: 3.087 MB / 0.8249 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.053e-06/0.6912, allocations: 3.812 kB / 0.8249 GB, free: 0.5078 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008781/0.692, allocations: 154.4 kB / 0.825 GB, free: 468 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/0.6936, allocations: 486.4 kB / 0.8255 GB, free: 260 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.928e-05/0.6937, allocations: 25.88 kB / 0.8255 GB, free: 244 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001543/0.6952, allocations: 1.001 MB / 0.8265 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6952, allocations: 5.906 kB / 0.8265 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006073/0.7013, allocations: 1.973 MB / 0.8284 GB, free: 13.43 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008986/0.7022, allocations: 394.9 kB / 0.8288 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002129/0.7024, allocations: 23.94 kB / 0.8288 GB, free: 13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001757/0.7042, allocations: 159.7 kB / 0.829 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000118/0.7043, allocations: 64.23 kB / 0.829 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.099e-05/0.7044, allocations: 47.95 kB / 0.8291 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001619/0.7061, allocations: 0.9777 MB / 0.83 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.194e-06/0.7061, allocations: 0 / 0.83 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002621/0.7087, allocations: 0.8929 MB / 0.8309 GB, free: 10.86 MB / 0.5606 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 (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 Backend phase and start with SimCode phase: time 0.00125/0.71, allocations: 0.5458 MB / 0.8315 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006493/0.7165, allocations: 1.873 MB / 0.8333 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.364e-06/0.7165, allocations: 0 / 0.8333 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002748/0.7193, allocations: 0.5298 MB / 0.8338 GB, free: 7.957 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007971/0.7273, allocations: 0.8055 MB / 0.8346 GB, free: 7.168 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009635/0.7369, allocations: 3.3 MB / 0.8378 GB, free: 3.785 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001193/0.7382, allocations: 1.211 MB / 0.839 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003184/0.7414, allocations: 365.1 kB / 0.8393 GB, free: 2.199 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005311/0.7419, allocations: 139.3 kB / 0.8395 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of SimCode: time 9.71e-07/0.742, allocations: 0 / 0.8395 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of Templates: time 0.07869/0.8207, allocations: 38.2 MB / 0.8768 GB, free: 12.45 MB / 0.6075 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)