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.00157/0.001571, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.002818/0.002818, allocations: 197.4 kB / 16.26 MB, free: 6.629 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.415/1.415, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9423/0.9423, allocations: 135.2 MB / 425.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001214/0.001214, allocations: 60.94 kB / 0.5049 GB, free: 5.629 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1538/0.1551, allocations: 80.94 MB / 0.5839 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.3246/0.4797, allocations: 69.3 MB / 0.6516 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01777/0.4975, allocations: 14.35 MB / 0.6656 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003512/0.5011, allocations: 67.69 kB / 0.6657 GB, free: 0.9219 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002635/0.5037, allocations: 0.7935 MB / 0.6665 GB, free: 476 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006717/0.5105, allocations: 2.37 MB / 0.6688 GB, free: 15.06 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004794/0.5153, allocations: 1.817 MB / 0.6705 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006712/0.522, allocations: 4.65 MB / 0.6751 GB, free: 11.69 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002638/0.5247, allocations: 1.602 MB / 0.6767 GB, free: 10.91 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005019/0.5297, allocations: 1.772 MB / 0.6784 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003168/0.5329, allocations: 1.301 MB / 0.6797 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0007683/0.5337, allocations: 193.5 kB / 0.6798 GB, free: 9.426 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006186/0.5399, allocations: 1.948 MB / 0.6817 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001143/0.5411, allocations: 471.8 kB / 0.6822 GB, free: 8.449 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.002737/0.5438, allocations: 1.021 MB / 0.6832 GB, free: 7.816 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008025/0.5519, allocations: 3.494 MB / 0.6866 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.202e-06/0.5519, allocations: 1.125 kB / 0.6866 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.834e-06/0.5519, allocations: 0 / 0.6866 GB, free: 6.516 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.854e-05/0.552, allocations: 0 / 0.6866 GB, free: 6.516 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.006634/0.5587, allocations: 2.298 MB / 0.6888 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/0.5587, allocations: 9.344 kB / 0.6889 GB, free: 5.023 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005865/0.5646, allocations: 0.6538 MB / 0.6895 GB, free: 4.902 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003937/0.5686, allocations: 1.556 MB / 0.691 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002082/0.5688, allocations: 123.2 kB / 0.6911 GB, free: 3.859 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000436/0.5692, allocations: 120.2 kB / 0.6912 GB, free: 3.82 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00551/0.5748, allocations: 1.615 MB / 0.6928 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.026e-05/0.5748, allocations: 9.188 kB / 0.6928 GB, free: 3.07 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002742/0.5751, allocations: 53.64 kB / 0.6929 GB, free: 3.031 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.867e-05/0.5752, allocations: 40.97 kB / 0.6929 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005159/0.5803, allocations: 1.413 MB / 0.6943 GB, free: 2.555 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.0124/0.5928, allocations: 7.174 MB / 0.7013 GB, free: 13.39 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002351/0.5951, allocations: 0.7927 MB / 0.7021 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001661/0.5968, allocations: 484.1 kB / 0.7025 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/0.5982, allocations: 1.273 MB / 0.7038 GB, free: 11.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.1e-05/0.5983, allocations: 40.06 kB / 0.7038 GB, free: 11.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=68): time 3.737e-06/0.5983, allocations: 4 kB / 0.7038 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=68): time 0.01072/0.609, allocations: 2.116 MB / 0.7059 GB, free: 10.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.507e-05/0.6091, allocations: 109.7 kB / 0.706 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003276/0.6124, allocations: 1.365 MB / 0.7073 GB, free: 9.734 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002634/0.6127, allocations: 44.92 kB / 0.7074 GB, free: 9.691 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008456/0.6135, allocations: 0.6876 MB / 0.708 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003621/0.6139, allocations: 238.4 kB / 0.7083 GB, free: 8.875 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005662/0.6145, allocations: 227.5 kB / 0.7085 GB, free: 8.73 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.6146, allocations: 338 kB / 0.7088 GB, free: 8.402 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002015/0.6167, allocations: 486.8 kB / 0.7093 GB, free: 8.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002219/0.6189, allocations: 0.7471 MB / 0.71 GB, free: 7.59 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003581/0.6225, allocations: 1.092 MB / 0.7111 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/0.6225, allocations: 2.344 kB / 0.7111 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.005109/0.6276, allocations: 1.509 MB / 0.7125 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.421e-05/0.6277, allocations: 8.5 kB / 0.7126 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.369e-05/0.6277, allocations: 5.562 kB / 0.7126 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001631/0.6293, allocations: 457.5 kB / 0.713 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001471/0.6308, allocations: 251.3 kB / 0.7132 GB, free: 5.836 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00154/0.6324, allocations: 1.058 MB / 0.7143 GB, free: 5.027 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002697/0.6351, allocations: 251.2 kB / 0.7145 GB, free: 4.895 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/0.6352, allocations: 54.03 kB / 0.7146 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002532/0.6378, allocations: 0.7754 MB / 0.7153 GB, free: 4.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002063/0.6399, allocations: 0.7402 MB / 0.716 GB, free: 3.844 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003518/0.6434, allocations: 1.089 MB / 0.7171 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.835e-06/0.6434, allocations: 4.391 kB / 0.7171 GB, free: 3.137 MB / 0.5294 GB Notification: Performance of matching and sorting (n=108) (initialization_lambda0): time 0.005056/0.6485, allocations: 1.502 MB / 0.7186 GB, free: 2.191 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.6485, allocations: 9.25 kB / 0.7186 GB, free: 2.184 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.6485, allocations: 4 kB / 0.7186 GB, free: 2.18 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001492/0.65, allocations: 453.8 kB / 0.719 GB, free: 1.734 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.6515, allocations: 239.6 kB / 0.7193 GB, free: 1.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001541/0.653, allocations: 1.067 MB / 0.7203 GB, free: 416 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00263/0.6556, allocations: 211.2 kB / 0.7205 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001384/0.6558, allocations: 51.95 kB / 0.7205 GB, free: 152 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.0004487/0.6563, allocations: 243.1 kB / 0.7208 GB, free: 15.91 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005075/0.6568, allocations: 150.2 kB / 0.7209 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004278/0.6611, allocations: 1.276 MB / 0.7222 GB, free: 14.46 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/0.6611, allocations: 15.94 kB / 0.7222 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/0.6611, allocations: 0 / 0.7222 GB, free: 14.45 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003513/0.6646, allocations: 1.076 MB / 0.7232 GB, free: 13.34 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00971/0.6743, allocations: 3.371 MB / 0.7265 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.218e-05/0.6744, allocations: 4 kB / 0.7265 GB, free: 9.754 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000948/0.6753, allocations: 147.9 kB / 0.7267 GB, free: 9.609 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.6768, allocations: 451 kB / 0.7271 GB, free: 9.172 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-05/0.6769, allocations: 23.92 kB / 0.7271 GB, free: 9.148 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001479/0.6784, allocations: 1.057 MB / 0.7282 GB, free: 8.066 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.729e-06/0.6784, allocations: 4 kB / 0.7282 GB, free: 8.062 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00426/0.6827, allocations: 1.354 MB / 0.7295 GB, free: 6.641 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/0.6838, allocations: 351.1 kB / 0.7298 GB, free: 6.277 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000531/0.6843, allocations: 20.12 kB / 0.7298 GB, free: 6.258 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/0.6864, allocations: 147.7 kB / 0.73 GB, free: 6.113 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001145/0.6865, allocations: 52.25 kB / 0.73 GB, free: 6.062 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/0.6867, allocations: 47.94 kB / 0.7301 GB, free: 6.016 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001861/0.6885, allocations: 0.9654 MB / 0.731 GB, free: 5.051 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.6885, allocations: 0 / 0.731 GB, free: 5.051 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003323/0.6919, allocations: 0.8811 MB / 0.7319 GB, free: 4.168 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.001576/0.6935, allocations: 0.5375 MB / 0.7324 GB, free: 3.637 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.006747/0.7002, allocations: 1.82 MB / 0.7342 GB, free: 1.82 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.17e-05/0.7003, allocations: 0 / 0.7342 GB, free: 1.82 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001962/0.7022, allocations: 0.517 MB / 0.7347 GB, free: 1.305 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005549/0.7078, allocations: 0.8177 MB / 0.7355 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006903/0.7147, allocations: 3.067 MB / 0.7385 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009649/0.7157, allocations: 1.211 MB / 0.7397 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.002055/0.7178, allocations: 339.8 kB / 0.74 GB, free: 11.81 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003767/0.7182, allocations: 123.3 kB / 0.7401 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of SimCode: time 1.562e-06/0.7182, allocations: 0 / 0.7401 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of Templates: time 0.06592/0.7841, allocations: 38.24 MB / 0.7774 GB, free: 5.859 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)