Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.778/1.778, allocations: 297.8 MB / 313.7 MB, free: 132 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 176.6 kB / 384.6 MB, free: 10.86 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 223.2 MB / 0.6626 GB, free: 4.238 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008215/0.0008213, allocations: 99.66 kB / 0.7808 GB, free: 50.44 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004254/0.0004256, allocations: 18.66 kB / 0.9088 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.794/0.7944, allocations: 120.3 MB / 1.026 GB, free: 55.71 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.127/4.921, allocations: 1.923 GB / 2.95 GB, free: 279.7 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002631/4.922, allocations: 95.89 kB / 2.95 GB, free: 279.7 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.043/7.964, allocations: 1.038 GB / 3.988 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.202e-06/7.964, allocations: 224 / 3.988 GB, free: 4.293 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002674/7.965, allocations: 55.86 kB / 3.988 GB, free: 4.238 MB / 0.9948 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.006464/7.971, allocations: 2.355 MB / 3.99 GB, free: 1.805 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.055e-05/7.971, allocations: 12.03 kB / 3.99 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004447/7.976, allocations: 0.6268 MB / 3.991 GB, free: 1.164 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.5744/8.55, allocations: 1.495 MB / 3.992 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006378/8.551, allocations: 163.6 kB / 3.992 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000731/8.552, allocations: 124.3 kB / 3.992 GB, free: 126.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003763/8.555, allocations: 1.476 MB / 3.994 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.772e-05/8.556, allocations: 2.469 kB / 3.994 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/8.556, allocations: 49 kB / 3.994 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.066e-05/8.556, allocations: 45.62 kB / 3.994 GB, free: 126.7 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0028/8.559, allocations: 1.257 MB / 3.995 GB, free: 126.6 MB / 0.9948 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.009202/8.568, allocations: 5.899 MB / 4.001 GB, free: 124.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001847/8.57, allocations: 1.162 MB / 4.002 GB, free: 124.2 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000981/8.571, allocations: 0.5785 MB / 4.003 GB, free: 124.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004962/8.571, allocations: 312 kB / 4.003 GB, free: 124 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/8.572, allocations: 0.6331 MB / 4.004 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=87): time 2.996e-06/8.572, allocations: 3.062 kB / 4.004 GB, free: 123.9 MB / 0.9948 GB Notification: Performance of matching and sorting (n=95): time 0.01121/8.583, allocations: 4.368 MB / 4.008 GB, free: 123 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.244e-05/8.584, allocations: 194.6 kB / 4.008 GB, free: 122.8 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001984/8.586, allocations: 1.335 MB / 4.009 GB, free: 122.6 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001342/8.586, allocations: 47.2 kB / 4.009 GB, free: 122.6 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005952/8.586, allocations: 0.724 MB / 4.01 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000264/8.587, allocations: 323.1 kB / 4.01 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/8.587, allocations: 18.03 kB / 4.01 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 8.14e-05/8.587, allocations: 348.4 kB / 4.011 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009261/8.588, allocations: 486.7 kB / 4.011 GB, free: 121.9 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001037/8.589, allocations: 0.7283 MB / 4.012 GB, free: 121.7 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01224/8.601, allocations: 3.681 MB / 4.016 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/8.601, allocations: 4.125 kB / 4.016 GB, free: 121.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=115) (initialization): time 0.004575/8.606, allocations: 1.858 MB / 4.017 GB, free: 121.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001126/8.606, allocations: 225.1 kB / 4.018 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.167e-05/8.606, allocations: 4.75 kB / 4.018 GB, free: 120.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/8.607, allocations: 469 kB / 4.018 GB, free: 120.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/8.608, allocations: 173.1 kB / 4.018 GB, free: 120.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007414/8.615, allocations: 7.137 MB / 4.025 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/8.617, allocations: 152.3 kB / 4.025 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001127/8.617, allocations: 39.91 kB / 4.025 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/8.617, allocations: 6.875 kB / 4.025 GB, free: 116.4 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003925/8.621, allocations: 1.683 MB / 4.027 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.597e-06/8.621, allocations: 3.594 kB / 4.027 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/8.622, allocations: 453.8 kB / 4.027 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007038/8.623, allocations: 174.1 kB / 4.028 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009153/8.632, allocations: 8.137 MB / 4.036 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002137/8.634, allocations: 151 kB / 4.036 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002469/8.635, allocations: 45.66 kB / 4.036 GB, free: 110.9 MB / 0.9948 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.001488/8.636, allocations: 0.5016 MB / 4.036 GB, free: 110.7 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005411/8.637, allocations: 168.9 kB / 4.036 GB, free: 110.6 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004298/8.641, allocations: 1.687 MB / 4.038 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.536e-06/8.641, allocations: 12.12 kB / 4.038 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/8.641, allocations: 0 / 4.038 GB, free: 110.5 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003431/8.644, allocations: 1.526 MB / 4.04 GB, free: 110.2 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00783/8.652, allocations: 3.554 MB / 4.043 GB, free: 109.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/8.652, allocations: 2.969 kB / 4.043 GB, free: 109.7 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008596/8.653, allocations: 198.6 kB / 4.043 GB, free: 109.7 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006111/8.654, allocations: 237.5 kB / 4.043 GB, free: 109.6 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.083e-05/8.654, allocations: 30.52 kB / 4.043 GB, free: 109.6 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003131/8.657, allocations: 2.674 MB / 4.046 GB, free: 107.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/8.657, allocations: 6.156 kB / 4.046 GB, free: 107.9 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005142/8.662, allocations: 2.466 MB / 4.048 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001134/8.663, allocations: 368.6 kB / 4.049 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004841/8.664, allocations: 27.81 kB / 4.049 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001665/8.666, allocations: 136.7 kB / 4.049 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001823/8.666, allocations: 74.48 kB / 4.049 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001072/8.666, allocations: 39.34 kB / 4.049 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001942/8.668, allocations: 0.9125 MB / 4.05 GB, free: 107.1 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3.41e-07/8.668, allocations: 1.312 kB / 4.05 GB, free: 107.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004393/8.672, allocations: 0.9896 MB / 4.051 GB, free: 107.1 MB / 0.9948 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.004388/8.677, allocations: 2.354 MB / 4.053 GB, free: 106.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.006106/8.683, allocations: 3.134 MB / 4.056 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/8.683, allocations: 6.25 kB / 4.056 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/8.684, allocations: 0.8017 MB / 4.057 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005458/8.69, allocations: 0.8582 MB / 4.058 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007273/8.697, allocations: 3.956 MB / 4.062 GB, free: 103.6 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001268/8.698, allocations: 1.351 MB / 4.063 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001942/8.7, allocations: 350.5 kB / 4.063 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004277/8.701, allocations: 111.4 kB / 4.064 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of SimCode: time 1.604e-06/8.701, allocations: 2.281 kB / 4.064 GB, free: 102.9 MB / 0.9948 GB Notification: Performance of Templates: time 0.09893/8.8, allocations: 61.59 MB / 4.124 GB, free: 101.2 MB / 0.9948 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)