Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.359/2.359, allocations: 284.8 MB / 297.3 MB, free: 6.359 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001485/0.001485, allocations: 176.8 kB / 365.7 MB, free: 2.562 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.903/1.903, allocations: 205.1 MB / 0.6241 GB, free: 8.168 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001227/0.001226, allocations: 91.62 kB / 0.7372 GB, free: 40.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.492e-05/3.508e-05, allocations: 4 kB / 0.8574 GB, free: 13.69 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8086/0.8086, allocations: 115.2 MB / 0.97 GB, free: 78.36 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.314/2.123, allocations: 423.7 MB / 1.384 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/2.123, allocations: 89.02 kB / 1.384 GB, free: 137.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.489/5.612, allocations: 0.6136 GB / 1.997 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.305e-06/5.612, allocations: 0 / 1.997 GB, free: 157.9 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0002626/5.613, allocations: 49.25 kB / 1.997 GB, free: 157.9 MB / 0.9323 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.007047/5.62, allocations: 1.833 MB / 1.999 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 5.765e-05/5.62, allocations: 9.375 kB / 1.999 GB, free: 157.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00343/5.623, allocations: 391 kB / 2 GB, free: 157 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005249/5.628, allocations: 1.299 MB / 2.001 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00134/5.63, allocations: 215.4 kB / 2.001 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005268/5.63, allocations: 109.6 kB / 2.001 GB, free: 156.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003057/5.633, allocations: 1.02 MB / 2.002 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/5.634, allocations: 4.406 kB / 2.002 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001646/5.634, allocations: 37.56 kB / 2.002 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.217e-05/5.634, allocations: 24.48 kB / 2.002 GB, free: 156.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00262/5.636, allocations: 0.8002 MB / 2.003 GB, free: 156.5 MB / 0.9323 GB Warning: The model contains alias variables with conflicting start and/or 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.01438/5.651, allocations: 4.824 MB / 2.008 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002013/5.653, allocations: 0.6214 MB / 2.008 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009743/5.654, allocations: 338.9 kB / 2.009 GB, free: 154.5 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001502/5.655, allocations: 1.059 MB / 2.01 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001357/5.657, allocations: 431.8 kB / 2.01 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 4.127e-06/5.657, allocations: 3 kB / 2.01 GB, free: 153.3 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.002784/5.66, allocations: 0.7711 MB / 2.011 GB, free: 153.1 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/5.66, allocations: 190.5 kB / 2.011 GB, free: 152.9 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002392/5.662, allocations: 1.029 MB / 2.012 GB, free: 152.8 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0003878/5.663, allocations: 49.2 kB / 2.012 GB, free: 152.7 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006643/5.663, allocations: 0.6004 MB / 2.013 GB, free: 152.5 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003236/5.664, allocations: 248.6 kB / 2.013 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.444e-05/5.664, allocations: 19.47 kB / 2.013 GB, free: 152.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001049/5.664, allocations: 343.8 kB / 2.013 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/5.665, allocations: 330.6 kB / 2.014 GB, free: 152.1 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001344/5.666, allocations: 0.6162 MB / 2.014 GB, free: 151.8 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001135/5.667, allocations: 413.9 kB / 2.015 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.864e-06/5.667, allocations: 1.281 kB / 2.015 GB, free: 151.7 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003387/5.671, allocations: 1.089 MB / 2.016 GB, free: 151.6 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003901/5.671, allocations: 1.629 MB / 2.017 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/5.671, allocations: 7.062 kB / 2.017 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.279e-05/5.671, allocations: 15.06 kB / 2.017 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0028/5.674, allocations: 298.3 kB / 2.018 GB, free: 149.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007616/5.675, allocations: 1.195 MB / 2.019 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002926/5.678, allocations: 223.9 kB / 2.019 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002794/5.678, allocations: 56.17 kB / 2.019 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/5.678, allocations: 7.891 kB / 2.019 GB, free: 148.7 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002792/5.681, allocations: 0.9391 MB / 2.02 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.654e-05/5.681, allocations: 4.5 kB / 2.02 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/5.681, allocations: 14.09 kB / 2.02 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002366/5.684, allocations: 280.8 kB / 2.02 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.419e-05/5.684, allocations: 14.27 kB / 2.02 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002709/5.686, allocations: 199.8 kB / 2.02 GB, free: 148.6 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002349/5.687, allocations: 54.62 kB / 2.02 GB, free: 148.6 MB / 0.9323 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 116 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004405/5.687, allocations: 171.4 kB / 2.021 GB, free: 148.5 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004825/5.688, allocations: 146.8 kB / 2.021 GB, free: 148.4 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003497/5.691, allocations: 1.063 MB / 2.022 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.667e-05/5.691, allocations: 13.05 kB / 2.022 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/5.691, allocations: 0 / 2.022 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/5.691, allocations: 4.312 kB / 2.022 GB, free: 148.3 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006594/5.698, allocations: 2.323 MB / 2.024 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.125e-05/5.698, allocations: 2.406 kB / 2.024 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002038/5.7, allocations: 228.7 kB / 2.024 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.837e-05/5.7, allocations: 5.922 kB / 2.024 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001172/5.7, allocations: 26.98 kB / 2.024 GB, free: 147.9 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005458/5.701, allocations: 1.187 MB / 2.026 GB, free: 146.7 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/5.701, allocations: 9.656 kB / 2.026 GB, free: 146.7 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004095/5.705, allocations: 1.643 MB / 2.027 GB, free: 146.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001313/5.706, allocations: 366.1 kB / 2.027 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/5.707, allocations: 24.17 kB / 2.028 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002381/5.709, allocations: 130.1 kB / 2.028 GB, free: 146.1 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003237/5.709, allocations: 76.41 kB / 2.028 GB, free: 146 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001732/5.709, allocations: 39.5 kB / 2.028 GB, free: 146 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.001841/5.711, allocations: 0.7775 MB / 2.029 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.022e-06/5.711, allocations: 0 / 2.029 GB, free: 145.9 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.004608/5.716, allocations: 0.881 MB / 2.029 GB, free: 145.8 MB / 0.9323 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.x[1],val.filter.x[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003019/5.719, allocations: 0.8907 MB / 2.03 GB, free: 145.6 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.005207/5.724, allocations: 1.617 MB / 2.032 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.011e-05/5.724, allocations: 1.5 kB / 2.032 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001627/5.726, allocations: 491.6 kB / 2.032 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005707/5.732, allocations: 0.5753 MB / 2.033 GB, free: 145.4 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006261/5.738, allocations: 1.857 MB / 2.035 GB, free: 144.8 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008861/5.739, allocations: 1.203 MB / 2.036 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003579/5.743, allocations: 421.9 kB / 2.036 GB, free: 144.1 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005299/5.743, allocations: 110.8 kB / 2.036 GB, free: 144 MB / 0.9323 GB Notification: Performance of SimCode: time 1.493e-06/5.743, allocations: 0 / 2.036 GB, free: 144 MB / 0.9323 GB Notification: Performance of Templates: time 0.1221/5.865, allocations: 33.93 MB / 2.069 GB, free: 143 MB / 0.9323 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)