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.001147/0.001148, allocations: 102.2 kB / 16.35 MB, free: 5.887 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.001151/0.001151, allocations: 189.8 kB / 17.29 MB, free: 5.527 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.25/1.25, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.778/0.778, allocations: 135.1 MB / 426.3 MB, free: 4.184 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001319/0.001319, allocations: 59.91 kB / 0.5067 GB, free: 7.734 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3332, allocations: 80.93 MB / 0.5858 GB, free: 25.65 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.05492/0.3881, allocations: 69.9 MB / 0.654 GB, free: 4.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01904/0.4072, allocations: 14.35 MB / 0.668 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.4095, allocations: 75.56 kB / 0.6681 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002522/0.412, allocations: 0.9121 MB / 0.669 GB, free: 5.129 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006542/0.4186, allocations: 2.546 MB / 0.6715 GB, free: 2.574 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004602/0.4232, allocations: 1.968 MB / 0.6734 GB, free: 0.6289 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00607/0.4293, allocations: 4.686 MB / 0.678 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002164/0.4315, allocations: 1.61 MB / 0.6796 GB, free: 10.29 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003572/0.4351, allocations: 1.784 MB / 0.6813 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001986/0.4371, allocations: 1.268 MB / 0.6825 GB, free: 7.234 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002629/0.4373, allocations: 200 kB / 0.6827 GB, free: 7.039 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004082/0.4414, allocations: 1.982 MB / 0.6847 GB, free: 5.059 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000424/0.4419, allocations: 474.4 kB / 0.6851 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001046/0.4429, allocations: 1.011 MB / 0.6861 GB, free: 3.578 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004611/0.4475, allocations: 3.519 MB / 0.6895 GB, free: 52 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.4476, allocations: 0 / 0.6895 GB, free: 52 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.322e-06/0.4476, allocations: 0 / 0.6895 GB, free: 52 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.439e-05/0.4476, allocations: 4 kB / 0.6895 GB, free: 48 kB / 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.004052/0.4517, allocations: 2.29 MB / 0.6918 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.663e-05/0.4517, allocations: 13.11 kB / 0.6918 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005527/0.4572, allocations: 0.6931 MB / 0.6925 GB, free: 12.98 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.46, allocations: 1.586 MB / 0.694 GB, free: 11.34 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001386/0.4602, allocations: 135.9 kB / 0.6941 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002031/0.4604, allocations: 123.9 kB / 0.6943 GB, free: 11.08 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003657/0.4641, allocations: 1.629 MB / 0.6959 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.614e-05/0.4641, allocations: 0 / 0.6959 GB, free: 9.359 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001402/0.4642, allocations: 56 kB / 0.6959 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.331e-05/0.4643, allocations: 35.98 kB / 0.6959 GB, free: 9.27 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004556/0.4689, allocations: 1.46 MB / 0.6974 GB, free: 7.801 MB / 0.5294 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.009493/0.4784, allocations: 6.983 MB / 0.7042 GB, free: 484 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002156/0.4805, allocations: 0.7482 MB / 0.7049 GB, free: 15.72 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001545/0.4821, allocations: 0.4904 MB / 0.7054 GB, free: 15.22 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001215/0.4833, allocations: 1.263 MB / 0.7066 GB, free: 13.68 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.572e-05/0.4834, allocations: 47.11 kB / 0.7067 GB, free: 13.63 MB / 0.545 GB Notification: Performance of pre-optimization done (n=68): time 2.374e-06/0.4834, allocations: 0 / 0.7067 GB, free: 13.63 MB / 0.545 GB Notification: Performance of matching and sorting (n=68): time 0.01782/0.5012, allocations: 3.008 MB / 0.7096 GB, free: 10.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.119e-05/0.5013, allocations: 115.4 kB / 0.7097 GB, free: 10.45 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001862/0.5031, allocations: 1.374 MB / 0.7111 GB, free: 9.066 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.27e-05/0.5032, allocations: 41.7 kB / 0.7111 GB, free: 9.02 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005503/0.5038, allocations: 0.6918 MB / 0.7118 GB, free: 8.32 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002032/0.504, allocations: 248.5 kB / 0.712 GB, free: 8.074 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003523/0.5044, allocations: 230.3 kB / 0.7122 GB, free: 7.84 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001105/0.5045, allocations: 349.8 kB / 0.7126 GB, free: 7.492 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.5063, allocations: 0.5121 MB / 0.7131 GB, free: 6.977 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001952/0.5082, allocations: 0.7705 MB / 0.7138 GB, free: 6.094 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003317/0.5116, allocations: 1.14 MB / 0.7149 GB, free: 4.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.791e-06/0.5116, allocations: 4 kB / 0.7149 GB, free: 4.859 MB / 0.545 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.004625/0.5162, allocations: 1.555 MB / 0.7165 GB, free: 3.293 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.626e-05/0.5163, allocations: 12.06 kB / 0.7165 GB, free: 3.281 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.5163, allocations: 8 kB / 0.7165 GB, free: 3.273 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001583/0.5179, allocations: 482.7 kB / 0.7169 GB, free: 2.805 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.5192, allocations: 263.5 kB / 0.7172 GB, free: 2.547 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.5207, allocations: 0.9916 MB / 0.7182 GB, free: 1.531 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001941/0.5226, allocations: 222.7 kB / 0.7184 GB, free: 1.312 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.5227, allocations: 55.94 kB / 0.7184 GB, free: 1.258 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002189/0.5249, allocations: 0.7986 MB / 0.7192 GB, free: 468 kB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001929/0.5269, allocations: 0.7783 MB / 0.72 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003257/0.5302, allocations: 1.129 MB / 0.7211 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.71e-06/0.5302, allocations: 7.984 kB / 0.7211 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.004564/0.5347, allocations: 1.554 MB / 0.7226 GB, free: 12.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.5348, allocations: 8 kB / 0.7226 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.5348, allocations: 7.938 kB / 0.7226 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001489/0.5363, allocations: 495.2 kB / 0.7231 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.5375, allocations: 255.6 kB / 0.7233 GB, free: 12.04 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.539, allocations: 0.9901 MB / 0.7243 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.541, allocations: 191.3 kB / 0.7245 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.87e-05/0.5411, allocations: 59.94 kB / 0.7245 GB, free: 10.77 MB / 0.5606 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.0002858/0.5414, allocations: 239 kB / 0.7248 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002518/0.5416, allocations: 142.3 kB / 0.7249 GB, free: 10.39 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003929/0.5455, allocations: 1.303 MB / 0.7262 GB, free: 9.066 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.003e-05/0.5456, allocations: 4 kB / 0.7262 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.688e-06/0.5456, allocations: 0 / 0.7262 GB, free: 9.062 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003394/0.549, allocations: 1.111 MB / 0.7273 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007096/0.5561, allocations: 3.05 MB / 0.7302 GB, free: 4.742 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.139e-05/0.5561, allocations: 7.984 kB / 0.7302 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008652/0.557, allocations: 147.7 kB / 0.7304 GB, free: 4.59 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001506/0.5585, allocations: 480.9 kB / 0.7308 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.842e-05/0.5586, allocations: 23.97 kB / 0.7309 GB, free: 4.098 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/0.56, allocations: 0.999 MB / 0.7318 GB, free: 3.074 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.528e-06/0.5601, allocations: 4 kB / 0.7318 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005338/0.5654, allocations: 1.924 MB / 0.7337 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000655/0.5661, allocations: 355 kB / 0.7341 GB, free: 0.7031 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002495/0.5663, allocations: 24 kB / 0.7341 GB, free: 0.6797 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/0.5679, allocations: 121 kB / 0.7342 GB, free: 0.5625 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.568, allocations: 48.31 kB / 0.7342 GB, free: 0.5156 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.265e-05/0.5681, allocations: 59.88 kB / 0.7343 GB, free: 468 kB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001461/0.5695, allocations: 0.9893 MB / 0.7353 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5696, allocations: 0 / 0.7353 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00208/0.5716, allocations: 0.9007 MB / 0.7361 GB, free: 14.57 MB / 0.5762 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.001049/0.5727, allocations: 0.5426 MB / 0.7367 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005775/0.5785, allocations: 1.833 MB / 0.7385 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.5785, allocations: 0 / 0.7385 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.5801, allocations: 0.518 MB / 0.739 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003038/0.5832, allocations: 0.8306 MB / 0.7398 GB, free: 10.89 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00473/0.5879, allocations: 2.663 MB / 0.7424 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007201/0.5887, allocations: 1.211 MB / 0.7436 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0012/0.5899, allocations: 370.2 kB / 0.7439 GB, free: 6.539 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002922/0.5902, allocations: 131.3 kB / 0.744 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of SimCode: time 4.1e-07/0.5902, allocations: 0 / 0.744 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of Templates: time 0.2657/0.8559, allocations: 39.18 MB / 0.7823 GB, free: 134.1 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)