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.001454/0.001454, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001505/0.001505, allocations: 189 kB / 16.25 MB, free: 6.633 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.373/1.373, allocations: 222.9 MB / 239.9 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9662/0.9662, allocations: 135.1 MB / 425.2 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001331/0.001331, allocations: 60.38 kB / 0.5048 GB, free: 5.676 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1568, allocations: 80.94 MB / 0.5839 GB, free: 4.91 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3345/0.4913, allocations: 69.29 MB / 0.6516 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01595/0.5073, allocations: 14.36 MB / 0.6656 GB, free: 0.9961 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00278/0.5101, allocations: 64.28 kB / 0.6656 GB, free: 0.9727 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002354/0.5125, allocations: 0.7917 MB / 0.6664 GB, free: 0.5156 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007123/0.5197, allocations: 2.362 MB / 0.6687 GB, free: 15.11 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00475/0.5244, allocations: 1.823 MB / 0.6705 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.00693/0.5314, allocations: 4.652 MB / 0.675 GB, free: 11.74 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00268/0.5341, allocations: 1.606 MB / 0.6766 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004732/0.5388, allocations: 1.766 MB / 0.6783 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002728/0.5416, allocations: 1.303 MB / 0.6796 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004074/0.542, allocations: 192.7 kB / 0.6798 GB, free: 9.48 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004925/0.5469, allocations: 1.945 MB / 0.6817 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005969/0.5476, allocations: 464.3 kB / 0.6821 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001982/0.5496, allocations: 1.028 MB / 0.6831 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007012/0.5566, allocations: 3.491 MB / 0.6865 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.5566, allocations: 0 / 0.6865 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of FrontEnd: time 3.297e-06/0.5566, allocations: 1.406 kB / 0.6865 GB, free: 6.574 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.752e-05/0.5567, allocations: 3.938 kB / 0.6866 GB, free: 6.57 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005389/0.5621, allocations: 2.305 MB / 0.6888 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.5621, allocations: 9.031 kB / 0.6888 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005428/0.5676, allocations: 0.6499 MB / 0.6894 GB, free: 4.953 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003129/0.5707, allocations: 1.544 MB / 0.691 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001498/0.5709, allocations: 131.2 kB / 0.6911 GB, free: 3.914 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002328/0.5711, allocations: 116.1 kB / 0.6912 GB, free: 3.879 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004174/0.5753, allocations: 1.63 MB / 0.6928 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.5754, allocations: 1.438 kB / 0.6928 GB, free: 3.121 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/0.5755, allocations: 50.92 kB / 0.6928 GB, free: 3.086 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.838e-05/0.5756, allocations: 39.73 kB / 0.6929 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004915/0.5805, allocations: 1.419 MB / 0.6943 GB, free: 2.605 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.01128/0.5918, allocations: 7.169 MB / 0.7013 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002352/0.5942, allocations: 0.7871 MB / 0.702 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.5958, allocations: 483.3 kB / 0.7025 GB, free: 13.01 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/0.5972, allocations: 1.278 MB / 0.7037 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.482e-05/0.5972, allocations: 44.41 kB / 0.7038 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.474e-06/0.5972, allocations: 4 kB / 0.7038 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01039/0.6076, allocations: 2.118 MB / 0.7058 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.34e-05/0.6077, allocations: 109.8 kB / 0.706 GB, free: 10.58 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002289/0.61, allocations: 1.365 MB / 0.7073 GB, free: 9.832 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001435/0.6101, allocations: 44.61 kB / 0.7073 GB, free: 9.789 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006169/0.6108, allocations: 0.6839 MB / 0.708 GB, free: 9.184 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002632/0.611, allocations: 237.9 kB / 0.7082 GB, free: 8.977 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003955/0.6114, allocations: 232.2 kB / 0.7084 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001226/0.6116, allocations: 333 kB / 0.7088 GB, free: 8.504 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.6135, allocations: 487.4 kB / 0.7092 GB, free: 8.262 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002154/0.6157, allocations: 0.7482 MB / 0.71 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003395/0.6191, allocations: 1.087 MB / 0.711 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.6191, allocations: 1.781 kB / 0.711 GB, free: 6.992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005506/0.6247, allocations: 1.514 MB / 0.7125 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.6247, allocations: 10.81 kB / 0.7125 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.378e-05/0.6247, allocations: 7.734 kB / 0.7125 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001558/0.6263, allocations: 443.1 kB / 0.7129 GB, free: 6.031 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001417/0.6277, allocations: 247.5 kB / 0.7132 GB, free: 5.945 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001553/0.6293, allocations: 1.06 MB / 0.7142 GB, free: 5.137 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002629/0.6319, allocations: 253.3 kB / 0.7145 GB, free: 5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/0.632, allocations: 54.08 kB / 0.7145 GB, free: 4.98 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002416/0.6345, allocations: 0.7726 MB / 0.7153 GB, free: 4.523 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002018/0.6365, allocations: 0.7439 MB / 0.716 GB, free: 3.949 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00353/0.64, allocations: 1.09 MB / 0.7171 GB, free: 3.242 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.92e-06/0.6401, allocations: 10.31 kB / 0.7171 GB, free: 3.234 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005014/0.6451, allocations: 1.492 MB / 0.7185 GB, free: 2.312 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.962e-05/0.6451, allocations: 10.03 kB / 0.7185 GB, free: 2.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.628e-06/0.6451, allocations: 4.562 kB / 0.7185 GB, free: 2.301 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/0.6467, allocations: 460.7 kB / 0.719 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001423/0.6481, allocations: 239.6 kB / 0.7192 GB, free: 1.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001481/0.6496, allocations: 1.07 MB / 0.7202 GB, free: 0.5234 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002561/0.6522, allocations: 215.3 kB / 0.7204 GB, free: 320 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001121/0.6523, allocations: 55.94 kB / 0.7205 GB, free: 264 kB / 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: 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.0003843/0.6527, allocations: 239.2 kB / 0.7207 GB, free: 20 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003853/0.6531, allocations: 142.3 kB / 0.7209 GB, free: 15.88 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004309/0.6574, allocations: 1.276 MB / 0.7221 GB, free: 14.58 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.45e-05/0.6575, allocations: 7.984 kB / 0.7221 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.6575, allocations: 4 kB / 0.7221 GB, free: 14.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003556/0.661, allocations: 1.084 MB / 0.7232 GB, free: 13.45 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008147/0.6692, allocations: 3.369 MB / 0.7265 GB, free: 9.875 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.787e-06/0.6692, allocations: 4 kB / 0.7265 GB, free: 9.871 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009704/0.6702, allocations: 151.9 kB / 0.7266 GB, free: 9.723 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/0.6717, allocations: 446 kB / 0.727 GB, free: 9.289 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/0.6718, allocations: 27.91 kB / 0.7271 GB, free: 9.262 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.6732, allocations: 1.057 MB / 0.7281 GB, free: 8.18 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.259e-06/0.6732, allocations: 4 kB / 0.7281 GB, free: 8.176 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004195/0.6775, allocations: 1.35 MB / 0.7294 GB, free: 6.754 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000727/0.6782, allocations: 347.1 kB / 0.7298 GB, free: 6.395 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000261/0.6785, allocations: 20 kB / 0.7298 GB, free: 6.375 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001832/0.6803, allocations: 139.8 kB / 0.7299 GB, free: 6.238 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.6804, allocations: 52.25 kB / 0.73 GB, free: 6.188 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001002/0.6805, allocations: 51.94 kB / 0.73 GB, free: 6.137 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001631/0.6822, allocations: 0.9653 MB / 0.731 GB, free: 5.172 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.1e-07/0.6822, allocations: 0 / 0.731 GB, free: 5.172 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002856/0.6851, allocations: 0.8889 MB / 0.7318 GB, free: 4.281 MB / 0.545 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.0014/0.6865, allocations: 0.5417 MB / 0.7323 GB, free: 3.746 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006652/0.6931, allocations: 1.816 MB / 0.7341 GB, free: 1.938 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.294e-06/0.6932, allocations: 0 / 0.7341 GB, free: 1.938 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001956/0.6951, allocations: 0.5172 MB / 0.7346 GB, free: 1.422 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004325/0.6995, allocations: 0.8227 MB / 0.7354 GB, free: 0.6211 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005917/0.7054, allocations: 3.07 MB / 0.7384 GB, free: 13.48 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008018/0.7062, allocations: 1.203 MB / 0.7396 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002061/0.7083, allocations: 351.1 kB / 0.7399 GB, free: 11.91 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000346/0.7087, allocations: 119.4 kB / 0.7401 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of SimCode: time 6.41e-07/0.7087, allocations: 4 kB / 0.7401 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of Templates: time 0.06631/0.775, allocations: 38.23 MB / 0.7774 GB, free: 5.973 MB / 0.5919 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)