Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008823/0.0008823, allocations: 92.78 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009956/0.0009957, allocations: 179.7 kB / 16.92 MB, free: 6.652 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.392/1.392, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9654/0.9654, allocations: 135.3 MB / 427.4 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003467/0.0003468, allocations: 8 kB / 0.5082 GB, free: 4.742 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1698/0.1701, allocations: 82.3 MB / 0.5886 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.4306/0.6008, allocations: 127.9 MB / 0.7135 GB, free: 15.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0416/0.6425, allocations: 24.88 MB / 0.7378 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007287/0.6498, allocations: 119.1 kB / 0.7379 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.006154/0.656, allocations: 1.423 MB / 0.7393 GB, free: 13.17 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01601/0.6721, allocations: 4.151 MB / 0.7434 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01115/0.6832, allocations: 3.182 MB / 0.7465 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01687/0.7001, allocations: 11.44 MB / 0.7577 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006543/0.7067, allocations: 2.534 MB / 0.7601 GB, free: 12.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007998/0.7148, allocations: 2.757 MB / 0.7628 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005172/0.72, allocations: 2.317 MB / 0.7651 GB, free: 7.449 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001393/0.7214, allocations: 128 kB / 0.7652 GB, free: 7.324 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008424/0.7299, allocations: 2.48 MB / 0.7676 GB, free: 4.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001584/0.7315, allocations: 0.6221 MB / 0.7683 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.004518/0.7361, allocations: 1.72 MB / 0.7699 GB, free: 2.48 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.008765/0.7449, allocations: 4.846 MB / 0.7747 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.7449, allocations: 0 / 0.7747 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.025e-06/0.7449, allocations: 0 / 0.7747 GB, free: 13.62 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0002014/0.7451, allocations: 0 / 0.7747 GB, free: 13.62 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.008547/0.7537, allocations: 3.376 MB / 0.778 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 5.314e-05/0.7537, allocations: 12.03 kB / 0.778 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0114/0.7652, allocations: 1.455 MB / 0.7794 GB, free: 8.676 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006411/0.7716, allocations: 2.95 MB / 0.7823 GB, free: 5.652 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/0.772, allocations: 255.9 kB / 0.7825 GB, free: 5.387 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006975/0.7727, allocations: 240 kB / 0.7827 GB, free: 5.152 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008513/0.7813, allocations: 3.236 MB / 0.7859 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.737e-05/0.7814, allocations: 11.84 kB / 0.7859 GB, free: 1.723 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002997/0.7817, allocations: 107.9 kB / 0.786 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-05/0.7818, allocations: 67.92 kB / 0.7861 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009584/0.7913, allocations: 2.905 MB / 0.7889 GB, free: 14.62 MB / 0.6075 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.02183/0.8132, allocations: 13.45 MB / 0.8021 GB, free: 0.5664 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004679/0.8179, allocations: 1.538 MB / 0.8036 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003435/0.8214, allocations: 0.9566 MB / 0.8045 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001901/0.8233, allocations: 1.782 MB / 0.8062 GB, free: 11.9 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004068/0.8274, allocations: 1.244 MB / 0.8074 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=130): time 7.444e-06/0.8275, allocations: 0 / 0.8074 GB, free: 10.59 MB / 0.6231 GB Notification: Performance of matching and sorting (n=130): time 0.04193/0.8694, allocations: 6.03 MB / 0.8133 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002873/0.8698, allocations: 0.5844 MB / 0.8139 GB, free: 3.789 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005534/0.8753, allocations: 2.505 MB / 0.8164 GB, free: 1.266 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0004772/0.8758, allocations: 69.7 kB / 0.8164 GB, free: 1.191 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.001507/0.8773, allocations: 1.346 MB / 0.8177 GB, free: 15.83 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007632/0.8781, allocations: 457.5 kB / 0.8182 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004688/0.8786, allocations: 149.6 kB / 0.8183 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001037/0.8787, allocations: 301.1 kB / 0.8186 GB, free: 14.93 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004265/0.883, allocations: 1.031 MB / 0.8196 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004729/0.8878, allocations: 1.618 MB / 0.8212 GB, free: 12.04 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007983/0.8958, allocations: 2.335 MB / 0.8235 GB, free: 9.535 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.039e-05/0.8959, allocations: 4 kB / 0.8235 GB, free: 9.531 MB / 0.6387 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02516/0.921, allocations: 4.217 MB / 0.8276 GB, free: 5.293 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003805/0.9214, allocations: 481.1 kB / 0.828 GB, free: 4.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.836e-05/0.9215, allocations: 16 kB / 0.8281 GB, free: 4.633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003645/0.9251, allocations: 0.958 MB / 0.829 GB, free: 3.676 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002907/0.9281, allocations: 0.4992 MB / 0.8295 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003515/0.9316, allocations: 2.006 MB / 0.8314 GB, free: 1.121 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005307/0.9369, allocations: 0.5137 MB / 0.8319 GB, free: 0.6055 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004387/0.9374, allocations: 107.9 kB / 0.8321 GB, free: 0.5 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.9374, allocations: 4 kB / 0.8321 GB, free: 0.4961 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02409/0.9615, allocations: 3.938 MB / 0.8359 GB, free: 12.54 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.653e-05/0.9616, allocations: 12 kB / 0.8359 GB, free: 12.53 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003512/0.9651, allocations: 0.9567 MB / 0.8368 GB, free: 11.57 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002843/0.968, allocations: 0.4953 MB / 0.8373 GB, free: 11.08 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003382/0.9714, allocations: 1.999 MB / 0.8393 GB, free: 9.031 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004772/0.9762, allocations: 470.8 kB / 0.8397 GB, free: 8.57 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004241/0.9766, allocations: 107.9 kB / 0.8398 GB, free: 8.465 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.001843/0.9785, allocations: 0.6958 MB / 0.8405 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008481/0.9794, allocations: 276.7 kB / 0.8408 GB, free: 7.484 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/0.9914, allocations: 2.58 MB / 0.8433 GB, free: 4.883 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.9e-05/0.9915, allocations: 16 kB / 0.8433 GB, free: 4.867 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.35e-05/0.9915, allocations: 8 kB / 0.8433 GB, free: 4.859 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01077/1.002, allocations: 2.189 MB / 0.8455 GB, free: 2.617 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0294/1.032, allocations: 7.585 MB / 0.8529 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.898e-05/1.032, allocations: 4 kB / 0.8529 GB, free: 10.85 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001948/1.034, allocations: 299.6 kB / 0.8532 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003594/1.037, allocations: 0.9373 MB / 0.8541 GB, free: 9.617 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000318/1.038, allocations: 63.81 kB / 0.8541 GB, free: 9.555 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00343/1.041, allocations: 1.983 MB / 0.8561 GB, free: 7.523 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.067e-05/1.041, allocations: 11.94 kB / 0.8561 GB, free: 7.512 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01291/1.054, allocations: 3.726 MB / 0.8597 GB, free: 3.66 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00206/1.056, allocations: 0.669 MB / 0.8604 GB, free: 2.969 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009458/1.057, allocations: 39.98 kB / 0.8604 GB, free: 2.93 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004139/1.061, allocations: 298.1 kB / 0.8607 GB, free: 2.641 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003324/1.062, allocations: 116.7 kB / 0.8608 GB, free: 2.523 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002932/1.062, allocations: 79.92 kB / 0.8609 GB, free: 2.445 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004365/1.066, allocations: 1.759 MB / 0.8626 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.904e-06/1.066, allocations: 0 / 0.8626 GB, free: 0.6836 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.3209/1.387, allocations: 1.678 MB / 0.8642 GB, free: 210.2 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002274/1.39, allocations: 0.7952 MB / 0.865 GB, free: 210.1 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01303/1.403, allocations: 3.783 MB / 0.8687 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 2.123e-05/1.403, allocations: 12.62 kB / 0.8687 GB, free: 209.9 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003832/1.407, allocations: 1.048 MB / 0.8697 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01062/1.417, allocations: 1.44 MB / 0.8711 GB, free: 209.8 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01271/1.43, allocations: 6.306 MB / 0.8773 GB, free: 206.9 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00163/1.432, allocations: 1.709 MB / 0.879 GB, free: 206.1 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001216/1.433, allocations: 280.5 kB / 0.8792 GB, free: 206.1 MB / 0.67 GB Notification: Performance of SimCode: time 1.463e-06/1.433, allocations: 2.734 kB / 0.8792 GB, free: 206.1 MB / 0.67 GB Notification: Performance of Templates: time 0.1032/1.536, allocations: 81.04 MB / 0.9584 GB, free: 162.3 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)