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.001161/0.001161, allocations: 110.3 kB / 16.41 MB, free: 6.492 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.001251/0.001251, allocations: 185.5 kB / 17.34 MB, free: 5.766 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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7525/0.7525, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 63.72 kB / 0.5863 GB, free: 21.66 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1279, allocations: 80.93 MB / 0.6653 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06152/0.1895, allocations: 69.89 MB / 0.7336 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.2077, allocations: 14.35 MB / 0.7476 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.2097, allocations: 71.56 kB / 0.7476 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001938/0.2117, allocations: 0.9238 MB / 0.7485 GB, free: 284 kB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.301/0.5128, allocations: 2.536 MB / 0.751 GB, free: 20.71 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004738/0.5175, allocations: 1.979 MB / 0.753 GB, free: 20.7 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006326/0.5239, allocations: 4.672 MB / 0.7575 GB, free: 20.7 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/0.5264, allocations: 1.616 MB / 0.7591 GB, free: 20.54 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004692/0.5311, allocations: 1.82 MB / 0.7609 GB, free: 20.53 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002278/0.5334, allocations: 1.271 MB / 0.7621 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003826/0.5338, allocations: 196.2 kB / 0.7623 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004401/0.5382, allocations: 1.978 MB / 0.7642 GB, free: 20.3 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000479/0.5387, allocations: 468.9 kB / 0.7647 GB, free: 20.23 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001246/0.54, allocations: 1.019 MB / 0.7657 GB, free: 19.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005126/0.5451, allocations: 3.53 MB / 0.7691 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.027e-06/0.5451, allocations: 0 / 0.7691 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.5451, allocations: 0 / 0.7691 GB, free: 19.57 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.493e-05/0.5451, allocations: 0 / 0.7691 GB, free: 19.57 MB / 0.5762 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.004915/0.5501, allocations: 2.288 MB / 0.7714 GB, free: 18.43 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.934e-05/0.5501, allocations: 14.55 kB / 0.7714 GB, free: 18.42 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005382/0.5555, allocations: 0.6919 MB / 0.7721 GB, free: 18.31 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002518/0.558, allocations: 1.598 MB / 0.7736 GB, free: 17.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001412/0.5582, allocations: 131.8 kB / 0.7737 GB, free: 17.85 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001957/0.5584, allocations: 120.4 kB / 0.7739 GB, free: 17.85 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003462/0.5619, allocations: 1.63 MB / 0.7754 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.353e-05/0.5619, allocations: 2.594 kB / 0.7754 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.562, allocations: 56.61 kB / 0.7755 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.103e-05/0.5621, allocations: 31.84 kB / 0.7755 GB, free: 17.6 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004244/0.5663, allocations: 1.459 MB / 0.777 GB, free: 17.57 MB / 0.5762 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.00865/0.575, allocations: 6.991 MB / 0.7838 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002121/0.5771, allocations: 0.7336 MB / 0.7845 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001465/0.5786, allocations: 495.4 kB / 0.785 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009368/0.5796, allocations: 1.272 MB / 0.7862 GB, free: 12.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.336e-05/0.5796, allocations: 44.53 kB / 0.7863 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=68): time 2.364e-06/0.5796, allocations: 4 kB / 0.7863 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of matching and sorting (n=68): time 0.01826/0.5979, allocations: 3.009 MB / 0.7892 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.104e-05/0.598, allocations: 115.3 kB / 0.7893 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.5998, allocations: 1.378 MB / 0.7907 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001137/0.5999, allocations: 44.89 kB / 0.7907 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004615/0.6004, allocations: 0.6897 MB / 0.7914 GB, free: 9.641 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002004/0.6006, allocations: 240.7 kB / 0.7916 GB, free: 9.438 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003184/0.6009, allocations: 235.9 kB / 0.7918 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/0.601, allocations: 344.4 kB / 0.7922 GB, free: 8.957 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001719/0.6027, allocations: 0.5062 MB / 0.7926 GB, free: 8.703 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001875/0.6046, allocations: 0.7756 MB / 0.7934 GB, free: 8.125 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003172/0.6078, allocations: 1.136 MB / 0.7945 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.062e-06/0.6078, allocations: 3.938 kB / 0.7945 GB, free: 7.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.0044/0.6122, allocations: 1.557 MB / 0.796 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.943e-05/0.6122, allocations: 7.812 kB / 0.796 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.085e-05/0.6122, allocations: 5.812 kB / 0.7961 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001488/0.6137, allocations: 492.9 kB / 0.7965 GB, free: 6.465 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001247/0.615, allocations: 260.3 kB / 0.7968 GB, free: 6.391 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001291/0.6163, allocations: 1.005 MB / 0.7978 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002276/0.6186, allocations: 224.9 kB / 0.798 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-05/0.6187, allocations: 53.7 kB / 0.798 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002156/0.6208, allocations: 0.8073 MB / 0.7988 GB, free: 5 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00177/0.6226, allocations: 0.7757 MB / 0.7996 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003064/0.6257, allocations: 1.128 MB / 0.8007 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.917e-06/0.6257, allocations: 7.094 kB / 0.8007 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.00432/0.63, allocations: 1.548 MB / 0.8022 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.6301, allocations: 12.86 kB / 0.8022 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.6301, allocations: 5.344 kB / 0.8022 GB, free: 2.973 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.6315, allocations: 486.2 kB / 0.8027 GB, free: 2.773 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001215/0.6327, allocations: 255.5 kB / 0.8029 GB, free: 2.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001261/0.634, allocations: 0.9957 MB / 0.8039 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.6361, allocations: 187.6 kB / 0.8041 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.767e-05/0.6362, allocations: 57.48 kB / 0.8041 GB, free: 1.812 MB / 0.5762 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.0003033/0.6366, allocations: 241 kB / 0.8043 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002683/0.6368, allocations: 148.6 kB / 0.8045 GB, free: 1.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003786/0.6406, allocations: 1.299 MB / 0.8058 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.28e-05/0.6406, allocations: 6.219 kB / 0.8058 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.6407, allocations: 0 / 0.8058 GB, free: 0.7812 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003199/0.6439, allocations: 1.119 MB / 0.8069 GB, free: 144 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00713/0.651, allocations: 3.052 MB / 0.8098 GB, free: 13.4 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.967e-06/0.651, allocations: 4 kB / 0.8098 GB, free: 13.39 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008837/0.6519, allocations: 146.7 kB / 0.81 GB, free: 13.26 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001515/0.6535, allocations: 477.6 kB / 0.8104 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.082e-05/0.6535, allocations: 27.97 kB / 0.8105 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001484/0.655, allocations: 0.9878 MB / 0.8114 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.092e-06/0.655, allocations: 7.188 kB / 0.8114 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005755/0.6608, allocations: 1.921 MB / 0.8133 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008871/0.6617, allocations: 359 kB / 0.8136 GB, free: 9.383 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002321/0.6619, allocations: 27.98 kB / 0.8137 GB, free: 9.355 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001583/0.6635, allocations: 111.8 kB / 0.8138 GB, free: 9.246 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.6636, allocations: 63.48 kB / 0.8138 GB, free: 9.188 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.247e-05/0.6637, allocations: 43.33 kB / 0.8139 GB, free: 9.148 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001489/0.6652, allocations: 0.9933 MB / 0.8149 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6652, allocations: 0 / 0.8149 GB, free: 8.156 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.002613/0.6679, allocations: 0.8929 MB / 0.8157 GB, free: 7.262 MB / 0.5919 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.001495/0.6694, allocations: 0.557 MB / 0.8163 GB, free: 6.75 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.005958/0.6753, allocations: 1.827 MB / 0.8181 GB, free: 4.973 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/0.6754, allocations: 4 kB / 0.8181 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.001647/0.677, allocations: 0.5182 MB / 0.8186 GB, free: 4.469 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/0.6803, allocations: 0.8226 MB / 0.8194 GB, free: 3.676 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004923/0.6853, allocations: 2.703 MB / 0.822 GB, free: 0.9258 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006693/0.686, allocations: 1.207 MB / 0.8232 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003997/0.6864, allocations: 151.3 kB / 0.8233 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of SimCode: time 4.2e-07/0.6864, allocations: 0 / 0.8233 GB, free: 15.54 MB / 0.6075 GB Notification: Performance of Templates: time 0.04128/0.7277, allocations: 36.58 MB / 0.859 GB, free: 11.27 MB / 0.6387 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)