Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001324/0.001324, allocations: 109.2 kB / 16.37 MB, free: 6.477 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.001415/0.001415, allocations: 193.1 kB / 17.31 MB, free: 5.824 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.425/1.425, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7853/0.7853, allocations: 132.2 MB / 423.4 MB, free: 6.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002187/0.002187, allocations: 63.91 kB / 0.5032 GB, free: 10.95 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4441/0.4463, allocations: 80.18 MB / 0.5815 GB, free: 27.64 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05994/0.5063, allocations: 69.92 MB / 0.6498 GB, free: 8.152 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02027/0.5266, allocations: 14.45 MB / 0.6639 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0028/0.5294, allocations: 71.56 kB / 0.664 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002731/0.5323, allocations: 0.9238 MB / 0.6649 GB, free: 8.668 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007532/0.5398, allocations: 2.541 MB / 0.6673 GB, free: 6.121 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005266/0.5451, allocations: 1.979 MB / 0.6693 GB, free: 4.164 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007806/0.5529, allocations: 4.634 MB / 0.6738 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002808/0.5557, allocations: 1.602 MB / 0.6754 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004784/0.5606, allocations: 1.772 MB / 0.6771 GB, free: 12.11 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00238/0.5629, allocations: 1.268 MB / 0.6783 GB, free: 10.84 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003857/0.5633, allocations: 192 kB / 0.6785 GB, free: 10.65 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005211/0.5686, allocations: 1.981 MB / 0.6804 GB, free: 8.664 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0009792/0.5696, allocations: 466.4 kB / 0.6809 GB, free: 8.207 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002406/0.572, allocations: 1.019 MB / 0.6819 GB, free: 7.184 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.006196/0.5782, allocations: 3.49 MB / 0.6853 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.5783, allocations: 4 kB / 0.6853 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.294e-06/0.5783, allocations: 0 / 0.6853 GB, free: 3.68 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.319e-05/0.5783, allocations: 0 / 0.6853 GB, free: 3.68 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.004121/0.5824, allocations: 2.294 MB / 0.6875 GB, free: 1.316 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.5825, allocations: 15.97 kB / 0.6876 GB, free: 1.301 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004947/0.5874, allocations: 0.658 MB / 0.6882 GB, free: 0.6406 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003228/0.5907, allocations: 1.579 MB / 0.6897 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.5909, allocations: 120 kB / 0.6898 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.5911, allocations: 120 kB / 0.69 GB, free: 14.77 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003928/0.595, allocations: 1.61 MB / 0.6915 GB, free: 13.06 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.194e-05/0.5951, allocations: 11.92 kB / 0.6915 GB, free: 13.05 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001305/0.5952, allocations: 51.94 kB / 0.6916 GB, free: 13 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.966e-05/0.5953, allocations: 35.98 kB / 0.6916 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004414/0.5997, allocations: 1.425 MB / 0.693 GB, free: 11.53 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.01052/0.6102, allocations: 7.163 MB / 0.7 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.6124, allocations: 0.7947 MB / 0.7008 GB, free: 3.18 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001516/0.614, allocations: 488.8 kB / 0.7013 GB, free: 2.699 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001345/0.6153, allocations: 1.271 MB / 0.7025 GB, free: 1.152 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.555e-05/0.6154, allocations: 47.06 kB / 0.7025 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 2.625e-06/0.6154, allocations: 0 / 0.7025 GB, free: 1.098 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.009181/0.6246, allocations: 2.104 MB / 0.7046 GB, free: 14.96 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.637e-05/0.6247, allocations: 111.4 kB / 0.7047 GB, free: 14.83 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002087/0.6268, allocations: 1.379 MB / 0.7061 GB, free: 13.44 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001208/0.6269, allocations: 49.64 kB / 0.7061 GB, free: 13.39 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005815/0.6275, allocations: 0.6919 MB / 0.7068 GB, free: 12.69 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/0.6277, allocations: 232.7 kB / 0.707 GB, free: 12.46 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003669/0.6281, allocations: 226.3 kB / 0.7072 GB, free: 12.23 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001515/0.6283, allocations: 334 kB / 0.7075 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0018/0.6301, allocations: 492.5 kB / 0.708 GB, free: 11.41 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00201/0.6321, allocations: 0.7433 MB / 0.7087 GB, free: 10.56 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003255/0.6354, allocations: 1.094 MB / 0.7098 GB, free: 9.383 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.6354, allocations: 7.938 kB / 0.7098 GB, free: 9.375 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004622/0.64, allocations: 1.496 MB / 0.7113 GB, free: 7.867 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/0.6401, allocations: 8 kB / 0.7113 GB, free: 7.859 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.314e-05/0.6401, allocations: 11.98 kB / 0.7113 GB, free: 7.848 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.6416, allocations: 450.4 kB / 0.7117 GB, free: 7.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.6429, allocations: 251.5 kB / 0.712 GB, free: 7.164 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001476/0.6444, allocations: 1.06 MB / 0.713 GB, free: 6.078 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002107/0.6465, allocations: 226.8 kB / 0.7132 GB, free: 5.855 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001205/0.6466, allocations: 55.89 kB / 0.7133 GB, free: 5.801 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002185/0.6488, allocations: 0.7673 MB / 0.714 GB, free: 5.027 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001879/0.6507, allocations: 0.7431 MB / 0.7147 GB, free: 4.176 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003183/0.6539, allocations: 1.086 MB / 0.7158 GB, free: 3.004 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.961e-06/0.6539, allocations: 4 kB / 0.7158 GB, free: 3 MB / 0.545 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.00459/0.6585, allocations: 1.492 MB / 0.7173 GB, free: 1.496 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.6585, allocations: 8 kB / 0.7173 GB, free: 1.488 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.6586, allocations: 11.98 kB / 0.7173 GB, free: 1.477 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.66, allocations: 441.4 kB / 0.7177 GB, free: 1.047 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001291/0.6613, allocations: 251.5 kB / 0.7179 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001417/0.6627, allocations: 1.065 MB / 0.719 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00201/0.6647, allocations: 183.2 kB / 0.7191 GB, free: 15.53 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000104/0.6648, allocations: 55.95 kB / 0.7192 GB, free: 15.48 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.000319/0.6652, allocations: 232.6 kB / 0.7194 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002839/0.6655, allocations: 150.2 kB / 0.7196 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003865/0.6693, allocations: 1.264 MB / 0.7208 GB, free: 13.81 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.256e-05/0.6694, allocations: 12 kB / 0.7208 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.224e-06/0.6694, allocations: 4 kB / 0.7208 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003238/0.6726, allocations: 1.084 MB / 0.7219 GB, free: 12.68 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007154/0.6798, allocations: 3.387 MB / 0.7252 GB, free: 9.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.807e-06/0.6798, allocations: 4 kB / 0.7252 GB, free: 9.074 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008804/0.6807, allocations: 151.9 kB / 0.7253 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001392/0.6821, allocations: 446.9 kB / 0.7258 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.276e-05/0.6822, allocations: 31.97 kB / 0.7258 GB, free: 8.461 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.6836, allocations: 1.044 MB / 0.7268 GB, free: 7.391 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.237e-06/0.6836, allocations: 11.94 kB / 0.7268 GB, free: 7.379 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003803/0.6874, allocations: 1.346 MB / 0.7281 GB, free: 5.965 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007567/0.6882, allocations: 359 kB / 0.7285 GB, free: 5.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00022/0.6884, allocations: 16 kB / 0.7285 GB, free: 5.578 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001532/0.6899, allocations: 119.8 kB / 0.7286 GB, free: 5.461 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.6901, allocations: 56.25 kB / 0.7287 GB, free: 5.406 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.537e-05/0.6902, allocations: 43.95 kB / 0.7287 GB, free: 5.363 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001554/0.6917, allocations: 0.981 MB / 0.7297 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6917, allocations: 0 / 0.7297 GB, free: 4.383 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00231/0.694, allocations: 0.8889 MB / 0.7305 GB, free: 3.492 MB / 0.5606 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.001161/0.6952, allocations: 0.5534 MB / 0.7311 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.005959/0.7012, allocations: 1.787 MB / 0.7328 GB, free: 1.164 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.692e-06/0.7012, allocations: 3.781 kB / 0.7328 GB, free: 1.16 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001753/0.703, allocations: 0.5171 MB / 0.7333 GB, free: 0.6445 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003371/0.7063, allocations: 0.8138 MB / 0.7341 GB, free: 15.88 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005179/0.7115, allocations: 2.521 MB / 0.7366 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007912/0.7124, allocations: 1.207 MB / 0.7378 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00136/0.7137, allocations: 354.8 kB / 0.7381 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002949/0.714, allocations: 127.3 kB / 0.7382 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of SimCode: time 9.21e-07/0.714, allocations: 0 / 0.7382 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of Templates: time 0.3356/1.05, allocations: 38.76 MB / 0.7761 GB, free: 143 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1)