Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.00138/0.00138, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001671/0.001671, allocations: 192.5 kB / 16.25 MB, free: 6.637 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.362/1.362, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9562/0.9562, allocations: 135.2 MB / 425.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 64.36 kB / 0.5049 GB, free: 5.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1512, allocations: 80.94 MB / 0.5839 GB, free: 4.852 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.293/0.4443, allocations: 69.29 MB / 0.6516 GB, free: 11.22 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01483/0.4591, allocations: 14.24 MB / 0.6655 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002308/0.4615, allocations: 68.81 kB / 0.6656 GB, free: 0.9844 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002041/0.4636, allocations: 0.787 MB / 0.6663 GB, free: 0.5312 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006728/0.4703, allocations: 2.373 MB / 0.6687 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005596/0.4759, allocations: 1.814 MB / 0.6704 GB, free: 14.07 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008421/0.4843, allocations: 4.705 MB / 0.675 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003443/0.4878, allocations: 1.61 MB / 0.6766 GB, free: 10.93 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005465/0.4933, allocations: 1.784 MB / 0.6783 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002792/0.4961, allocations: 1.313 MB / 0.6796 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004998/0.4966, allocations: 197.4 kB / 0.6798 GB, free: 9.422 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004573/0.5012, allocations: 1.942 MB / 0.6817 GB, free: 8.754 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005735/0.5018, allocations: 476.6 kB / 0.6822 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001531/0.5034, allocations: 1.024 MB / 0.6832 GB, free: 7.812 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.005459/0.5088, allocations: 3.508 MB / 0.6866 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.5089, allocations: 0 / 0.6866 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.433e-06/0.5089, allocations: 1.156 kB / 0.6866 GB, free: 6.512 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.772e-05/0.5089, allocations: 4 kB / 0.6866 GB, free: 6.508 MB / 0.5137 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.004713/0.5136, allocations: 2.299 MB / 0.6888 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.5137, allocations: 8.812 kB / 0.6888 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00606/0.5197, allocations: 0.6958 MB / 0.6895 GB, free: 4.887 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003209/0.523, allocations: 1.562 MB / 0.6911 GB, free: 3.91 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001787/0.5232, allocations: 128.1 kB / 0.6912 GB, free: 3.836 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002809/0.5235, allocations: 117.5 kB / 0.6913 GB, free: 3.801 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00448/0.528, allocations: 1.634 MB / 0.6929 GB, free: 3.062 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.573e-05/0.528, allocations: 5.25 kB / 0.6929 GB, free: 3.059 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001887/0.5282, allocations: 61.39 kB / 0.6929 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.183e-05/0.5283, allocations: 33.05 kB / 0.693 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005077/0.5334, allocations: 1.456 MB / 0.6944 GB, free: 2.527 MB / 0.5137 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.01277/0.5462, allocations: 6.995 MB / 0.7012 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002391/0.5486, allocations: 0.7348 MB / 0.702 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001687/0.5503, allocations: 497.7 kB / 0.7024 GB, free: 13.17 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001431/0.5518, allocations: 1.265 MB / 0.7037 GB, free: 11.74 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.449e-05/0.5518, allocations: 47.66 kB / 0.7037 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 4.217e-06/0.5518, allocations: 4 kB / 0.7037 GB, free: 11.69 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.02185/0.5737, allocations: 3.015 MB / 0.7067 GB, free: 10.43 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.634e-05/0.5738, allocations: 114.1 kB / 0.7068 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002952/0.5768, allocations: 1.363 MB / 0.7081 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002479/0.577, allocations: 44.45 kB / 0.7081 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007082/0.5778, allocations: 0.6935 MB / 0.7088 GB, free: 8.895 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003666/0.5781, allocations: 239 kB / 0.709 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004685/0.5786, allocations: 233.5 kB / 0.7093 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.5788, allocations: 342 kB / 0.7096 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.5808, allocations: 0.5054 MB / 0.7101 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002224/0.583, allocations: 0.7763 MB / 0.7108 GB, free: 7.367 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003836/0.5869, allocations: 1.137 MB / 0.712 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/0.5869, allocations: 5.391 kB / 0.712 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005628/0.5926, allocations: 1.556 MB / 0.7135 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.378e-05/0.5926, allocations: 7.438 kB / 0.7135 GB, free: 5.844 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.511e-05/0.5926, allocations: 10.94 kB / 0.7135 GB, free: 5.84 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/0.5944, allocations: 484.8 kB / 0.714 GB, free: 5.641 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001429/0.5959, allocations: 263.9 kB / 0.7142 GB, free: 5.551 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001722/0.5976, allocations: 0.9917 MB / 0.7152 GB, free: 4.781 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002812/0.6004, allocations: 270.2 kB / 0.7154 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00018/0.6006, allocations: 55.58 kB / 0.7155 GB, free: 4.613 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002592/0.6032, allocations: 0.8029 MB / 0.7163 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002222/0.6055, allocations: 0.7806 MB / 0.717 GB, free: 3.547 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003855/0.6093, allocations: 1.128 MB / 0.7181 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.987e-06/0.6094, allocations: 4 kB / 0.7181 GB, free: 2.715 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005626/0.615, allocations: 1.551 MB / 0.7197 GB, free: 1.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.273e-05/0.6151, allocations: 10.22 kB / 0.7197 GB, free: 1.141 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.059e-05/0.6151, allocations: 8 kB / 0.7197 GB, free: 1.133 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001699/0.6168, allocations: 483.8 kB / 0.7201 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001455/0.6183, allocations: 255.6 kB / 0.7204 GB, free: 420 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00171/0.62, allocations: 0.9997 MB / 0.7214 GB, free: 15.39 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002928/0.6229, allocations: 224 kB / 0.7216 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001758/0.6231, allocations: 55.95 kB / 0.7216 GB, free: 15.11 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.0005166/0.6236, allocations: 236.1 kB / 0.7218 GB, free: 14.88 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007584/0.6244, allocations: 150.2 kB / 0.722 GB, free: 14.73 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/0.6293, allocations: 1.302 MB / 0.7233 GB, free: 13.41 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.048e-05/0.6294, allocations: 8 kB / 0.7233 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/0.6294, allocations: 0 / 0.7233 GB, free: 13.4 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003774/0.6332, allocations: 1.112 MB / 0.7244 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009193/0.6424, allocations: 3.042 MB / 0.7273 GB, free: 9.086 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.582e-05/0.6424, allocations: 11.92 kB / 0.7273 GB, free: 9.074 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009535/0.6434, allocations: 147.8 kB / 0.7275 GB, free: 8.93 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/0.6451, allocations: 474.2 kB / 0.7279 GB, free: 8.465 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.273e-05/0.6452, allocations: 27.97 kB / 0.728 GB, free: 8.438 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.6468, allocations: 0.9888 MB / 0.7289 GB, free: 7.426 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.6468, allocations: 11.94 kB / 0.7289 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006249/0.6531, allocations: 1.916 MB / 0.7308 GB, free: 5.426 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009576/0.6541, allocations: 359 kB / 0.7311 GB, free: 5.055 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000439/0.6545, allocations: 16 kB / 0.7312 GB, free: 5.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002026/0.6566, allocations: 151.8 kB / 0.7313 GB, free: 4.891 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.6567, allocations: 56.25 kB / 0.7314 GB, free: 4.836 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001169/0.6568, allocations: 43.94 kB / 0.7314 GB, free: 4.793 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001643/0.6585, allocations: 0.9777 MB / 0.7324 GB, free: 3.816 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6585, allocations: 0 / 0.7324 GB, free: 3.816 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002875/0.6614, allocations: 0.8967 MB / 0.7332 GB, free: 2.918 MB / 0.545 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.001583/0.663, allocations: 0.5509 MB / 0.7338 GB, free: 2.375 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006799/0.6698, allocations: 1.853 MB / 0.7356 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.297e-06/0.6698, allocations: 0 / 0.7356 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001943/0.6718, allocations: 0.5181 MB / 0.7361 GB, free: 4 kB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004644/0.6764, allocations: 0.8262 MB / 0.7369 GB, free: 15.22 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006533/0.683, allocations: 3.207 MB / 0.74 GB, free: 11.93 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009801/0.684, allocations: 1.214 MB / 0.7412 GB, free: 10.68 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002071/0.6861, allocations: 370.5 kB / 0.7416 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003911/0.6865, allocations: 127.3 kB / 0.7417 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.6865, allocations: 0 / 0.7417 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of Templates: time 0.06256/0.749, allocations: 38.67 MB / 0.7795 GB, free: 3.945 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)