Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008318/0.0008318, allocations: 99.86 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.0009036/0.0009036, 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.193/1.193, allocations: 223.2 MB / 239.9 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8315/0.8315, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002884/0.0002885, allocations: 9.125 kB / 0.5068 GB, free: 5.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.1362, allocations: 82.31 MB / 0.5872 GB, free: 3.109 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor): time 0.3201/0.4564, allocations: 109.3 MB / 0.694 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03047/0.4869, allocations: 21.38 MB / 0.7149 GB, free: 100 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004503/0.4914, allocations: 112.5 kB / 0.715 GB, free: 52 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.005132/0.4966, allocations: 1.461 MB / 0.7164 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01457/0.5112, allocations: 4.177 MB / 0.7205 GB, free: 12.48 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009395/0.5206, allocations: 3.132 MB / 0.7235 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009815/0.5304, allocations: 5.088 MB / 0.7285 GB, free: 7.797 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003709/0.5341, allocations: 2.273 MB / 0.7307 GB, free: 6.414 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005895/0.54, allocations: 2.439 MB / 0.7331 GB, free: 4.926 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/0.5439, allocations: 1.567 MB / 0.7346 GB, free: 4 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005748/0.5445, allocations: 131.8 kB / 0.7348 GB, free: 4 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006068/0.5505, allocations: 1.74 MB / 0.7365 GB, free: 3.297 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0007633/0.5513, allocations: 0.5767 MB / 0.737 GB, free: 2.867 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001408/0.5527, allocations: 0.7311 MB / 0.7377 GB, free: 2.215 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.006134/0.5589, allocations: 4.553 MB / 0.7422 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.5589, allocations: 0 / 0.7422 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5589, allocations: 0 / 0.7422 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.056e-05/0.559, allocations: 0 / 0.7422 GB, free: 13.65 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.005549/0.5646, allocations: 3.357 MB / 0.7455 GB, free: 10.2 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.5646, allocations: 8.031 kB / 0.7455 GB, free: 10.19 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008982/0.5736, allocations: 1.362 MB / 0.7468 GB, free: 8.82 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004677/0.5783, allocations: 2.706 MB / 0.7494 GB, free: 6.039 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002234/0.5785, allocations: 263.8 kB / 0.7497 GB, free: 5.766 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003432/0.5789, allocations: 235.9 kB / 0.7499 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006539/0.5854, allocations: 3.127 MB / 0.753 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.389e-05/0.5855, allocations: 7.984 kB / 0.753 GB, free: 2.219 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002493/0.5857, allocations: 100 kB / 0.7531 GB, free: 2.121 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.647e-05/0.5858, allocations: 71.94 kB / 0.7531 GB, free: 2.051 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007959/0.5938, allocations: 2.768 MB / 0.7558 GB, free: 15.27 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.01844/0.6123, allocations: 13.37 MB / 0.7689 GB, free: 1.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/0.616, allocations: 1.421 MB / 0.7703 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001597/0.6176, allocations: 1.781 MB / 0.772 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003095/0.6207, allocations: 1.161 MB / 0.7732 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 2.815e-06/0.6207, allocations: 0 / 0.7732 GB, free: 12.46 MB / 0.5919 GB Notification: Performance of matching and sorting (n=126): time 0.01932/0.64, allocations: 4.246 MB / 0.7773 GB, free: 8.164 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002404/0.6403, allocations: 0.5727 MB / 0.7779 GB, free: 7.457 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003902/0.6442, allocations: 2.587 MB / 0.7804 GB, free: 4.852 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0003048/0.6445, allocations: 57.7 kB / 0.7804 GB, free: 4.789 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.6456, allocations: 1.346 MB / 0.7818 GB, free: 3.43 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004585/0.6461, allocations: 445.7 kB / 0.7822 GB, free: 2.988 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001143/0.6462, allocations: 36 kB / 0.7822 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.6464, allocations: 369.9 kB / 0.7826 GB, free: 2.586 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003224/0.6496, allocations: 0.968 MB / 0.7835 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003574/0.6532, allocations: 1.532 MB / 0.785 GB, free: 15.85 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00336/0.6566, allocations: 1.106 MB / 0.7861 GB, free: 14.74 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.6566, allocations: 4 kB / 0.7861 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=223) (initialization): time 0.01105/0.6676, allocations: 3.109 MB / 0.7891 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 0.001858/0.6695, allocations: 5.024 MB / 0.794 GB, free: 6.152 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-05/0.6696, allocations: 16 kB / 0.7941 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002424/0.672, allocations: 0.7386 MB / 0.7948 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002685/0.6747, allocations: 0.507 MB / 0.7953 GB, free: 4.895 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002163/0.6769, allocations: 1.794 MB / 0.797 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004295/0.6812, allocations: 0.5137 MB / 0.7975 GB, free: 2.535 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002213/0.6814, allocations: 99.91 kB / 0.7976 GB, free: 2.438 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 8.816e-06/0.6815, allocations: 4 kB / 0.7976 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01007/0.6915, allocations: 2.832 MB / 0.8004 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.449e-05/0.6916, allocations: 12.97 kB / 0.8004 GB, free: 15.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002227/0.6938, allocations: 0.7269 MB / 0.8011 GB, free: 14.85 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002513/0.6963, allocations: 0.5031 MB / 0.8016 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002095/0.6984, allocations: 1.794 MB / 0.8034 GB, free: 12.5 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003913/0.7024, allocations: 462.7 kB / 0.8038 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.7026, allocations: 103.9 kB / 0.8039 GB, free: 11.95 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.001494/0.7041, allocations: 0.6882 MB / 0.8046 GB, free: 11.25 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005084/0.7046, allocations: 272.7 kB / 0.8048 GB, free: 10.98 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/0.7148, allocations: 2.597 MB / 0.8074 GB, free: 8.367 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.887e-05/0.7149, allocations: 20 kB / 0.8074 GB, free: 8.348 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.005e-05/0.7149, allocations: 4 kB / 0.8074 GB, free: 8.344 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.009111/0.724, allocations: 2.21 MB / 0.8095 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01491/0.7389, allocations: 6.536 MB / 0.8159 GB, free: 15.37 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.739, allocations: 8 kB / 0.8159 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001645/0.7406, allocations: 292.1 kB / 0.8162 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00218/0.7428, allocations: 0.719 MB / 0.8169 GB, free: 14.36 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000115/0.7429, allocations: 59.94 kB / 0.817 GB, free: 14.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/0.745, allocations: 1.784 MB / 0.8187 GB, free: 12.46 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/0.745, allocations: 11.94 kB / 0.8187 GB, free: 12.45 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01088/0.7559, allocations: 4.297 MB / 0.8229 GB, free: 7.688 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00162/0.7575, allocations: 0.6806 MB / 0.8236 GB, free: 6.984 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004121/0.758, allocations: 43.98 kB / 0.8236 GB, free: 6.941 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002875/0.7608, allocations: 278.5 kB / 0.8239 GB, free: 6.672 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001847/0.761, allocations: 116.7 kB / 0.824 GB, free: 6.559 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000145/0.7612, allocations: 71.92 kB / 0.8241 GB, free: 6.488 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.002783/0.764, allocations: 1.817 MB / 0.8258 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.91e-07/0.764, allocations: 0 / 0.8258 GB, free: 4.668 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.004204/0.7682, allocations: 1.688 MB / 0.8275 GB, free: 2.977 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.001518/0.7697, allocations: 0.8232 MB / 0.8283 GB, free: 2.16 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01072/0.7805, allocations: 3.59 MB / 0.8318 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 1.148e-05/0.7805, allocations: 448 / 0.8318 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.003295/0.7838, allocations: 1.055 MB / 0.8328 GB, free: 13.49 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005995/0.7898, allocations: 1.362 MB / 0.8342 GB, free: 12.15 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01207/0.8019, allocations: 6.111 MB / 0.8401 GB, free: 5.918 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001249/0.8032, allocations: 1.773 MB / 0.8419 GB, free: 4.113 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00319/0.8064, allocations: 0.6909 MB / 0.8425 GB, free: 3.438 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005516/0.8069, allocations: 239.2 kB / 0.8428 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.8069, allocations: 0 / 0.8428 GB, free: 3.203 MB / 0.6544 GB Notification: Performance of Templates: time 0.3087/1.116, allocations: 65.66 MB / 0.9069 GB, free: 196.9 MB / 0.67 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: