Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00106/0.00106, allocations: 181.6 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4928/0.4928, allocations: 91.99 MB / 108.5 MB, free: 13.05 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.632/1.632, allocations: 223.2 MB / 354.3 MB, free: 10.41 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009098/0.0009098, allocations: 103.2 kB / 427.4 MB, free: 2.145 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003406/0.0003406, allocations: 8 kB / 0.4982 GB, free: 42.08 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1475/0.1479, allocations: 72.31 MB / 0.5689 GB, free: 1.699 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.725/4.873, allocations: 1.885 GB / 2.454 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002747/4.874, allocations: 92.08 kB / 2.454 GB, free: 167.2 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.579/8.452, allocations: 1.051 GB / 3.505 GB, free: 65.61 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.292e-06/8.452, allocations: 0 / 3.505 GB, free: 65.61 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0001456/8.452, allocations: 49.83 kB / 3.505 GB, free: 65.6 MB / 0.6198 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.004515/8.457, allocations: 2.382 MB / 3.507 GB, free: 63.86 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/8.457, allocations: 10.59 kB / 3.507 GB, free: 63.86 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003673/8.461, allocations: 0.6255 MB / 3.508 GB, free: 63.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002734/8.463, allocations: 1.443 MB / 3.509 GB, free: 62.57 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003344/8.464, allocations: 159.1 kB / 3.51 GB, free: 62.51 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001627/8.464, allocations: 119.9 kB / 3.51 GB, free: 62.47 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00231/8.466, allocations: 1.462 MB / 3.511 GB, free: 61.55 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.724e-05/8.466, allocations: 3.938 kB / 3.511 GB, free: 61.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/8.466, allocations: 50.25 kB / 3.511 GB, free: 61.52 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.412e-05/8.467, allocations: 38.66 kB / 3.511 GB, free: 61.51 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002289/8.469, allocations: 1.266 MB / 3.512 GB, free: 60.89 MB / 0.6198 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.007981/8.477, allocations: 5.872 MB / 3.518 GB, free: 55.3 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001783/8.479, allocations: 1.176 MB / 3.519 GB, free: 54.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000568/8.479, allocations: 311.2 kB / 3.52 GB, free: 53.73 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001047/8.48, allocations: 0.6364 MB / 3.52 GB, free: 53.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=87): time 3.166e-06/8.48, allocations: 0 / 3.52 GB, free: 53.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=94): time 0.01074/8.491, allocations: 4.363 MB / 3.525 GB, free: 48.59 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.047e-05/8.491, allocations: 192.9 kB / 3.525 GB, free: 48.35 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/8.493, allocations: 1.167 MB / 3.526 GB, free: 47.18 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.979e-05/8.493, allocations: 41.7 kB / 3.526 GB, free: 47.13 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004917/8.493, allocations: 0.7252 MB / 3.527 GB, free: 46.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/8.493, allocations: 326 kB / 3.527 GB, free: 46.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.003e-05/8.493, allocations: 16 kB / 3.527 GB, free: 46.07 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.902e-05/8.494, allocations: 349.9 kB / 3.527 GB, free: 45.73 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008347/8.494, allocations: 473.7 kB / 3.528 GB, free: 45.27 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000966/8.495, allocations: 0.6962 MB / 3.528 GB, free: 44.49 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01073/8.506, allocations: 2.518 MB / 3.531 GB, free: 41.95 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.367e-06/8.506, allocations: 0 / 3.531 GB, free: 41.95 MB / 0.6198 GB Notification: Performance of matching and sorting (n=113) (initialization): time 0.004073/8.51, allocations: 1.792 MB / 3.533 GB, free: 40.13 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002505/8.511, allocations: 1.3 MB / 3.534 GB, free: 38.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/8.511, allocations: 4 kB / 3.534 GB, free: 38.72 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/8.512, allocations: 433.5 kB / 3.534 GB, free: 38.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007095/8.512, allocations: 179.8 kB / 3.534 GB, free: 38.12 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006587/8.519, allocations: 6.997 MB / 3.541 GB, free: 30.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001897/8.521, allocations: 151.8 kB / 3.541 GB, free: 30.56 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/8.521, allocations: 36.38 kB / 3.541 GB, free: 30.52 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.688e-06/8.521, allocations: 4 kB / 3.541 GB, free: 30.52 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003706/8.525, allocations: 1.637 MB / 3.543 GB, free: 28.87 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.114e-06/8.525, allocations: 4 kB / 3.543 GB, free: 28.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001004/8.526, allocations: 439.6 kB / 3.544 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007256/8.526, allocations: 175.8 kB / 3.544 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007403/8.534, allocations: 8.001 MB / 3.551 GB, free: 19.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001852/8.536, allocations: 148.2 kB / 3.552 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001/8.536, allocations: 36 kB / 3.552 GB, free: 19.54 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,TSet.a,TSet.b,TSet.last,$PRE.TSet.nextEvent,TSet.nextEvent,TSet.nextEventScaled,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 4,1 11,1 2,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009879/8.537, allocations: 0.5156 MB / 3.552 GB, free: 19.01 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000248/8.537, allocations: 166 kB / 3.552 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003708/8.541, allocations: 1.66 MB / 3.554 GB, free: 17.16 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.925e-06/8.541, allocations: 8 kB / 3.554 GB, free: 17.15 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/8.541, allocations: 3.953 kB / 3.554 GB, free: 17.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003196/8.544, allocations: 1.517 MB / 3.555 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006659/8.551, allocations: 3.515 MB / 3.559 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.194e-06/8.551, allocations: 4 kB / 3.559 GB, free: 11.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008368/8.552, allocations: 184.2 kB / 3.559 GB, free: 11.78 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005724/8.552, allocations: 244.5 kB / 3.559 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.448e-05/8.552, allocations: 34.17 kB / 3.559 GB, free: 11.52 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003076/8.555, allocations: 2.715 MB / 3.562 GB, free: 8.641 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.567e-06/8.555, allocations: 7.938 kB / 3.562 GB, free: 8.633 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004628/8.56, allocations: 2.688 MB / 3.565 GB, free: 5.762 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008804/8.561, allocations: 359 kB / 3.565 GB, free: 5.391 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/8.561, allocations: 35.98 kB / 3.565 GB, free: 5.355 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001225/8.562, allocations: 131.7 kB / 3.565 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/8.563, allocations: 80.45 kB / 3.565 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.305e-05/8.563, allocations: 35.98 kB / 3.565 GB, free: 5.109 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001217/8.564, allocations: 0.9101 MB / 3.566 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/8.564, allocations: 0 / 3.566 GB, free: 4.203 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.00334/8.567, allocations: 1.025 MB / 3.567 GB, free: 3.184 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (81): * Single equations (assignments): 78 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 4,1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.003106/8.57, allocations: 2.384 MB / 3.569 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00498/8.575, allocations: 2.908 MB / 3.572 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.412e-06/8.575, allocations: 0 / 3.572 GB, free: 13.93 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001431/8.577, allocations: 0.8047 MB / 3.573 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004013/8.581, allocations: 0.8538 MB / 3.574 GB, free: 12.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/8.588, allocations: 3.929 MB / 3.578 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001049/8.589, allocations: 1.387 MB / 3.579 GB, free: 6.875 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.00165/8.591, allocations: 339.8 kB / 3.579 GB, free: 6.555 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003332/8.591, allocations: 115.4 kB / 3.58 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/8.591, allocations: 0 / 3.58 GB, free: 6.441 MB / 0.6355 GB Notification: Performance of Templates: time 0.4534/9.044, allocations: 61.43 MB / 3.64 GB, free: 81.03 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)