Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009162/0.0009162, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.0009711/0.0009711, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.194/1.194, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8469/0.8469, allocations: 135.2 MB / 426.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002669/0.0002669, allocations: 8 kB / 0.5068 GB, free: 5.25 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.136/0.1363, allocations: 82.31 MB / 0.5872 GB, free: 3.121 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.3114/0.4477, allocations: 109.3 MB / 0.694 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03066/0.4784, allocations: 21.39 MB / 0.7149 GB, free: 180 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004307/0.4827, allocations: 117.1 kB / 0.715 GB, free: 128 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004982/0.4877, allocations: 1.456 MB / 0.7164 GB, free: 15.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01348/0.5012, allocations: 4.187 MB / 0.7205 GB, free: 12.55 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009722/0.5109, allocations: 3.12 MB / 0.7235 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.01041/0.5214, allocations: 5.092 MB / 0.7285 GB, free: 7.82 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003532/0.5249, allocations: 2.278 MB / 0.7307 GB, free: 6.434 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005775/0.5307, allocations: 2.437 MB / 0.7331 GB, free: 4.949 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003143/0.5339, allocations: 1.57 MB / 0.7346 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003804/0.5342, allocations: 130.5 kB / 0.7348 GB, free: 4.02 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005013/0.5393, allocations: 1.737 MB / 0.7365 GB, free: 3.32 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0005899/0.5399, allocations: 0.5722 MB / 0.737 GB, free: 2.895 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001105/0.541, allocations: 0.7315 MB / 0.7377 GB, free: 2.242 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00603/0.547, allocations: 4.557 MB / 0.7422 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.547, allocations: 0 / 0.7422 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.713e-06/0.547, allocations: 0 / 0.7422 GB, free: 13.68 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.918e-05/0.5471, allocations: 0 / 0.7422 GB, free: 13.68 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 577 * Number of variables: 577 Notification: Performance of Generate backend data structure: time 0.005579/0.5527, allocations: 3.353 MB / 0.7455 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5528, allocations: 12.03 kB / 0.7455 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008769/0.5615, allocations: 1.362 MB / 0.7468 GB, free: 8.844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/0.5657, allocations: 2.706 MB / 0.7494 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001959/0.5659, allocations: 259.9 kB / 0.7497 GB, free: 5.793 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003158/0.5662, allocations: 239.9 kB / 0.7499 GB, free: 5.559 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006213/0.5724, allocations: 3.131 MB / 0.753 GB, free: 2.246 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.006e-05/0.5725, allocations: 7.938 kB / 0.753 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002429/0.5727, allocations: 100 kB / 0.7531 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.636e-05/0.5728, allocations: 71.94 kB / 0.7531 GB, free: 2.07 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007677/0.5805, allocations: 2.772 MB / 0.7558 GB, free: 15.28 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.01691/0.5974, allocations: 13.37 MB / 0.7689 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003623/0.601, allocations: 1.421 MB / 0.7703 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001606/0.6027, allocations: 1.781 MB / 0.772 GB, free: 13.71 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003138/0.6058, allocations: 1.157 MB / 0.7732 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 2.715e-06/0.6058, allocations: 0 / 0.7732 GB, free: 12.49 MB / 0.5919 GB Notification: Performance of matching and sorting (n=126): time 0.01912/0.625, allocations: 4.253 MB / 0.7773 GB, free: 8.184 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002139/0.6252, allocations: 0.5766 MB / 0.7779 GB, free: 7.473 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00351/0.6287, allocations: 2.579 MB / 0.7804 GB, free: 4.875 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.6289, allocations: 61.7 kB / 0.7805 GB, free: 4.809 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001024/0.6299, allocations: 1.342 MB / 0.7818 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003763/0.6303, allocations: 445.7 kB / 0.7822 GB, free: 3.012 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001067/0.6304, allocations: 36 kB / 0.7822 GB, free: 2.977 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.6307, allocations: 369.9 kB / 0.7826 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003153/0.6338, allocations: 0.9603 MB / 0.7835 GB, free: 1.648 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003563/0.6374, allocations: 1.544 MB / 0.785 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0033/0.6407, allocations: 1.102 MB / 0.7861 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.254e-06/0.6407, allocations: 4 kB / 0.7861 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01066/0.6514, allocations: 3.121 MB / 0.7891 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001582/0.653, allocations: 5.02 MB / 0.7941 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.722e-05/0.653, allocations: 12 kB / 0.7941 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002335/0.6554, allocations: 0.7246 MB / 0.7948 GB, free: 5.434 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00256/0.6579, allocations: 0.5108 MB / 0.7953 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002062/0.66, allocations: 1.802 MB / 0.797 GB, free: 3.07 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004279/0.6643, allocations: 0.5098 MB / 0.7975 GB, free: 2.559 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002264/0.6645, allocations: 99.91 kB / 0.7976 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.6646, allocations: 4 kB / 0.7976 GB, free: 2.457 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009989/0.6746, allocations: 2.836 MB / 0.8004 GB, free: 15.61 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.977e-05/0.6746, allocations: 13 kB / 0.8004 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002177/0.6768, allocations: 0.7249 MB / 0.8011 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002452/0.6792, allocations: 0.5031 MB / 0.8016 GB, free: 14.36 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.6812, allocations: 1.794 MB / 0.8034 GB, free: 12.52 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003702/0.685, allocations: 458.7 kB / 0.8038 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/0.6851, allocations: 103.9 kB / 0.8039 GB, free: 11.97 MB / 0.6231 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001281/0.6864, allocations: 0.6881 MB / 0.8046 GB, free: 11.27 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000415/0.6869, allocations: 280.7 kB / 0.8048 GB, free: 10.99 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009984/0.6968, allocations: 2.595 MB / 0.8074 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/0.6969, allocations: 16 kB / 0.8074 GB, free: 8.371 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.868e-06/0.6969, allocations: 8.25 kB / 0.8074 GB, free: 8.363 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00901/0.7059, allocations: 2.209 MB / 0.8095 GB, free: 6.105 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01388/0.7198, allocations: 6.538 MB / 0.8159 GB, free: 15.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.271e-05/0.7198, allocations: 8 kB / 0.8159 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001635/0.7215, allocations: 296 kB / 0.8162 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002154/0.7236, allocations: 0.7069 MB / 0.8169 GB, free: 14.38 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-05/0.7238, allocations: 51.94 kB / 0.817 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002045/0.7258, allocations: 1.788 MB / 0.8187 GB, free: 12.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.796e-06/0.7258, allocations: 19.88 kB / 0.8187 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01074/0.7366, allocations: 4.285 MB / 0.8229 GB, free: 7.723 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/0.738, allocations: 0.6884 MB / 0.8236 GB, free: 7.012 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003727/0.7384, allocations: 39.98 kB / 0.8236 GB, free: 6.973 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002777/0.7411, allocations: 282.5 kB / 0.8239 GB, free: 6.699 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001765/0.7413, allocations: 112.7 kB / 0.824 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001254/0.7415, allocations: 75.92 kB / 0.8241 GB, free: 6.516 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002724/0.7442, allocations: 1.813 MB / 0.8258 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7442, allocations: 0 / 0.8258 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.003831/0.748, allocations: 1.692 MB / 0.8275 GB, free: 3.004 MB / 0.6387 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 17,2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001366/0.7494, allocations: 0.8301 MB / 0.8283 GB, free: 2.184 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01068/0.7601, allocations: 3.586 MB / 0.8318 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/0.7601, allocations: 4.438 kB / 0.8318 GB, free: 14.57 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003214/0.7634, allocations: 1.047 MB / 0.8328 GB, free: 13.53 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005694/0.7691, allocations: 1.365 MB / 0.8342 GB, free: 12.18 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01078/0.7799, allocations: 6.106 MB / 0.8401 GB, free: 5.953 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001181/0.7811, allocations: 1.773 MB / 0.8419 GB, free: 4.148 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002968/0.784, allocations: 0.6935 MB / 0.8425 GB, free: 3.469 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005517/0.7846, allocations: 239.2 kB / 0.8428 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of SimCode: time 4.4e-07/0.7846, allocations: 0 / 0.8428 GB, free: 3.234 MB / 0.6544 GB Notification: Performance of Templates: time 0.3341/1.119, allocations: 65.67 MB / 0.9069 GB, free: 196.9 MB / 0.67 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: