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.001215/0.001215, 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.001189/0.001189, allocations: 191.3 kB / 16.25 MB, free: 6.645 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.338/1.338, 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.9268/0.9268, allocations: 135.6 MB / 425.6 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 64.16 kB / 0.5054 GB, free: 5.199 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1498/0.1516, allocations: 81.03 MB / 0.5845 GB, free: 4.309 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.2884/0.4401, allocations: 69.29 MB / 0.6522 GB, free: 10.74 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01453/0.4546, allocations: 14.25 MB / 0.6661 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002311/0.457, allocations: 73.41 kB / 0.6661 GB, free: 500 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002048/0.459, allocations: 0.7859 MB / 0.6669 GB, free: 36 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006433/0.4655, allocations: 2.356 MB / 0.6692 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004758/0.4703, allocations: 1.816 MB / 0.671 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006764/0.477, allocations: 4.708 MB / 0.6756 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002576/0.4796, allocations: 1.605 MB / 0.6772 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004415/0.4841, allocations: 1.791 MB / 0.6789 GB, free: 9.551 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002461/0.4865, allocations: 1.304 MB / 0.6802 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000358/0.4869, allocations: 195.4 kB / 0.6804 GB, free: 8.941 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004352/0.4913, allocations: 1.952 MB / 0.6823 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005755/0.4919, allocations: 467.8 kB / 0.6827 GB, free: 7.969 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001424/0.4933, allocations: 1.029 MB / 0.6837 GB, free: 7.328 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006276/0.4996, allocations: 3.511 MB / 0.6871 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.4996, allocations: 1.125 kB / 0.6872 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4996, allocations: 0 / 0.6872 GB, free: 6.023 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.533e-05/0.4997, allocations: 0 / 0.6872 GB, free: 6.023 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.004797/0.5045, allocations: 2.301 MB / 0.6894 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.555e-05/0.5045, allocations: 9.094 kB / 0.6894 GB, free: 4.523 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005478/0.51, allocations: 0.6951 MB / 0.6901 GB, free: 4.402 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002825/0.5128, allocations: 1.551 MB / 0.6916 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001451/0.513, allocations: 132.3 kB / 0.6917 GB, free: 3.359 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000208/0.5132, allocations: 121.7 kB / 0.6918 GB, free: 3.32 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004088/0.5173, allocations: 1.638 MB / 0.6934 GB, free: 2.578 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.338e-05/0.5174, allocations: 4.969 kB / 0.6934 GB, free: 2.574 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/0.5175, allocations: 50.12 kB / 0.6935 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.974e-05/0.5176, allocations: 36.86 kB / 0.6935 GB, free: 2.535 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004742/0.5223, allocations: 1.456 MB / 0.695 GB, free: 2.051 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.0107/0.533, allocations: 7.005 MB / 0.7018 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002151/0.5352, allocations: 0.7412 MB / 0.7025 GB, free: 12.84 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001616/0.5368, allocations: 494.4 kB / 0.703 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001429/0.5383, allocations: 1.27 MB / 0.7042 GB, free: 11.25 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.026e-05/0.5383, allocations: 43.31 kB / 0.7043 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.795e-06/0.5383, allocations: 1.406 kB / 0.7043 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01982/0.5582, allocations: 3.014 MB / 0.7072 GB, free: 9.75 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.834e-05/0.5583, allocations: 114.3 kB / 0.7073 GB, free: 9.621 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002309/0.5606, allocations: 1.363 MB / 0.7087 GB, free: 8.871 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001648/0.5608, allocations: 43.52 kB / 0.7087 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006546/0.5614, allocations: 0.6961 MB / 0.7094 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002692/0.5617, allocations: 234.8 kB / 0.7096 GB, free: 8.008 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004089/0.5621, allocations: 231.5 kB / 0.7098 GB, free: 7.863 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001605/0.5623, allocations: 345.9 kB / 0.7101 GB, free: 7.527 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001911/0.5642, allocations: 0.5073 MB / 0.7106 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002114/0.5663, allocations: 0.7813 MB / 0.7114 GB, free: 6.676 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00386/0.5702, allocations: 1.13 MB / 0.7125 GB, free: 5.957 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.084e-05/0.5702, allocations: 6.344 kB / 0.7125 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005442/0.5757, allocations: 1.569 MB / 0.714 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.5757, allocations: 7.156 kB / 0.7141 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.281e-05/0.5758, allocations: 5.75 kB / 0.7141 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001682/0.5774, allocations: 492.6 kB / 0.7145 GB, free: 4.945 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/0.5789, allocations: 255.8 kB / 0.7148 GB, free: 4.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.5806, allocations: 0.9869 MB / 0.7157 GB, free: 4.098 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/0.5833, allocations: 273.5 kB / 0.716 GB, free: 3.945 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001299/0.5834, allocations: 53.45 kB / 0.716 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002503/0.586, allocations: 0.8007 MB / 0.7168 GB, free: 3.457 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002141/0.5881, allocations: 0.7835 MB / 0.7176 GB, free: 2.863 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003707/0.5918, allocations: 1.124 MB / 0.7187 GB, free: 1.922 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.939e-06/0.5919, allocations: 4 kB / 0.7187 GB, free: 1.918 MB / 0.5294 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.005415/0.5973, allocations: 1.554 MB / 0.7202 GB, free: 356 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.89e-05/0.5973, allocations: 8 kB / 0.7202 GB, free: 348 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.5973, allocations: 8 kB / 0.7202 GB, free: 340 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001741/0.5991, allocations: 485.1 kB / 0.7207 GB, free: 15.86 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001435/0.6005, allocations: 251.6 kB / 0.7209 GB, free: 15.61 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001699/0.6022, allocations: 0.9999 MB / 0.7219 GB, free: 14.59 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002725/0.605, allocations: 227.2 kB / 0.7221 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.6051, allocations: 55.95 kB / 0.7222 GB, free: 14.31 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.0004314/0.6056, allocations: 244 kB / 0.7224 GB, free: 14.07 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005387/0.6061, allocations: 146.2 kB / 0.7226 GB, free: 13.92 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00467/0.6108, allocations: 1.306 MB / 0.7238 GB, free: 12.6 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.568e-05/0.6108, allocations: 11.98 kB / 0.7238 GB, free: 12.59 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.614e-06/0.6108, allocations: 4 kB / 0.7238 GB, free: 12.58 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003882/0.6147, allocations: 1.108 MB / 0.7249 GB, free: 11.44 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008536/0.6233, allocations: 3.034 MB / 0.7279 GB, free: 8.277 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.403e-05/0.6233, allocations: 8 kB / 0.7279 GB, free: 8.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.6244, allocations: 147.8 kB / 0.728 GB, free: 8.125 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001864/0.6263, allocations: 480.1 kB / 0.7285 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.6264, allocations: 31.97 kB / 0.7285 GB, free: 7.629 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00179/0.6282, allocations: 0.9817 MB / 0.7295 GB, free: 6.621 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.921e-06/0.6282, allocations: 8.062 kB / 0.7295 GB, free: 6.613 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006534/0.6348, allocations: 1.92 MB / 0.7314 GB, free: 4.617 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001051/0.6359, allocations: 359 kB / 0.7317 GB, free: 4.246 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000517/0.6364, allocations: 16 kB / 0.7317 GB, free: 4.23 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002326/0.6387, allocations: 147.8 kB / 0.7319 GB, free: 4.086 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001495/0.6389, allocations: 60.25 kB / 0.7319 GB, free: 4.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001625/0.6391, allocations: 47.94 kB / 0.732 GB, free: 3.98 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002205/0.6413, allocations: 0.9816 MB / 0.7329 GB, free: 3 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.6413, allocations: 0 / 0.7329 GB, free: 3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003648/0.6449, allocations: 0.8889 MB / 0.7338 GB, free: 2.109 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.001803/0.6467, allocations: 0.5384 MB / 0.7343 GB, free: 1.574 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.007238/0.654, allocations: 1.857 MB / 0.7361 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.466e-06/0.654, allocations: 3.938 kB / 0.7361 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.002063/0.6561, allocations: 0.5181 MB / 0.7366 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004913/0.661, allocations: 0.8346 MB / 0.7375 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007213/0.6683, allocations: 3.207 MB / 0.7406 GB, free: 11.12 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.6694, allocations: 1.211 MB / 0.7418 GB, free: 9.871 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.00216/0.6716, allocations: 373 kB / 0.7421 GB, free: 9.508 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004485/0.672, allocations: 127.3 kB / 0.7422 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of SimCode: time 7.71e-07/0.6721, allocations: 0 / 0.7422 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of Templates: time 0.06716/0.7392, allocations: 38.67 MB / 0.78 GB, free: 3.129 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)