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-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_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.0008496/0.0008496, allocations: 100.1 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.0008996/0.0008996, allocations: 177.3 kB / 15.95 MB, free: 216 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.2/1.2, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8393/0.8393, allocations: 135.2 MB / 426.2 MB, free: 14.41 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003001/0.0003002, allocations: 15.98 kB / 0.5068 GB, free: 5.27 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1383/0.1386, allocations: 82.32 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.2664/0.4051, allocations: 58.54 MB / 0.6444 GB, free: 18.79 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01335/0.4184, allocations: 12.24 MB / 0.6563 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002457/0.4209, allocations: 57.84 kB / 0.6564 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001934/0.4229, allocations: 0.7924 MB / 0.6572 GB, free: 9.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005142/0.428, allocations: 2.242 MB / 0.6593 GB, free: 8.133 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004383/0.4324, allocations: 1.899 MB / 0.6612 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003907/0.4364, allocations: 2.691 MB / 0.6638 GB, free: 5.746 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001635/0.438, allocations: 1.181 MB / 0.665 GB, free: 5.293 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002356/0.4404, allocations: 1.278 MB / 0.6662 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001073/0.4415, allocations: 0.8302 MB / 0.667 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001629/0.4416, allocations: 68.94 kB / 0.6671 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002742/0.4444, allocations: 1.175 MB / 0.6683 GB, free: 3.992 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003189/0.4447, allocations: 310.6 kB / 0.6686 GB, free: 3.832 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004163/0.4451, allocations: 400.7 kB / 0.6689 GB, free: 3.609 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002856/0.448, allocations: 2.454 MB / 0.6713 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.448, allocations: 0 / 0.6713 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.974e-06/0.448, allocations: 0 / 0.6713 GB, free: 3.012 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.634e-05/0.448, allocations: 0 / 0.6713 GB, free: 3.012 MB / 0.4981 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.003497/0.4515, allocations: 1.969 MB / 0.6733 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.085e-05/0.4516, allocations: 10.05 kB / 0.6733 GB, free: 1.727 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004587/0.4562, allocations: 0.6986 MB / 0.6739 GB, free: 1.598 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.4584, allocations: 1.45 MB / 0.6754 GB, free: 0.7109 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001111/0.4586, allocations: 132 kB / 0.6755 GB, free: 0.6328 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001774/0.4587, allocations: 122.7 kB / 0.6756 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003515/0.4623, allocations: 1.644 MB / 0.6772 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.4623, allocations: 2.219 kB / 0.6772 GB, free: 15.85 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001355/0.4624, allocations: 49.69 kB / 0.6773 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.367e-05/0.4625, allocations: 37.7 kB / 0.6773 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004359/0.4669, allocations: 1.492 MB / 0.6788 GB, free: 15.33 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.009556/0.4764, allocations: 7.027 MB / 0.6856 GB, free: 10.44 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00212/0.4786, allocations: 0.783 MB / 0.6864 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001213/0.4798, allocations: 1.268 MB / 0.6876 GB, free: 8.738 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001817/0.4816, allocations: 0.6682 MB / 0.6883 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=69): time 2.655e-06/0.4816, allocations: 0 / 0.6883 GB, free: 8.453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=69): time 0.009246/0.4909, allocations: 2.153 MB / 0.6904 GB, free: 7.801 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001323/0.491, allocations: 323.4 kB / 0.6907 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002081/0.4931, allocations: 1.43 MB / 0.6921 GB, free: 6.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001194/0.4932, allocations: 46.55 kB / 0.6921 GB, free: 6.797 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.000568/0.4938, allocations: 0.7036 MB / 0.6928 GB, free: 6.238 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/0.4941, allocations: 235.6 kB / 0.693 GB, free: 6.055 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.319e-05/0.4941, allocations: 24.09 kB / 0.6931 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001127/0.4943, allocations: 343.6 kB / 0.6934 GB, free: 5.715 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001745/0.496, allocations: 0.5171 MB / 0.6939 GB, free: 5.562 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001928/0.4979, allocations: 0.8302 MB / 0.6947 GB, free: 5.047 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001837/0.4998, allocations: 0.6051 MB / 0.6953 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.4998, allocations: 2.344 kB / 0.6953 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006828/0.5066, allocations: 1.835 MB / 0.6971 GB, free: 4.102 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008616/0.5075, allocations: 2.521 MB / 0.6995 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.259e-05/0.5075, allocations: 6.969 kB / 0.6996 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001274/0.5088, allocations: 367.6 kB / 0.6999 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.5102, allocations: 280.7 kB / 0.7002 GB, free: 1.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001105/0.5113, allocations: 0.8988 MB / 0.7011 GB, free: 496 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00244/0.5138, allocations: 284.3 kB / 0.7013 GB, free: 348 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001136/0.5139, allocations: 62.41 kB / 0.7014 GB, free: 320 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 8.707e-06/0.5139, allocations: 3.5 kB / 0.7014 GB, free: 320 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006481/0.5204, allocations: 1.678 MB / 0.703 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.5204, allocations: 7.984 kB / 0.703 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001123/0.5216, allocations: 376 kB / 0.7034 GB, free: 15.32 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001328/0.5229, allocations: 276.8 kB / 0.7037 GB, free: 15.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.524, allocations: 0.8988 MB / 0.7045 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002138/0.5261, allocations: 260.9 kB / 0.7048 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001108/0.5262, allocations: 57.83 kB / 0.7048 GB, free: 14.35 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0008154/0.5271, allocations: 457.2 kB / 0.7053 GB, free: 13.99 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002378/0.5273, allocations: 148.2 kB / 0.7054 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003782/0.5311, allocations: 1.278 MB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/0.5311, allocations: 8.781 kB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/0.5311, allocations: 7.094 kB / 0.7067 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003157/0.5343, allocations: 1.082 MB / 0.7077 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006984/0.5413, allocations: 3.357 MB / 0.711 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.057e-05/0.5413, allocations: 7.281 kB / 0.711 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008898/0.5422, allocations: 173.6 kB / 0.7112 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/0.5434, allocations: 355.5 kB / 0.7115 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.142e-05/0.5434, allocations: 30.53 kB / 0.7116 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009986/0.5444, allocations: 0.9027 MB / 0.7124 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.5444, allocations: 3.062 kB / 0.7124 GB, free: 9.219 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005183/0.5496, allocations: 2.248 MB / 0.7146 GB, free: 7.594 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008312/0.5505, allocations: 406.3 kB / 0.715 GB, free: 7.242 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.5507, allocations: 25.7 kB / 0.715 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001586/0.5523, allocations: 171.3 kB / 0.7152 GB, free: 7.152 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001222/0.5524, allocations: 69.45 kB / 0.7153 GB, free: 7.113 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.371e-05/0.5525, allocations: 36.09 kB / 0.7153 GB, free: 7.102 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001505/0.554, allocations: 1.02 MB / 0.7163 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.6e-07/0.554, allocations: 0 / 0.7163 GB, free: 6.438 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002458/0.5565, allocations: 0.9163 MB / 0.7172 GB, free: 5.52 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001026/0.5575, allocations: 0.538 MB / 0.7177 GB, free: 4.984 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0059/0.5635, allocations: 2.021 MB / 0.7197 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 5.009e-06/0.5635, allocations: 0 / 0.7197 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001735/0.5652, allocations: 0.5682 MB / 0.7203 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003369/0.5686, allocations: 0.7776 MB / 0.721 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005239/0.5738, allocations: 3.16 MB / 0.7241 GB, free: 14.37 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007615/0.5746, allocations: 1.242 MB / 0.7253 GB, free: 13.1 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00156/0.5762, allocations: 377.1 kB / 0.7257 GB, free: 12.74 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/0.5765, allocations: 135.3 kB / 0.7258 GB, free: 12.61 MB / 0.545 GB Notification: Performance of SimCode: time 6.71e-07/0.5765, allocations: 0 / 0.7258 GB, free: 12.61 MB / 0.545 GB Notification: Performance of Templates: time 0.05122/0.6277, allocations: 36.71 MB / 0.7616 GB, free: 8.297 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: