Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001062/0.001062, allocations: 92.23 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.001606/0.001606, allocations: 178.5 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.357/1.357, allocations: 223.3 MB / 241 MB, free: 5.273 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9127/0.9127, allocations: 135.3 MB / 427.4 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003476/0.0003481, allocations: 8.625 kB / 0.5082 GB, free: 4.719 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1707/0.1711, allocations: 82.3 MB / 0.5886 GB, free: 2.574 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.3264/0.4975, allocations: 68.26 MB / 0.6553 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01642/0.514, allocations: 14.49 MB / 0.6694 GB, free: 0.7539 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.5168, allocations: 65.81 kB / 0.6695 GB, free: 0.7266 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002221/0.519, allocations: 0.7515 MB / 0.6702 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007007/0.5261, allocations: 2.348 MB / 0.6725 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004976/0.5311, allocations: 1.794 MB / 0.6743 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008896/0.54, allocations: 5.94 MB / 0.6801 GB, free: 11.52 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002828/0.5428, allocations: 1.304 MB / 0.6813 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003919/0.5468, allocations: 1.441 MB / 0.6827 GB, free: 10.34 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002726/0.5495, allocations: 1.204 MB / 0.6839 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003156/0.5499, allocations: 69.59 kB / 0.684 GB, free: 9.82 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004848/0.5547, allocations: 1.741 MB / 0.6857 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006188/0.5554, allocations: 331.5 kB / 0.686 GB, free: 9.062 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001633/0.557, allocations: 0.9133 MB / 0.6869 GB, free: 8.52 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004722/0.5617, allocations: 2.661 MB / 0.6895 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.5618, allocations: 1.406 kB / 0.6895 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.194e-06/0.5618, allocations: 0 / 0.6895 GB, free: 7.891 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.046e-05/0.5618, allocations: 0 / 0.6895 GB, free: 7.891 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.004988/0.5668, allocations: 2.001 MB / 0.6914 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.3e-05/0.5669, allocations: 8.562 kB / 0.6915 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005329/0.5722, allocations: 0.6976 MB / 0.6921 GB, free: 6.449 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003551/0.5758, allocations: 1.568 MB / 0.6937 GB, free: 5.473 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.576, allocations: 127.4 kB / 0.6938 GB, free: 5.398 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002471/0.5763, allocations: 130.3 kB / 0.6939 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004446/0.5807, allocations: 1.659 MB / 0.6955 GB, free: 4.617 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.59e-05/0.5808, allocations: 5.281 kB / 0.6955 GB, free: 4.613 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000169/0.5809, allocations: 53.91 kB / 0.6956 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-05/0.581, allocations: 37.38 kB / 0.6956 GB, free: 4.57 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004845/0.5858, allocations: 1.494 MB / 0.6971 GB, free: 4.094 MB / 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.01124/0.5971, allocations: 6.995 MB / 0.7039 GB, free: 15 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002381/0.5995, allocations: 0.7871 MB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001666/0.6012, allocations: 0.5043 MB / 0.7052 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001321/0.6025, allocations: 1.272 MB / 0.7064 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002019/0.6046, allocations: 0.6633 MB / 0.7071 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=69): time 2.534e-06/0.6046, allocations: 4.969 kB / 0.7071 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=69): time 0.01074/0.6153, allocations: 2.177 MB / 0.7092 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000161/0.6155, allocations: 333.6 kB / 0.7095 GB, free: 10.98 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002488/0.618, allocations: 1.388 MB / 0.7109 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002237/0.6183, allocations: 46.27 kB / 0.7109 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006795/0.619, allocations: 0.7012 MB / 0.7116 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003111/0.6193, allocations: 243.8 kB / 0.7118 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001383/0.6194, allocations: 82.3 kB / 0.7119 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6196, allocations: 338 kB / 0.7122 GB, free: 8.957 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.6215, allocations: 0.5229 MB / 0.7127 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002198/0.6237, allocations: 0.8367 MB / 0.7136 GB, free: 8.078 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003813/0.6276, allocations: 1.215 MB / 0.7147 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.128e-06/0.6276, allocations: 2.344 kB / 0.7147 GB, free: 7.312 MB / 0.5294 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006632/0.6342, allocations: 1.702 MB / 0.7164 GB, free: 6.434 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.000195/0.6345, allocations: 301.8 kB / 0.7167 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.22e-05/0.6345, allocations: 6.25 kB / 0.7167 GB, free: 6.062 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001344/0.6358, allocations: 377.4 kB / 0.7171 GB, free: 5.91 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/0.6373, allocations: 274.9 kB / 0.7173 GB, free: 5.82 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001175/0.6385, allocations: 0.9108 MB / 0.7182 GB, free: 5.094 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002703/0.6412, allocations: 292.3 kB / 0.7185 GB, free: 4.941 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/0.6413, allocations: 56.23 kB / 0.7185 GB, free: 4.922 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.646e-06/0.6414, allocations: 7.25 kB / 0.7186 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005968/0.6473, allocations: 1.534 MB / 0.7201 GB, free: 4.145 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.6474, allocations: 9.969 kB / 0.7201 GB, free: 4.141 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001245/0.6486, allocations: 361.5 kB / 0.7204 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/0.6501, allocations: 283 kB / 0.7207 GB, free: 3.773 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00121/0.6514, allocations: 0.9021 MB / 0.7216 GB, free: 2.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002576/0.654, allocations: 262.8 kB / 0.7218 GB, free: 2.594 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.6541, allocations: 55.94 kB / 0.7219 GB, free: 2.539 MB / 0.5294 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.001049/0.6552, allocations: 456.8 kB / 0.7223 GB, free: 2.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003867/0.6556, allocations: 154.2 kB / 0.7224 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00425/0.6598, allocations: 1.275 MB / 0.7237 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.757e-05/0.6599, allocations: 8 kB / 0.7237 GB, free: 0.6328 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.6599, allocations: 4.094 kB / 0.7237 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00355/0.6634, allocations: 1.088 MB / 0.7248 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007811/0.6713, allocations: 3.334 MB / 0.728 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.908e-06/0.6713, allocations: 4 kB / 0.728 GB, free: 12.05 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009937/0.6723, allocations: 172.1 kB / 0.7282 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001255/0.6736, allocations: 356.2 kB / 0.7285 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.404e-05/0.6737, allocations: 39.91 kB / 0.7286 GB, free: 11.5 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001192/0.6749, allocations: 0.8959 MB / 0.7294 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.6749, allocations: 4 kB / 0.7294 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005921/0.6808, allocations: 1.976 MB / 0.7314 GB, free: 8.516 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001075/0.6819, allocations: 394.9 kB / 0.7318 GB, free: 8.109 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003302/0.6823, allocations: 23.94 kB / 0.7318 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001922/0.6842, allocations: 169.6 kB / 0.7319 GB, free: 7.922 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001605/0.6844, allocations: 68.22 kB / 0.732 GB, free: 7.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.955e-05/0.6845, allocations: 35.97 kB / 0.732 GB, free: 7.82 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001715/0.6862, allocations: 0.9979 MB / 0.733 GB, free: 6.824 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.5e-07/0.6862, allocations: 0 / 0.733 GB, free: 6.824 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002877/0.6891, allocations: 0.893 MB / 0.7339 GB, free: 5.93 MB / 0.545 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.00132/0.6904, allocations: 0.5498 MB / 0.7344 GB, free: 5.383 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006661/0.6971, allocations: 2.019 MB / 0.7364 GB, free: 3.34 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 8.205e-06/0.6971, allocations: 0 / 0.7364 GB, free: 3.34 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001932/0.6991, allocations: 0.5604 MB / 0.7369 GB, free: 2.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005245/0.7043, allocations: 0.815 MB / 0.7377 GB, free: 1.984 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006114/0.7105, allocations: 3.343 MB / 0.741 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007738/0.7113, allocations: 1.215 MB / 0.7422 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/0.7118, allocations: 151.3 kB / 0.7423 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of SimCode: time 7.91e-07/0.7119, allocations: 3.938 kB / 0.7423 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of Templates: time 0.04782/0.7597, allocations: 36.48 MB / 0.778 GB, free: 8.902 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)