Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 109.5 kB / 16.27 MB, free: 6.414 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.001727/0.001727, allocations: 191.6 kB / 17.2 MB, free: 5.953 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.437/1.437, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8365/0.8365, allocations: 132.2 MB / 423.2 MB, free: 6.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001501/0.001501, allocations: 67.89 kB / 0.5024 GB, free: 11.66 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4413, allocations: 80.19 MB / 0.5807 GB, free: 27.22 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06401/0.5054, allocations: 69.97 MB / 0.6491 GB, free: 8.102 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02205/0.5275, allocations: 14.47 MB / 0.6632 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003691/0.5313, allocations: 79.56 kB / 0.6633 GB, free: 9.512 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003285/0.5346, allocations: 0.9199 MB / 0.6642 GB, free: 8.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.008763/0.5434, allocations: 2.541 MB / 0.6667 GB, free: 6.039 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005748/0.5492, allocations: 1.98 MB / 0.6686 GB, free: 4.082 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00748/0.5567, allocations: 4.708 MB / 0.6732 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003033/0.5598, allocations: 1.634 MB / 0.6748 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005116/0.5649, allocations: 1.783 MB / 0.6765 GB, free: 11.91 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002722/0.5677, allocations: 1.295 MB / 0.6778 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004676/0.5681, allocations: 200 kB / 0.678 GB, free: 10.42 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004949/0.5731, allocations: 1.907 MB / 0.6798 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006397/0.5738, allocations: 478.4 kB / 0.6803 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001682/0.5755, allocations: 1.038 MB / 0.6813 GB, free: 6.996 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006892/0.5824, allocations: 3.518 MB / 0.6848 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.139e-05/0.5824, allocations: 0 / 0.6848 GB, free: 3.469 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.065e-06/0.5825, allocations: 4 kB / 0.6848 GB, free: 3.465 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.823e-05/0.5825, allocations: 3.938 kB / 0.6848 GB, free: 3.461 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.00529/0.5878, allocations: 2.363 MB / 0.6871 GB, free: 1.02 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/0.5879, allocations: 8.031 kB / 0.6871 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005163/0.593, allocations: 0.658 MB / 0.6877 GB, free: 360 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003233/0.5963, allocations: 1.518 MB / 0.6892 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001634/0.5965, allocations: 132 kB / 0.6893 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002253/0.5967, allocations: 124 kB / 0.6894 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004054/0.6008, allocations: 1.632 MB / 0.691 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.228e-05/0.6008, allocations: 3.938 kB / 0.691 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001445/0.601, allocations: 52 kB / 0.6911 GB, free: 12.74 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.075e-05/0.6011, allocations: 32 kB / 0.6911 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004705/0.6058, allocations: 1.456 MB / 0.6925 GB, free: 11.25 MB / 0.5294 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.01192/0.6177, allocations: 7 MB / 0.6994 GB, free: 3.895 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002503/0.6203, allocations: 0.7504 MB / 0.7001 GB, free: 3.141 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00167/0.622, allocations: 487.2 kB / 0.7006 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001564/0.6236, allocations: 1.274 MB / 0.7018 GB, free: 1.109 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002067/0.6256, allocations: 0.6479 MB / 0.7025 GB, free: 432 kB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 3.957e-06/0.6257, allocations: 4 kB / 0.7025 GB, free: 428 kB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.01071/0.6364, allocations: 2.045 MB / 0.7045 GB, free: 14.34 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001992/0.6366, allocations: 332.9 kB / 0.7048 GB, free: 13.95 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00327/0.6399, allocations: 1.399 MB / 0.7061 GB, free: 12.54 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0002414/0.6402, allocations: 45.7 kB / 0.7062 GB, free: 12.48 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008554/0.6411, allocations: 0.6998 MB / 0.7069 GB, free: 11.78 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003926/0.6415, allocations: 244.6 kB / 0.7071 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005582/0.642, allocations: 250.3 kB / 0.7073 GB, free: 11.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001598/0.6422, allocations: 337.9 kB / 0.7077 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002078/0.6443, allocations: 0.5044 MB / 0.7082 GB, free: 10.44 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002349/0.6467, allocations: 0.81 MB / 0.7089 GB, free: 9.512 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00382/0.6505, allocations: 1.166 MB / 0.7101 GB, free: 8.254 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/0.6505, allocations: 0 / 0.7101 GB, free: 8.254 MB / 0.545 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006971/0.6575, allocations: 1.626 MB / 0.7117 GB, free: 6.609 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 6.794e-05/0.6576, allocations: 37.7 kB / 0.7117 GB, free: 6.566 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.023e-05/0.6577, allocations: 4 kB / 0.7117 GB, free: 6.562 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.6592, allocations: 365 kB / 0.7121 GB, free: 6.203 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001542/0.6608, allocations: 263.5 kB / 0.7123 GB, free: 5.945 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001379/0.6622, allocations: 0.9026 MB / 0.7132 GB, free: 5.02 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/0.6648, allocations: 226.6 kB / 0.7134 GB, free: 4.797 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002222/0.665, allocations: 60.38 kB / 0.7135 GB, free: 4.738 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002895/0.6679, allocations: 0.7986 MB / 0.7142 GB, free: 3.934 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00241/0.6704, allocations: 0.8096 MB / 0.715 GB, free: 3.004 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00389/0.6743, allocations: 1.162 MB / 0.7162 GB, free: 1.746 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.093e-06/0.6743, allocations: 0 / 0.7162 GB, free: 1.746 MB / 0.545 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.006984/0.6813, allocations: 1.622 MB / 0.7178 GB, free: 108 kB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 5.528e-05/0.6814, allocations: 48.25 kB / 0.7178 GB, free: 56 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.6814, allocations: 4 kB / 0.7178 GB, free: 52 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001378/0.6828, allocations: 360.6 kB / 0.7181 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001483/0.6843, allocations: 263.5 kB / 0.7184 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001303/0.6856, allocations: 0.888 MB / 0.7193 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002685/0.6883, allocations: 203.2 kB / 0.7195 GB, free: 14.33 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001991/0.6885, allocations: 59.94 kB / 0.7195 GB, free: 14.27 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,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 (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005328/0.6891, allocations: 240 kB / 0.7197 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006855/0.6898, allocations: 146.2 kB / 0.7199 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004573/0.6944, allocations: 1.226 MB / 0.7211 GB, free: 12.65 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.904e-05/0.6944, allocations: 11.94 kB / 0.7211 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.995e-06/0.6944, allocations: 0 / 0.7211 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003598/0.698, allocations: 1.029 MB / 0.7221 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008694/0.7068, allocations: 3.287 MB / 0.7253 GB, free: 8.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.946e-05/0.7068, allocations: 7.938 kB / 0.7253 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.7079, allocations: 164.2 kB / 0.7255 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001359/0.7093, allocations: 354.5 kB / 0.7258 GB, free: 7.648 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/0.7094, allocations: 27.97 kB / 0.7258 GB, free: 7.621 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001312/0.7107, allocations: 0.8802 MB / 0.7267 GB, free: 6.715 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.306e-06/0.7107, allocations: 8 kB / 0.7267 GB, free: 6.707 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006288/0.717, allocations: 1.894 MB / 0.7286 GB, free: 4.734 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001065/0.7181, allocations: 355 kB / 0.7289 GB, free: 4.367 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005443/0.7187, allocations: 23.98 kB / 0.7289 GB, free: 4.344 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/0.7207, allocations: 115.9 kB / 0.729 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001821/0.7209, allocations: 64.23 kB / 0.7291 GB, free: 4.164 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.721, allocations: 43.89 kB / 0.7291 GB, free: 4.121 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.002384/0.7234, allocations: 1.006 MB / 0.7301 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7234, allocations: 0 / 0.7301 GB, free: 3.117 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.003731/0.7272, allocations: 0.9047 MB / 0.731 GB, free: 2.211 MB / 0.5606 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: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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,17)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001691/0.7289, allocations: 0.5532 MB / 0.7315 GB, free: 1.664 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.007292/0.7362, allocations: 1.98 MB / 0.7335 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/0.7362, allocations: 0 / 0.7335 GB, free: 15.66 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002018/0.7382, allocations: 0.5291 MB / 0.734 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005163/0.7434, allocations: 0.8416 MB / 0.7348 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007357/0.7508, allocations: 2.748 MB / 0.7375 GB, free: 11.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/0.7521, allocations: 1.207 MB / 0.7387 GB, free: 10.28 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006615/0.7527, allocations: 155.3 kB / 0.7388 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.7527, allocations: 0 / 0.7388 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of Templates: time 0.406/1.159, allocations: 36.94 MB / 0.7749 GB, free: 142 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)