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 3.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 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.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.001246/0.001246, allocations: 172.5 kB / 16.76 MB, free: 5.055 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.5204/0.5204, allocations: 86.27 MB / 103.8 MB, free: 14.55 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.292/1.292, allocations: 223.3 MB / 348.4 MB, free: 5.031 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.0008545/0.0008547, allocations: 99.72 kB / 420.2 MB, free: 9.672 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004082/0.0004083, allocations: 12 kB / 0.4901 GB, free: 8.027 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3326/0.3331, allocations: 71.02 MB / 0.5594 GB, free: 43.68 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.595/3.928, allocations: 1.883 GB / 2.443 GB, free: 173.8 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002498/3.928, allocations: 91.95 kB / 2.443 GB, free: 173.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.15/7.078, allocations: 1.038 GB / 3.481 GB, free: 59.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.453e-06/7.078, allocations: 4 kB / 3.481 GB, free: 59.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002202/7.078, allocations: 43.98 kB / 3.481 GB, free: 59 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.005731/7.084, allocations: 2.367 MB / 3.483 GB, free: 56.58 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/7.084, allocations: 8.031 kB / 3.483 GB, free: 56.57 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003816/7.087, allocations: 0.623 MB / 3.484 GB, free: 55.95 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003583/7.091, allocations: 1.505 MB / 3.485 GB, free: 54.39 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003355/7.091, allocations: 167.3 kB / 3.485 GB, free: 54.22 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003546/7.092, allocations: 116 kB / 3.485 GB, free: 54.11 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002863/7.095, allocations: 1.473 MB / 3.487 GB, free: 52.56 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.333e-05/7.095, allocations: 4 kB / 3.487 GB, free: 52.55 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/7.095, allocations: 48 kB / 3.487 GB, free: 52.51 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.723e-05/7.095, allocations: 42.2 kB / 3.487 GB, free: 52.46 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00249/7.097, allocations: 1.25 MB / 3.488 GB, free: 51.21 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.007496/7.105, allocations: 5.916 MB / 3.494 GB, free: 45 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001668/7.107, allocations: 1.173 MB / 3.495 GB, free: 43.77 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/7.108, allocations: 0.5711 MB / 3.496 GB, free: 43.2 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005328/7.108, allocations: 315.9 kB / 3.496 GB, free: 42.84 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001182/7.109, allocations: 0.636 MB / 3.497 GB, free: 42.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=87): time 5.01e-06/7.109, allocations: 0 / 3.497 GB, free: 42.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=95): time 0.01118/7.121, allocations: 4.359 MB / 3.501 GB, free: 37.72 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/7.121, allocations: 196.9 kB / 3.501 GB, free: 37.49 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001519/7.122, allocations: 1.339 MB / 3.502 GB, free: 36.14 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-05/7.122, allocations: 45.7 kB / 3.502 GB, free: 36.09 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000457/7.123, allocations: 0.7292 MB / 3.503 GB, free: 35.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/7.123, allocations: 319.3 kB / 3.503 GB, free: 35.04 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.83e-05/7.123, allocations: 20 kB / 3.503 GB, free: 35.02 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.32e-05/7.123, allocations: 341.9 kB / 3.504 GB, free: 34.68 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008255/7.124, allocations: 488.3 kB / 3.504 GB, free: 34.2 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009348/7.125, allocations: 0.7303 MB / 3.505 GB, free: 33.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01119/7.136, allocations: 3.689 MB / 3.508 GB, free: 29.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/7.136, allocations: 4 kB / 3.508 GB, free: 29.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003777/7.14, allocations: 1.847 MB / 3.51 GB, free: 27.74 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.021e-05/7.14, allocations: 227.3 kB / 3.51 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.248e-06/7.14, allocations: 3.938 kB / 3.51 GB, free: 27.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/7.141, allocations: 470.8 kB / 3.511 GB, free: 27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006517/7.142, allocations: 171.8 kB / 3.511 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006966/7.149, allocations: 7.145 MB / 3.518 GB, free: 19.27 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001421/7.15, allocations: 151.7 kB / 3.518 GB, free: 19.12 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/7.15, allocations: 39.98 kB / 3.518 GB, free: 19.08 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.201e-06/7.15, allocations: 5.859 kB / 3.518 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003628/7.154, allocations: 1.683 MB / 3.52 GB, free: 17.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.063e-06/7.154, allocations: 7.938 kB / 3.52 GB, free: 17.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009768/7.155, allocations: 448.3 kB / 3.52 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006422/7.156, allocations: 179.7 kB / 3.521 GB, free: 16.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007628/7.163, allocations: 8.136 MB / 3.528 GB, free: 8.074 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001678/7.165, allocations: 147.7 kB / 3.529 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000118/7.165, allocations: 43.98 kB / 3.529 GB, free: 7.887 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: 15 * 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 4,1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0009519/7.166, allocations: 0.5048 MB / 3.529 GB, free: 7.367 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003437/7.166, allocations: 166 kB / 3.529 GB, free: 7.203 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003701/7.17, allocations: 1.687 MB / 3.531 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.663e-06/7.17, allocations: 8 kB / 3.531 GB, free: 5.484 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/7.17, allocations: 4 kB / 3.531 GB, free: 5.48 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003088/7.173, allocations: 1.534 MB / 3.532 GB, free: 3.906 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006429/7.18, allocations: 3.547 MB / 3.536 GB, free: 224 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/7.18, allocations: 4 kB / 3.536 GB, free: 220 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008153/7.18, allocations: 196.1 kB / 3.536 GB, free: 24 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006494/7.181, allocations: 245.1 kB / 3.536 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.985e-05/7.181, allocations: 24 kB / 3.536 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003591/7.185, allocations: 2.672 MB / 3.539 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.837e-06/7.185, allocations: 7.938 kB / 3.539 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005246/7.19, allocations: 2.466 MB / 3.541 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008481/7.191, allocations: 366.9 kB / 3.542 GB, free: 10.01 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003392/7.191, allocations: 31.94 kB / 3.542 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/7.193, allocations: 135.8 kB / 3.542 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/7.193, allocations: 68.52 kB / 3.542 GB, free: 9.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.101e-05/7.193, allocations: 43.97 kB / 3.542 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001577/7.195, allocations: 0.914 MB / 3.543 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.51e-07/7.195, allocations: 0 / 3.543 GB, free: 8.824 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.003702/7.198, allocations: 0.9884 MB / 3.544 GB, free: 7.836 MB / 0.6355 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 (82): * Single equations (assignments): 79 * 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.003774/7.202, allocations: 2.343 MB / 3.546 GB, free: 5.422 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.006045/7.208, allocations: 3.134 MB / 3.549 GB, free: 2.176 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 8.546e-06/7.208, allocations: 4 kB / 3.549 GB, free: 2.172 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001423/7.21, allocations: 0.7991 MB / 3.55 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004961/7.215, allocations: 0.8604 MB / 3.551 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3182/7.533, allocations: 3.953 MB / 3.555 GB, free: 88.51 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/7.534, allocations: 1.354 MB / 3.556 GB, free: 87.8 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001849/7.536, allocations: 343.2 kB / 3.556 GB, free: 87.78 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003573/7.536, allocations: 115.4 kB / 3.556 GB, free: 87.78 MB / 0.6355 GB Notification: Performance of SimCode: time 1.503e-06/7.536, allocations: 0 / 3.556 GB, free: 87.78 MB / 0.6355 GB Notification: Performance of Templates: time 0.0841/7.62, allocations: 61.59 MB / 3.617 GB, free: 85.94 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)