Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001179/0.001179, allocations: 110.5 kB / 16.41 MB, free: 6.027 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.00113/0.00113, allocations: 186.5 kB / 17.34 MB, free: 5.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.346/1.346, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.724/0.724, allocations: 115.3 MB / 406.5 MB, free: 6.219 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 67.19 kB / 0.5577 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1495, allocations: 76.17 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.6954/0.845, allocations: 300.4 MB / 0.9254 GB, free: 12.25 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.07332/0.9183, allocations: 50.02 MB / 0.9743 GB, free: 10.11 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01093/0.9293, allocations: 302.2 kB / 0.9746 GB, free: 9.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0142/0.9435, allocations: 3.423 MB / 0.9779 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02623/0.9698, allocations: 9.044 MB / 0.9867 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01788/0.9877, allocations: 6.649 MB / 0.9932 GB, free: 6.672 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.03133/1.019, allocations: 18.48 MB / 1.011 GB, free: 4.133 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01328/1.032, allocations: 5.842 MB / 1.017 GB, free: 14.2 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.02035/1.053, allocations: 7.546 MB / 1.024 GB, free: 6.656 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01079/1.064, allocations: 5.091 MB / 1.029 GB, free: 1.543 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.003229/1.067, allocations: 0.5664 MB / 1.03 GB, free: 0.9766 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01475/1.082, allocations: 4.387 MB / 1.034 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.003195/1.085, allocations: 1.494 MB / 1.036 GB, free: 11.08 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.008885/1.094, allocations: 3.748 MB / 1.039 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.5456/1.639, allocations: 10.43 MB / 1.049 GB, free: 64.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.303e-06/1.64, allocations: 0.8906 kB / 1.049 GB, free: 64.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.214e-06/1.64, allocations: 0 / 1.049 GB, free: 64.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0004394/1.64, allocations: 0.6875 kB / 1.049 GB, free: 64.64 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.01938/1.659, allocations: 7.476 MB / 1.057 GB, free: 61.61 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/1.659, allocations: 9 kB / 1.057 GB, free: 61.61 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00322/1.663, allocations: 0.7838 MB / 1.058 GB, free: 61.24 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01229/1.675, allocations: 5.355 MB / 1.063 GB, free: 60.17 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000394/1.675, allocations: 321.9 kB / 1.063 GB, free: 60.16 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009434/1.676, allocations: 434.5 kB / 1.064 GB, free: 60.16 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008899/1.685, allocations: 4.387 MB / 1.068 GB, free: 59.36 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.67e-05/1.685, allocations: 11.09 kB / 1.068 GB, free: 59.36 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004247/1.686, allocations: 175 kB / 1.068 GB, free: 59.36 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001156/1.686, allocations: 119.8 kB / 1.068 GB, free: 59.36 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005332/1.691, allocations: 2.959 MB / 1.071 GB, free: 59.32 MB / 0.7794 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.02922/1.72, allocations: 25.12 MB / 1.095 GB, free: 43.48 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002643/1.723, allocations: 2.761 MB / 1.098 GB, free: 42.3 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001297/1.724, allocations: 0.9944 MB / 1.099 GB, free: 42.29 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002103/1.727, allocations: 3.914 MB / 1.103 GB, free: 37.88 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.714e-05/1.727, allocations: 62.28 kB / 1.103 GB, free: 37.84 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=217): time 4.499e-06/1.727, allocations: 0 / 1.103 GB, free: 37.84 MB / 0.7794 GB Notification: Performance of matching and sorting (n=217): time 0.009947/1.737, allocations: 4.07 MB / 1.107 GB, free: 36.97 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/1.737, allocations: 77.66 kB / 1.107 GB, free: 36.9 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005506/1.742, allocations: 4.303 MB / 1.111 GB, free: 36.55 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0004049/1.743, allocations: 78.86 kB / 1.111 GB, free: 36.52 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001709/1.744, allocations: 2.774 MB / 1.114 GB, free: 35.65 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006838/1.745, allocations: 0.7635 MB / 1.115 GB, free: 35.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000666/1.746, allocations: 0.5746 MB / 1.115 GB, free: 35.11 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 4.363e-05/1.746, allocations: 307.5 kB / 1.116 GB, free: 34.81 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001173/1.747, allocations: 0.8221 MB / 1.116 GB, free: 34.79 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001738/1.749, allocations: 1.81 MB / 1.118 GB, free: 33.62 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002882/1.752, allocations: 2.515 MB / 1.121 GB, free: 32.75 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.325e-05/1.752, allocations: 7.562 kB / 1.121 GB, free: 32.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007028/1.759, allocations: 3.555 MB / 1.124 GB, free: 32.26 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.638e-05/1.759, allocations: 13.75 kB / 1.124 GB, free: 32.26 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/1.759, allocations: 24.09 kB / 1.124 GB, free: 32.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002446/1.761, allocations: 0.5799 MB / 1.125 GB, free: 32.2 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/1.763, allocations: 0.5534 MB / 1.125 GB, free: 32.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001562/1.764, allocations: 2.687 MB / 1.128 GB, free: 30.09 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003826/1.768, allocations: 329 kB / 1.128 GB, free: 29.95 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/1.768, allocations: 128.7 kB / 1.128 GB, free: 29.95 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002827/1.771, allocations: 1.576 MB / 1.13 GB, free: 29.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001672/1.773, allocations: 1.794 MB / 1.132 GB, free: 28.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002865/1.776, allocations: 2.464 MB / 1.134 GB, free: 27.82 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.173e-05/1.776, allocations: 6.5 kB / 1.134 GB, free: 27.82 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.006755/1.783, allocations: 3.314 MB / 1.137 GB, free: 27.37 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.914e-05/1.783, allocations: 13.56 kB / 1.137 GB, free: 27.37 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.749e-05/1.783, allocations: 26.62 kB / 1.137 GB, free: 27.36 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009494/1.784, allocations: 365.8 kB / 1.138 GB, free: 27.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.785, allocations: 0.5538 MB / 1.138 GB, free: 27.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006393/1.792, allocations: 8.451 MB / 1.147 GB, free: 21.01 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004737/1.796, allocations: 297.6 kB / 1.147 GB, free: 20.91 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00041/1.797, allocations: 134.9 kB / 1.147 GB, free: 20.91 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.001005/1.798, allocations: 369.6 kB / 1.147 GB, free: 20.71 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001773/1.8, allocations: 0.5092 MB / 1.148 GB, free: 20.45 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006031/1.806, allocations: 3.549 MB / 1.151 GB, free: 20.06 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.953e-05/1.806, allocations: 38.95 kB / 1.151 GB, free: 20.06 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/1.806, allocations: 0 / 1.151 GB, free: 20.06 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003191/1.809, allocations: 2.437 MB / 1.154 GB, free: 19.82 MB / 0.7794 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 postOpt removeSimpleEquations (simulation): time 0.01472/1.824, allocations: 8.206 MB / 1.162 GB, free: 18.27 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.047e-05/1.824, allocations: 0 / 1.162 GB, free: 18.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001242/1.825, allocations: 362 kB / 1.162 GB, free: 18.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006811/1.826, allocations: 309.1 kB / 1.162 GB, free: 18.21 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001298/1.826, allocations: 60.23 kB / 1.162 GB, free: 18.21 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001306/1.827, allocations: 2.495 MB / 1.165 GB, free: 16.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.445e-06/1.827, allocations: 0 / 1.165 GB, free: 16.12 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007373/1.834, allocations: 4.338 MB / 1.169 GB, free: 15.43 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003088/1.838, allocations: 0.8881 MB / 1.17 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00119/1.839, allocations: 38.44 kB / 1.17 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002754/1.841, allocations: 125.4 kB / 1.17 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000244/1.842, allocations: 152.5 kB / 1.17 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002183/1.842, allocations: 106.1 kB / 1.17 GB, free: 15.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.004355/1.846, allocations: 2.848 MB / 1.173 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.094e-06/1.846, allocations: 4 kB / 1.173 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.01239/1.859, allocations: 3.241 MB / 1.176 GB, free: 11.04 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003363/1.862, allocations: 1.507 MB / 1.178 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.00721/1.869, allocations: 4.424 MB / 1.182 GB, free: 7.078 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/1.869, allocations: 6.625 kB / 1.182 GB, free: 7.074 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0018/1.871, allocations: 1.237 MB / 1.183 GB, free: 6.367 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01201/1.883, allocations: 2.628 MB / 1.186 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01431/1.898, allocations: 9.016 MB / 1.195 GB, free: 12.73 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002472/1.9, allocations: 2.872 MB / 1.197 GB, free: 9.906 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.005007/1.905, allocations: 1.153 MB / 1.199 GB, free: 8.762 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001072/1.906, allocations: 420.1 kB / 1.199 GB, free: 8.379 MB / 0.795 GB Notification: Performance of SimCode: time 1.343e-06/1.906, allocations: 0 / 1.199 GB, free: 8.379 MB / 0.795 GB Notification: Performance of Templates: time 0.1732/2.079, allocations: 105 MB / 1.302 GB, free: 1.34 MB / 0.8887 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)