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.0008298/0.0008298, allocations: 93.81 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009377/0.0009375, allocations: 182.9 kB / 16.92 MB, free: 6.914 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.341/1.341, allocations: 223.3 MB / 241 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6842/0.6842, allocations: 115.5 MB / 407.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003434/0.0003434, allocations: 8 kB / 495.9 MB, free: 6.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1471/0.1474, allocations: 77.53 MB / 0.56 GB, free: 9.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic): time 0.3917/0.5392, allocations: 127.9 MB / 0.6848 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03802/0.5773, allocations: 24.99 MB / 0.7092 GB, free: 13.82 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005068/0.5824, allocations: 123.2 kB / 0.7093 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004735/0.5872, allocations: 1.414 MB / 0.7107 GB, free: 12.28 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01303/0.6002, allocations: 4.212 MB / 0.7148 GB, free: 8.059 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.00864/0.6089, allocations: 3.188 MB / 0.718 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01536/0.6243, allocations: 11.43 MB / 0.7291 GB, free: 9.445 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005097/0.6294, allocations: 2.54 MB / 0.7316 GB, free: 6.852 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006169/0.6356, allocations: 2.769 MB / 0.7343 GB, free: 4.07 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004376/0.64, allocations: 2.317 MB / 0.7366 GB, free: 1.742 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001165/0.6412, allocations: 136 kB / 0.7367 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007038/0.6482, allocations: 2.464 MB / 0.7391 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001482/0.6498, allocations: 0.6221 MB / 0.7397 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.004206/0.654, allocations: 1.727 MB / 0.7414 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.01006/0.6641, allocations: 6.059 MB / 0.7473 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 8.195e-06/0.6641, allocations: 0 / 0.7473 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.375e-06/0.6642, allocations: 3.938 kB / 0.7473 GB, free: 6.691 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.24e-05/0.6642, allocations: 0 / 0.7473 GB, free: 6.691 MB / 0.5606 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.006662/0.6709, allocations: 3.382 MB / 0.7506 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.019e-05/0.671, allocations: 8.031 kB / 0.7506 GB, free: 3.199 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01054/0.6815, allocations: 1.37 MB / 0.752 GB, free: 1.824 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005465/0.687, allocations: 2.94 MB / 0.7548 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002397/0.6873, allocations: 252 kB / 0.7551 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004385/0.6878, allocations: 236 kB / 0.7553 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007874/0.6956, allocations: 3.214 MB / 0.7584 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.236e-05/0.6957, allocations: 7.938 kB / 0.7584 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003028/0.696, allocations: 104 kB / 0.7585 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.055e-05/0.6961, allocations: 67.98 kB / 0.7586 GB, free: 10.74 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009496/0.7056, allocations: 2.831 MB / 0.7614 GB, free: 7.891 MB / 0.5762 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.01989/0.7256, allocations: 13.61 MB / 0.7747 GB, free: 9.613 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004216/0.7298, allocations: 1.442 MB / 0.7761 GB, free: 8.168 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002991/0.7328, allocations: 0.8847 MB / 0.7769 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001773/0.7346, allocations: 1.789 MB / 0.7787 GB, free: 5.105 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003585/0.7382, allocations: 1.163 MB / 0.7798 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=126): time 3.567e-06/0.7382, allocations: 0 / 0.7798 GB, free: 3.879 MB / 0.5919 GB Notification: Performance of matching and sorting (n=132): time 0.03249/0.7707, allocations: 9.811 MB / 0.7894 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002472/0.771, allocations: 0.5805 MB / 0.79 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003954/0.7749, allocations: 2.624 MB / 0.7925 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002555/0.7752, allocations: 57.7 kB / 0.7926 GB, free: 6.492 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001127/0.7764, allocations: 1.352 MB / 0.7939 GB, free: 5.125 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000444/0.7768, allocations: 461.5 kB / 0.7943 GB, free: 4.668 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002406/0.7771, allocations: 141.6 kB / 0.7945 GB, free: 4.523 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.581e-05/0.7772, allocations: 313 kB / 0.7948 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003587/0.7808, allocations: 0.9603 MB / 0.7957 GB, free: 3.254 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003989/0.7848, allocations: 1.557 MB / 0.7972 GB, free: 1.453 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006663/0.7914, allocations: 2.24 MB / 0.7994 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.895e-06/0.7915, allocations: 4 kB / 0.7994 GB, free: 15.03 MB / 0.6231 GB Notification: Performance of matching and sorting (n=225) (initialization): time 0.01151/0.803, allocations: 3.179 MB / 0.8025 GB, free: 11.83 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003203/0.8033, allocations: 490.4 kB / 0.803 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.911e-05/0.8033, allocations: 12 kB / 0.803 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003053/0.8064, allocations: 0.9256 MB / 0.8039 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002578/0.809, allocations: 479.2 kB / 0.8044 GB, free: 9.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003082/0.8121, allocations: 2.207 MB / 0.8065 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004559/0.8167, allocations: 403.2 kB / 0.8069 GB, free: 7.121 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002492/0.8169, allocations: 107.9 kB / 0.807 GB, free: 7.016 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 9.558e-06/0.8169, allocations: 4 kB / 0.807 GB, free: 7.012 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01085/0.8278, allocations: 2.88 MB / 0.8098 GB, free: 4.117 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/0.8278, allocations: 15.94 kB / 0.8098 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003031/0.8309, allocations: 0.9267 MB / 0.8108 GB, free: 3.172 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002575/0.8335, allocations: 475.2 kB / 0.8112 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002953/0.8364, allocations: 2.198 MB / 0.8134 GB, free: 468 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004047/0.8405, allocations: 359.4 kB / 0.8137 GB, free: 108 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002273/0.8407, allocations: 107.9 kB / 0.8138 GB, free: 0 / 0.6231 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.001432/0.8422, allocations: 0.6958 MB / 0.8145 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006565/0.8428, allocations: 284.6 kB / 0.8148 GB, free: 15.01 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007772/0.8506, allocations: 2.319 MB / 0.817 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.56e-05/0.8507, allocations: 15.94 kB / 0.817 GB, free: 12.65 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/0.8507, allocations: 4 kB / 0.817 GB, free: 12.64 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006457/0.8571, allocations: 1.936 MB / 0.8189 GB, free: 10.66 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01521/0.8724, allocations: 6.279 MB / 0.8251 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.305e-05/0.8724, allocations: 8 kB / 0.8251 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001836/0.8743, allocations: 292 kB / 0.8253 GB, free: 3.914 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002752/0.877, allocations: 0.7977 MB / 0.8261 GB, free: 3.117 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/0.8772, allocations: 52.19 kB / 0.8262 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00268/0.8799, allocations: 1.964 MB / 0.8281 GB, free: 1.051 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.744e-06/0.8799, allocations: 11.94 kB / 0.8281 GB, free: 1.039 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2834/1.163, allocations: 3.552 MB / 0.8316 GB, free: 221.3 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001951/1.165, allocations: 0.6518 MB / 0.8322 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005402/1.166, allocations: 37.05 kB / 0.8322 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003408/1.169, allocations: 279.4 kB / 0.8325 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002742/1.17, allocations: 120.4 kB / 0.8326 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001812/1.17, allocations: 73.88 kB / 0.8327 GB, free: 221.2 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003528/1.173, allocations: 1.838 MB / 0.8345 GB, free: 220.9 MB / 0.6387 GB Notification: Performance of sort global known variables: time 3.11e-07/1.173, allocations: 1.031 kB / 0.8345 GB, free: 220.9 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005077/1.178, allocations: 1.479 MB / 0.8359 GB, free: 220.8 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * 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 {(2,17), (4,23)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001766/1.18, allocations: 0.8119 MB / 0.8367 GB, free: 220.7 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01296/1.193, allocations: 3.689 MB / 0.8403 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.651e-05/1.193, allocations: 7 kB / 0.8403 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.003827/1.197, allocations: 1.064 MB / 0.8414 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01129/1.208, allocations: 1.572 MB / 0.8429 GB, free: 219 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01386/1.222, allocations: 6.314 MB / 0.8491 GB, free: 215.6 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/1.224, allocations: 1.728 MB / 0.8508 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00418/1.228, allocations: 0.6572 MB / 0.8514 GB, free: 214.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008282/1.229, allocations: 250.1 kB / 0.8516 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of SimCode: time 1.062e-06/1.229, allocations: 4 kB / 0.8516 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of Templates: time 0.1012/1.33, allocations: 74.28 MB / 0.9242 GB, free: 153.3 MB / 0.6387 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)