Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 114.5 kB / 17.09 MB, free: 5.965 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.001274/0.001274, allocations: 200.2 kB / 18.03 MB, free: 5.043 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.255/1.255, allocations: 222.9 MB / 241.7 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6746/0.6746, allocations: 115.3 MB / 407.2 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001209/0.001209, allocations: 66.95 kB / 0.5584 GB, free: 32.21 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1341, allocations: 76.18 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.4796/0.6138, allocations: 130.8 MB / 0.7605 GB, free: 28.67 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03858/0.6524, allocations: 25.08 MB / 0.785 GB, free: 28.16 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007572/0.66, allocations: 138.6 kB / 0.7851 GB, free: 28.16 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.005204/0.6653, allocations: 1.739 MB / 0.7868 GB, free: 28.12 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01365/0.679, allocations: 4.554 MB / 0.7913 GB, free: 27.4 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.009745/0.6887, allocations: 3.51 MB / 0.7947 GB, free: 25.79 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01201/0.7008, allocations: 9.035 MB / 0.8035 GB, free: 21.54 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00477/0.7056, allocations: 3.213 MB / 0.8066 GB, free: 19.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008241/0.7139, allocations: 3.519 MB / 0.8101 GB, free: 17.56 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005298/0.7192, allocations: 2.477 MB / 0.8125 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.001316/0.7205, allocations: 390.3 kB / 0.8129 GB, free: 16.2 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008212/0.7288, allocations: 2.89 MB / 0.8157 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001318/0.7301, allocations: 0.8877 MB / 0.8166 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003741/0.7339, allocations: 2.001 MB / 0.8185 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01103/0.7449, allocations: 6.375 MB / 0.8247 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.514e-06/0.745, allocations: 0 / 0.8247 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.104e-06/0.745, allocations: 0 / 0.8247 GB, free: 7.465 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001105/0.7451, allocations: 0 / 0.8247 GB, free: 7.465 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.007091/0.7522, allocations: 4.099 MB / 0.8287 GB, free: 3.309 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.7523, allocations: 8.031 kB / 0.8287 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01011/0.7624, allocations: 1.292 MB / 0.83 GB, free: 2.004 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005281/0.7677, allocations: 2.987 MB / 0.8329 GB, free: 15.01 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000257/0.768, allocations: 256 kB / 0.8332 GB, free: 14.74 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004443/0.7685, allocations: 232 kB / 0.8334 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008123/0.7766, allocations: 3.159 MB / 0.8365 GB, free: 11.17 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.511e-05/0.7767, allocations: 7.938 kB / 0.8365 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003026/0.777, allocations: 101.6 kB / 0.8366 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.905e-05/0.7771, allocations: 64 kB / 0.8366 GB, free: 11 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009103/0.7862, allocations: 2.756 MB / 0.8393 GB, free: 8.23 MB / 0.5919 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.02214/0.8084, allocations: 13.55 MB / 0.8526 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004512/0.8129, allocations: 1.401 MB / 0.8539 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003036/0.816, allocations: 0.854 MB / 0.8548 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001916/0.8179, allocations: 1.781 MB / 0.8565 GB, free: 5.742 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00386/0.8218, allocations: 1.131 MB / 0.8576 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=126): time 4.168e-06/0.8218, allocations: 0 / 0.8576 GB, free: 4.559 MB / 0.6075 GB Notification: Performance of matching and sorting (n=132): time 0.03361/0.8554, allocations: 9.544 MB / 0.8669 GB, free: 10.9 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002942/0.8558, allocations: 0.5766 MB / 0.8675 GB, free: 10.19 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004375/0.8602, allocations: 2.644 MB / 0.8701 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0003223/0.8605, allocations: 65.7 kB / 0.8701 GB, free: 7.457 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.8618, allocations: 1.335 MB / 0.8714 GB, free: 6.113 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005101/0.8623, allocations: 466.7 kB / 0.8719 GB, free: 5.66 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007419/0.863, allocations: 462.9 kB / 0.8723 GB, free: 5.203 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8632, allocations: 301.1 kB / 0.8726 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00371/0.8669, allocations: 0.9377 MB / 0.8735 GB, free: 3.965 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004252/0.8711, allocations: 1.524 MB / 0.875 GB, free: 2.199 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007113/0.8783, allocations: 2.169 MB / 0.8771 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/0.8783, allocations: 0 / 0.8771 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01194/0.8902, allocations: 3.096 MB / 0.8802 GB, free: 12.74 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 5.661e-05/0.8903, allocations: 37.69 kB / 0.8802 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.099e-05/0.8904, allocations: 12 kB / 0.8802 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003128/0.8935, allocations: 0.9188 MB / 0.8811 GB, free: 11.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002672/0.8962, allocations: 467.2 kB / 0.8816 GB, free: 11.31 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003194/0.8994, allocations: 2.163 MB / 0.8837 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004402/0.9038, allocations: 287.5 kB / 0.8839 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/0.9041, allocations: 107.9 kB / 0.884 GB, free: 8.707 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004578/0.9086, allocations: 1.429 MB / 0.8854 GB, free: 7.273 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004199/0.9129, allocations: 1.507 MB / 0.8869 GB, free: 5.531 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006889/0.9198, allocations: 2.126 MB / 0.889 GB, free: 3.23 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.15e-05/0.9198, allocations: 4 kB / 0.889 GB, free: 3.227 MB / 0.6387 GB Notification: Performance of matching and sorting (n=225) (initialization_lambda0): time 0.0119/0.9317, allocations: 3.074 MB / 0.892 GB, free: 132 kB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 6.341e-05/0.9318, allocations: 45.66 kB / 0.892 GB, free: 80 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.959e-05/0.9318, allocations: 12 kB / 0.892 GB, free: 68 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003095/0.9349, allocations: 0.9115 MB / 0.8929 GB, free: 15.16 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002799/0.9378, allocations: 463.2 kB / 0.8934 GB, free: 14.7 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003472/0.9413, allocations: 2.163 MB / 0.8955 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004883/0.9462, allocations: 299.9 kB / 0.8958 GB, free: 12.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003903/0.9466, allocations: 99.91 kB / 0.8959 GB, free: 12.1 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(4,23), (4,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0008184/0.9474, allocations: 299.8 kB / 0.8962 GB, free: 11.8 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00106/0.9485, allocations: 288.8 kB / 0.8964 GB, free: 11.51 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008389/0.9569, allocations: 2.232 MB / 0.8986 GB, free: 9.273 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006777/0.9637, allocations: 1.858 MB / 0.9004 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/0.9638, allocations: 0 / 0.9004 GB, free: 7.379 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001769/0.9656, allocations: 0.5678 MB / 0.901 GB, free: 6.789 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00091/0.9665, allocations: 32 kB / 0.901 GB, free: 6.758 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003681/0.9702, allocations: 207.6 kB / 0.9012 GB, free: 6.555 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002774/0.9705, allocations: 100.7 kB / 0.9013 GB, free: 6.457 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01171/0.9822, allocations: 3.062 MB / 0.9043 GB, free: 3.422 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01111/0.9933, allocations: 3.618 MB / 0.9078 GB, free: 15.79 MB / 0.67 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00319/0.9966, allocations: 0.8395 MB / 0.9087 GB, free: 14.95 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.004101/1.001, allocations: 1.843 MB / 0.9105 GB, free: 13.11 MB / 0.67 GB Notification: Performance of Backend: time 9.32e-07/1.001, allocations: 0 / 0.9105 GB, free: 13.11 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01696/1.018, allocations: 3.944 MB / 0.9143 GB, free: 9.238 MB / 0.67 GB Notification: Performance of SimCode: time 0.01451/1.032, allocations: 6.381 MB / 0.9205 GB, free: 2.883 MB / 0.67 GB Notification: Performance of Templates: time 0.1474/1.18, allocations: 90.48 MB / 1.009 GB, free: 9.082 MB / 0.7637 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)