Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00101/0.00101, allocations: 104.6 kB / 16.35 MB, free: 5.895 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.0009778/0.0009779, allocations: 192.3 kB / 17.29 MB, free: 5.527 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.224/1.224, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.738/0.738, allocations: 135.1 MB / 426.3 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 59.91 kB / 0.5067 GB, free: 7.656 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2846/0.2858, allocations: 80.91 MB / 0.5858 GB, free: 25.54 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05399/0.3398, allocations: 69.9 MB / 0.654 GB, free: 4.648 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01857/0.3584, allocations: 14.45 MB / 0.6681 GB, free: 6.16 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001904/0.3604, allocations: 75.56 kB / 0.6682 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002024/0.3624, allocations: 0.9199 MB / 0.6691 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.005639/0.3681, allocations: 2.547 MB / 0.6716 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004229/0.3723, allocations: 1.982 MB / 0.6735 GB, free: 0.6484 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.005061/0.3774, allocations: 4.624 MB / 0.678 GB, free: 12.02 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001829/0.3792, allocations: 1.618 MB / 0.6796 GB, free: 10.37 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003/0.3822, allocations: 1.764 MB / 0.6813 GB, free: 8.605 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001425/0.3837, allocations: 1.268 MB / 0.6826 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002322/0.3839, allocations: 196 kB / 0.6828 GB, free: 7.141 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003476/0.3874, allocations: 1.977 MB / 0.6847 GB, free: 5.16 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003985/0.3878, allocations: 462.5 kB / 0.6851 GB, free: 4.707 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0009581/0.3888, allocations: 1.015 MB / 0.6861 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003873/0.3927, allocations: 3.494 MB / 0.6895 GB, free: 188 kB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.557e-06/0.3927, allocations: 4 kB / 0.6896 GB, free: 184 kB / 0.5137 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3927, allocations: 0 / 0.6896 GB, free: 184 kB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.905e-05/0.3927, allocations: 0 / 0.6896 GB, free: 184 kB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.003481/0.3962, allocations: 2.302 MB / 0.6918 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.201e-05/0.3962, allocations: 9.109 kB / 0.6918 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004764/0.401, allocations: 0.6541 MB / 0.6924 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002368/0.4034, allocations: 1.576 MB / 0.694 GB, free: 11.51 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/0.4035, allocations: 128 kB / 0.6941 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000173/0.4037, allocations: 116 kB / 0.6942 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.4071, allocations: 1.614 MB / 0.6958 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.291e-05/0.4071, allocations: 3.938 kB / 0.6958 GB, free: 9.551 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001199/0.4072, allocations: 59.94 kB / 0.6959 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.478e-05/0.4073, allocations: 32 kB / 0.6959 GB, free: 9.461 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004157/0.4114, allocations: 1.417 MB / 0.6973 GB, free: 8.035 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.008771/0.4202, allocations: 7.175 MB / 0.7043 GB, free: 488 kB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00215/0.4224, allocations: 0.7887 MB / 0.705 GB, free: 15.68 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.4239, allocations: 490.8 kB / 0.7055 GB, free: 15.2 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001207/0.4251, allocations: 1.27 MB / 0.7068 GB, free: 13.65 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.855e-05/0.4251, allocations: 51.06 kB / 0.7068 GB, free: 13.59 MB / 0.545 GB Notification: Performance of pre-optimization done (n=68): time 2.464e-06/0.4252, allocations: 0 / 0.7068 GB, free: 13.59 MB / 0.545 GB Notification: Performance of matching and sorting (n=68): time 0.008953/0.4341, allocations: 2.111 MB / 0.7089 GB, free: 11.45 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.733e-05/0.4342, allocations: 111.4 kB / 0.709 GB, free: 11.32 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001895/0.4361, allocations: 1.379 MB / 0.7103 GB, free: 9.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.381e-05/0.4362, allocations: 45.7 kB / 0.7104 GB, free: 9.879 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005537/0.4368, allocations: 0.688 MB / 0.711 GB, free: 9.184 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001935/0.437, allocations: 232.6 kB / 0.7113 GB, free: 8.953 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003458/0.4373, allocations: 226.3 kB / 0.7115 GB, free: 8.723 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001178/0.4374, allocations: 341.9 kB / 0.7118 GB, free: 8.383 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001714/0.4392, allocations: 484.5 kB / 0.7123 GB, free: 7.906 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.4411, allocations: 0.7438 MB / 0.713 GB, free: 7.051 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003241/0.4443, allocations: 1.098 MB / 0.7141 GB, free: 5.863 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.4444, allocations: 0 / 0.7141 GB, free: 5.863 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004372/0.4487, allocations: 1.503 MB / 0.7155 GB, free: 4.348 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.4488, allocations: 8 kB / 0.7155 GB, free: 4.34 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.889e-06/0.4488, allocations: 4 kB / 0.7155 GB, free: 4.336 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.4503, allocations: 452.9 kB / 0.716 GB, free: 3.895 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.4516, allocations: 247.6 kB / 0.7162 GB, free: 3.652 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001383/0.4529, allocations: 1.065 MB / 0.7172 GB, free: 2.562 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001879/0.4548, allocations: 214.7 kB / 0.7175 GB, free: 2.352 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001051/0.455, allocations: 55.88 kB / 0.7175 GB, free: 2.297 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002127/0.4571, allocations: 0.7751 MB / 0.7183 GB, free: 1.52 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001905/0.459, allocations: 0.7431 MB / 0.719 GB, free: 0.668 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003185/0.4622, allocations: 1.09 MB / 0.7201 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.206e-06/0.4622, allocations: 0 / 0.7201 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.004366/0.4666, allocations: 1.495 MB / 0.7215 GB, free: 13.99 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.4666, allocations: 8 kB / 0.7215 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.4666, allocations: 8 kB / 0.7215 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00135/0.468, allocations: 450.5 kB / 0.722 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001276/0.4693, allocations: 247.6 kB / 0.7222 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001351/0.4706, allocations: 1.064 MB / 0.7232 GB, free: 12.2 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001851/0.4725, allocations: 179.2 kB / 0.7234 GB, free: 12.03 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.59e-05/0.4726, allocations: 51.95 kB / 0.7235 GB, free: 11.98 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: 2 (heaPum.com.isOn,$PRE.heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * 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 {(4,23)} Notification: Performance of prepare postOptimizeDAE: time 0.0002866/0.4729, allocations: 248.9 kB / 0.7237 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002622/0.4732, allocations: 150.2 kB / 0.7238 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.477, allocations: 1.269 MB / 0.7251 GB, free: 10.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.111e-05/0.477, allocations: 8 kB / 0.7251 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.1e-06/0.477, allocations: 0 / 0.7251 GB, free: 10.28 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003211/0.4802, allocations: 1.08 MB / 0.7261 GB, free: 9.164 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006869/0.4871, allocations: 3.383 MB / 0.7294 GB, free: 5.57 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.164e-06/0.4871, allocations: 4.125 kB / 0.7294 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008737/0.488, allocations: 152.1 kB / 0.7296 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001361/0.4894, allocations: 456.9 kB / 0.73 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.758e-05/0.4894, allocations: 23.97 kB / 0.73 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.4908, allocations: 1.052 MB / 0.7311 GB, free: 3.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.4908, allocations: 7.938 kB / 0.7311 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003575/0.4944, allocations: 1.35 MB / 0.7324 GB, free: 2.445 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005676/0.4949, allocations: 355 kB / 0.7327 GB, free: 2.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001942/0.4952, allocations: 19.98 kB / 0.7328 GB, free: 2.059 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001465/0.4966, allocations: 115.8 kB / 0.7329 GB, free: 1.945 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.4967, allocations: 56.25 kB / 0.7329 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.863e-05/0.4968, allocations: 47.94 kB / 0.733 GB, free: 1.844 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001417/0.4983, allocations: 0.9693 MB / 0.7339 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4983, allocations: 0 / 0.7339 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.002082/0.5004, allocations: 0.9008 MB / 0.7348 GB, free: 15.97 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {(4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001008/0.5014, allocations: 0.5444 MB / 0.7353 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.005635/0.507, allocations: 1.787 MB / 0.7371 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 7.675e-06/0.507, allocations: 7.781 kB / 0.7371 GB, free: 13.63 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001635/0.5087, allocations: 0.5178 MB / 0.7376 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002986/0.5117, allocations: 0.8217 MB / 0.7384 GB, free: 12.34 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004622/0.5163, allocations: 2.511 MB / 0.7408 GB, free: 9.746 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007388/0.5171, allocations: 1.211 MB / 0.742 GB, free: 8.508 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001175/0.5183, allocations: 341.5 kB / 0.7423 GB, free: 8.18 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002836/0.5185, allocations: 127.3 kB / 0.7425 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of SimCode: time 5.51e-07/0.5185, allocations: 0 / 0.7425 GB, free: 8.055 MB / 0.5762 GB Notification: Performance of Templates: time 0.2596/0.7781, allocations: 38.78 MB / 0.7803 GB, free: 136.4 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)