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.0009519/0.000952, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007808/0.007809, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.409/1.409, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7773/0.7773, allocations: 132.4 MB / 423.8 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003608/0.0003608, allocations: 8 kB / 0.504 GB, free: 3.938 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4341/0.4345, allocations: 81.59 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.07777/0.5123, allocations: 68.29 MB / 0.6504 GB, free: 12.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02365/0.536, allocations: 14.47 MB / 0.6645 GB, free: 13.51 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002883/0.5389, allocations: 63.56 kB / 0.6645 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002701/0.5416, allocations: 0.7576 MB / 0.6653 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007563/0.5492, allocations: 2.354 MB / 0.6676 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005467/0.5547, allocations: 1.791 MB / 0.6693 GB, free: 8.562 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007571/0.5623, allocations: 5.931 MB / 0.6751 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002754/0.565, allocations: 1.297 MB / 0.6764 GB, free: 1.285 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004421/0.5695, allocations: 1.45 MB / 0.6778 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00267/0.5722, allocations: 1.213 MB / 0.679 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0005017/0.5727, allocations: 68 kB / 0.6791 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005166/0.5779, allocations: 1.739 MB / 0.6808 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0008025/0.5787, allocations: 330.5 kB / 0.6811 GB, free: 12.48 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00261/0.5813, allocations: 0.9034 MB / 0.682 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006788/0.5881, allocations: 3.38 MB / 0.6853 GB, free: 8.172 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.5882, allocations: 4 kB / 0.6853 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of FrontEnd: time 4.589e-06/0.5882, allocations: 0 / 0.6853 GB, free: 8.168 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.569e-05/0.5883, allocations: 3.938 kB / 0.6853 GB, free: 8.164 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.004794/0.5931, allocations: 1.994 MB / 0.6872 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/0.5932, allocations: 12.03 kB / 0.6872 GB, free: 6.086 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005363/0.5985, allocations: 0.697 MB / 0.6879 GB, free: 5.387 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003155/0.6017, allocations: 1.561 MB / 0.6894 GB, free: 3.77 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002272/0.602, allocations: 128 kB / 0.6895 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002791/0.6023, allocations: 124 kB / 0.6897 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004341/0.6066, allocations: 1.668 MB / 0.6913 GB, free: 1.758 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.6067, allocations: 4 kB / 0.6913 GB, free: 1.754 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001616/0.6068, allocations: 48 kB / 0.6913 GB, free: 1.707 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.248e-05/0.6069, allocations: 32 kB / 0.6914 GB, free: 1.676 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004842/0.6117, allocations: 1.511 MB / 0.6929 GB, free: 160 kB / 0.5137 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.01068/0.6224, allocations: 6.995 MB / 0.6997 GB, free: 8.816 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002366/0.6248, allocations: 0.7991 MB / 0.7005 GB, free: 8.012 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.6265, allocations: 0.5091 MB / 0.701 GB, free: 7.504 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001399/0.6279, allocations: 1.27 MB / 0.7022 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00197/0.6299, allocations: 0.6675 MB / 0.7029 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 3.005e-06/0.6299, allocations: 0 / 0.7029 GB, free: 5.25 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.01059/0.6405, allocations: 2.181 MB / 0.705 GB, free: 3.043 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001737/0.6408, allocations: 324.9 kB / 0.7053 GB, free: 2.652 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002662/0.6434, allocations: 1.391 MB / 0.7067 GB, free: 1.25 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.6436, allocations: 45.7 kB / 0.7067 GB, free: 1.199 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007/0.6443, allocations: 0.6959 MB / 0.7074 GB, free: 0.4922 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000294/0.6446, allocations: 248.6 kB / 0.7076 GB, free: 252 kB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001632/0.6448, allocations: 85.67 kB / 0.7077 GB, free: 160 kB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.645, allocations: 334 kB / 0.708 GB, free: 15.82 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002047/0.647, allocations: 0.5289 MB / 0.7085 GB, free: 15.29 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002212/0.6492, allocations: 0.8334 MB / 0.7093 GB, free: 14.34 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003897/0.6531, allocations: 1.221 MB / 0.7105 GB, free: 13.04 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.533e-06/0.6532, allocations: 4 kB / 0.7105 GB, free: 13.03 MB / 0.545 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006746/0.6599, allocations: 1.693 MB / 0.7122 GB, free: 11.32 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002495/0.6602, allocations: 310.2 kB / 0.7125 GB, free: 10.93 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.6602, allocations: 4 kB / 0.7125 GB, free: 10.92 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001454/0.6617, allocations: 369.4 kB / 0.7128 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001522/0.6632, allocations: 275.5 kB / 0.7131 GB, free: 10.29 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001314/0.6645, allocations: 0.9012 MB / 0.714 GB, free: 9.363 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002659/0.6672, allocations: 287.5 kB / 0.7143 GB, free: 9.082 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/0.6674, allocations: 55.95 kB / 0.7143 GB, free: 9.027 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.838e-06/0.6674, allocations: 4 kB / 0.7143 GB, free: 9.023 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006277/0.6737, allocations: 1.544 MB / 0.7158 GB, free: 7.469 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/0.6737, allocations: 8 kB / 0.7158 GB, free: 7.461 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001322/0.6751, allocations: 369.8 kB / 0.7162 GB, free: 7.102 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001476/0.6766, allocations: 275.5 kB / 0.7164 GB, free: 6.832 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001206/0.6778, allocations: 0.8998 MB / 0.7173 GB, free: 5.906 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002285/0.6801, allocations: 254.8 kB / 0.7176 GB, free: 5.656 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000134/0.6802, allocations: 59.94 kB / 0.7176 GB, free: 5.598 MB / 0.545 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.0008503/0.6811, allocations: 458.3 kB / 0.7181 GB, free: 5.141 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003737/0.6815, allocations: 150.5 kB / 0.7182 GB, free: 4.992 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004134/0.6856, allocations: 1.291 MB / 0.7195 GB, free: 3.691 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.267e-05/0.6857, allocations: 8 kB / 0.7195 GB, free: 3.684 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-06/0.6857, allocations: 3.938 kB / 0.7195 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003474/0.6891, allocations: 1.092 MB / 0.7205 GB, free: 2.555 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00738/0.6965, allocations: 3.33 MB / 0.7238 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-05/0.6966, allocations: 4.375 kB / 0.7238 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009771/0.6976, allocations: 167.8 kB / 0.724 GB, free: 14.93 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001262/0.6988, allocations: 366.4 kB / 0.7243 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.953e-05/0.6989, allocations: 35.91 kB / 0.7243 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001155/0.7001, allocations: 0.8881 MB / 0.7252 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.7001, allocations: 8 kB / 0.7252 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005646/0.7058, allocations: 1.973 MB / 0.7271 GB, free: 11.55 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008275/0.7066, allocations: 390.9 kB / 0.7275 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003006/0.7069, allocations: 20 kB / 0.7275 GB, free: 11.13 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001781/0.7087, allocations: 170.8 kB / 0.7277 GB, free: 10.97 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001391/0.7088, allocations: 68.28 kB / 0.7278 GB, free: 10.9 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.568e-05/0.7089, allocations: 39.97 kB / 0.7278 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001661/0.7106, allocations: 0.9978 MB / 0.7288 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of sort global known variables: time 4.81e-07/0.7106, allocations: 0 / 0.7288 GB, free: 9.867 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002412/0.713, allocations: 0.9007 MB / 0.7297 GB, free: 8.965 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.001227/0.7143, allocations: 0.5455 MB / 0.7302 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.006362/0.7206, allocations: 2.019 MB / 0.7322 GB, free: 6.383 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 7.774e-06/0.7207, allocations: 8.125 kB / 0.7322 GB, free: 6.375 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001858/0.7225, allocations: 0.5754 MB / 0.7327 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004592/0.7271, allocations: 0.8145 MB / 0.7335 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006423/0.7336, allocations: 3.29 MB / 0.7367 GB, free: 1.641 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.7346, allocations: 1.215 MB / 0.7379 GB, free: 408 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001934/0.7365, allocations: 378 kB / 0.7383 GB, free: 36 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000429/0.737, allocations: 135.3 kB / 0.7384 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.142e-06/0.737, allocations: 0 / 0.7384 GB, free: 15.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.05899/0.796, allocations: 38.07 MB / 0.7756 GB, free: 10.29 MB / 0.6075 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)