Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.661/1.661, allocations: 292.3 MB / 308.1 MB, free: 4.273 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001293/0.001293, allocations: 193.1 kB / 376.9 MB, free: 1.816 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.585/1.585, allocations: 205 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001091/0.001091, allocations: 98.28 kB / 0.748 GB, free: 61.06 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.001744/0.001744, allocations: 51.92 kB / 0.8704 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3244/0.3262, allocations: 114.5 MB / 0.9822 GB, free: 10.4 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.4808/0.807, allocations: 69.45 MB / 1.05 GB, free: 68.39 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.8269, allocations: 14.46 MB / 1.064 GB, free: 61.52 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003314/0.8303, allocations: 66.56 kB / 1.064 GB, free: 61.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003033/0.8334, allocations: 0.7533 MB / 1.065 GB, free: 61.06 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.008577/0.842, allocations: 2.323 MB / 1.067 GB, free: 59.67 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.005458/0.8475, allocations: 1.784 MB / 1.069 GB, free: 58.63 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.006972/0.8545, allocations: 5.915 MB / 1.075 GB, free: 56.32 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002189/0.8567, allocations: 1.319 MB / 1.076 GB, free: 55.8 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002915/0.8596, allocations: 1.488 MB / 1.077 GB, free: 55.16 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001735/0.8614, allocations: 1.246 MB / 1.079 GB, free: 54.62 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.8616, allocations: 87.03 kB / 1.079 GB, free: 54.62 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003843/0.8655, allocations: 1.761 MB / 1.08 GB, free: 54.03 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003322/0.8658, allocations: 361.6 kB / 1.081 GB, free: 53.84 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00103/0.8668, allocations: 0.9141 MB / 1.082 GB, free: 53.31 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.004559/0.8714, allocations: 3.418 MB / 1.085 GB, free: 52.07 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8714, allocations: 0 / 1.085 GB, free: 52.07 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.313e-06/0.8714, allocations: 0 / 1.085 GB, free: 52.07 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.22e-05/0.8715, allocations: 0 / 1.085 GB, free: 52.07 MB / 0.7448 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.003759/0.8752, allocations: 2.302 MB / 1.087 GB, free: 50.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.909e-05/0.8753, allocations: 9 kB / 1.087 GB, free: 50.57 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005052/0.8803, allocations: 0.6924 MB / 1.088 GB, free: 50.45 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00254/0.8829, allocations: 1.546 MB / 1.09 GB, free: 49.49 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001227/0.883, allocations: 133.2 kB / 1.09 GB, free: 49.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001849/0.8832, allocations: 122.8 kB / 1.09 GB, free: 49.37 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003445/0.8867, allocations: 1.634 MB / 1.091 GB, free: 48.63 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.869e-05/0.8867, allocations: 3.031 kB / 1.091 GB, free: 48.63 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001191/0.8869, allocations: 49.03 kB / 1.091 GB, free: 48.6 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.8869, allocations: 43.81 kB / 1.091 GB, free: 48.59 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004142/0.8911, allocations: 1.45 MB / 1.093 GB, free: 48.11 MB / 0.7448 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.008927/0.9, allocations: 7.011 MB / 1.1 GB, free: 43.18 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002008/0.902, allocations: 0.7327 MB / 1.1 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001482/0.9035, allocations: 499.1 kB / 1.101 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001015/0.9046, allocations: 1.267 MB / 1.102 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.048e-05/0.9046, allocations: 46.5 kB / 1.102 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=68): time 3.416e-06/0.9046, allocations: 0 / 1.102 GB, free: 41.27 MB / 0.7448 GB Notification: Performance of matching and sorting (n=68): time 0.02019/0.9248, allocations: 3.008 MB / 1.105 GB, free: 40.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/0.9249, allocations: 115.9 kB / 1.105 GB, free: 40.43 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002561/0.9275, allocations: 1.358 MB / 1.107 GB, free: 39.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002366/0.9277, allocations: 46.58 kB / 1.107 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005166/0.9283, allocations: 0.6917 MB / 1.107 GB, free: 39.29 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002713/0.9285, allocations: 243.2 kB / 1.108 GB, free: 39.1 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000372/0.9289, allocations: 232.5 kB / 1.108 GB, free: 39 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.202e-05/0.929, allocations: 350.5 kB / 1.108 GB, free: 38.67 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001801/0.9308, allocations: 0.5101 MB / 1.109 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002051/0.9329, allocations: 0.7771 MB / 1.109 GB, free: 38.03 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003411/0.9363, allocations: 1.138 MB / 1.11 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.676e-06/0.9363, allocations: 0 / 1.11 GB, free: 37.43 MB / 0.7448 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005086/0.9414, allocations: 1.559 MB / 1.112 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.45e-05/0.9414, allocations: 6.312 kB / 1.112 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.973e-05/0.9415, allocations: 6.156 kB / 1.112 GB, free: 36.86 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001708/0.9432, allocations: 492.5 kB / 1.112 GB, free: 36.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001296/0.9445, allocations: 255.2 kB / 1.113 GB, free: 36.72 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001545/0.9461, allocations: 1 MB / 1.114 GB, free: 35.99 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002667/0.9487, allocations: 269.5 kB / 1.114 GB, free: 35.9 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000163/0.9489, allocations: 60.95 kB / 1.114 GB, free: 35.89 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002367/0.9513, allocations: 0.7935 MB / 1.115 GB, free: 35.53 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002025/0.9533, allocations: 0.7751 MB / 1.116 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003462/0.9568, allocations: 1.137 MB / 1.117 GB, free: 34.45 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.055e-06/0.9568, allocations: 3.125 kB / 1.117 GB, free: 34.45 MB / 0.7448 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005299/0.9621, allocations: 1.555 MB / 1.118 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.998e-05/0.9622, allocations: 6.375 kB / 1.118 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.9622, allocations: 7.812 kB / 1.118 GB, free: 33.89 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001587/0.9638, allocations: 490.8 kB / 1.119 GB, free: 33.76 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/0.9651, allocations: 254.7 kB / 1.119 GB, free: 33.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001482/0.9666, allocations: 0.9944 MB / 1.12 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002625/0.9693, allocations: 233.1 kB / 1.12 GB, free: 32.96 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.9694, allocations: 52.73 kB / 1.12 GB, free: 32.95 MB / 0.7448 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.0004256/0.9699, allocations: 247.9 kB / 1.12 GB, free: 32.72 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005829/0.9704, allocations: 148 kB / 1.12 GB, free: 32.65 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004196/0.9747, allocations: 1.297 MB / 1.122 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.9747, allocations: 6.5 kB / 1.122 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.9747, allocations: 4 kB / 1.122 GB, free: 32.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003455/0.9782, allocations: 1.111 MB / 1.123 GB, free: 31.68 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007654/0.9858, allocations: 3.034 MB / 1.126 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/0.9859, allocations: 6.094 kB / 1.126 GB, free: 30.21 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000866/0.9868, allocations: 149.9 kB / 1.126 GB, free: 30.2 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001555/0.9883, allocations: 476.6 kB / 1.126 GB, free: 30.08 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.737e-05/0.9884, allocations: 27.56 kB / 1.126 GB, free: 30.07 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.9899, allocations: 0.9875 MB / 1.127 GB, free: 29.35 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.9899, allocations: 10.31 kB / 1.127 GB, free: 29.35 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1521/1.142, allocations: 24.48 MB / 1.151 GB, free: 17.86 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008891/1.143, allocations: 360.2 kB / 1.152 GB, free: 17.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/1.143, allocations: 24.88 kB / 1.152 GB, free: 17.59 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001963/1.145, allocations: 139.5 kB / 1.152 GB, free: 17.57 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001546/1.146, allocations: 60.05 kB / 1.152 GB, free: 17.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001507/1.146, allocations: 47.72 kB / 1.152 GB, free: 17.55 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.001918/1.148, allocations: 0.9705 MB / 1.153 GB, free: 17.16 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.51e-07/1.148, allocations: 0 / 1.153 GB, free: 17.16 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.005649/1.153, allocations: 1.471 MB / 1.154 GB, free: 16.9 MB / 0.7448 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.001984/1.155, allocations: 0.6664 MB / 1.155 GB, free: 16.61 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.006758/1.162, allocations: 1.817 MB / 1.157 GB, free: 16.06 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.268e-05/1.162, allocations: 1.938 kB / 1.157 GB, free: 16.06 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.00194/1.164, allocations: 0.5197 MB / 1.157 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004929/1.169, allocations: 0.788 MB / 1.158 GB, free: 15.69 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0075/1.177, allocations: 3.86 MB / 1.162 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001244/1.178, allocations: 1.231 MB / 1.163 GB, free: 12.45 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.00237/1.18, allocations: 376.5 kB / 1.163 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004222/1.181, allocations: 133.8 kB / 1.163 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of SimCode: time 8.22e-07/1.181, allocations: 1.375 kB / 1.163 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of Templates: time 0.07346/1.254, allocations: 48.19 MB / 1.211 GB, free: 11.34 MB / 0.7761 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)