Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.589/1.589, allocations: 289.9 MB / 297.4 MB, free: 6.391 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001115/0.001115, allocations: 176.8 kB / 366.7 MB, free: 1.699 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.725/1.725, allocations: 205.3 MB / 0.626 GB, free: 7.18 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009141/0.000914, allocations: 90.88 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.669e-05/1.672e-05, allocations: 4 kB / 0.8597 GB, free: 13.07 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7618/0.7618, allocations: 116.3 MB / 0.9732 GB, free: 76.37 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.899, allocations: 424.2 MB / 1.387 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002413/1.899, allocations: 86.83 kB / 1.388 GB, free: 132.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.491/4.39, allocations: 0.6107 GB / 1.998 GB, free: 165.9 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.603e-06/4.39, allocations: 0 / 1.998 GB, free: 165.9 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001798/4.39, allocations: 43.92 kB / 1.998 GB, free: 165.9 MB / 0.948 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.004508/4.395, allocations: 1.833 MB / 2 GB, free: 165.3 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/4.395, allocations: 10.84 kB / 2 GB, free: 165.3 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001617/4.396, allocations: 387.2 kB / 2 GB, free: 165.2 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002785/4.399, allocations: 1.306 MB / 2.002 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006312/4.4, allocations: 169 kB / 2.002 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/4.4, allocations: 68.67 kB / 2.002 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001438/4.401, allocations: 0.7478 MB / 2.003 GB, free: 164.9 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/4.403, allocations: 0.905 MB / 2.004 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.43e-05/4.403, allocations: 1.312 kB / 2.004 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.052e-05/4.403, allocations: 3.047 kB / 2.004 GB, free: 164.7 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.349e-05/4.403, allocations: 27.58 kB / 2.004 GB, free: 164.7 MB / 0.948 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.008054/4.411, allocations: 4.637 MB / 2.008 GB, free: 162.8 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009036/4.412, allocations: 0.6018 MB / 2.009 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004391/4.413, allocations: 327.9 kB / 2.009 GB, free: 162.7 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009614/4.414, allocations: 1.059 MB / 2.01 GB, free: 161.6 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006521/4.414, allocations: 405.5 kB / 2.01 GB, free: 161.5 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.747e-06/4.414, allocations: 0 / 2.01 GB, free: 161.5 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.002274/4.417, allocations: 0.8063 MB / 2.011 GB, free: 161.4 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.664e-05/4.417, allocations: 195.5 kB / 2.011 GB, free: 161.2 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001152/4.418, allocations: 0.8552 MB / 2.012 GB, free: 161.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 9.769e-05/4.418, allocations: 31.97 kB / 2.012 GB, free: 161 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004955/4.418, allocations: 0.5975 MB / 2.013 GB, free: 160.8 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002174/4.419, allocations: 240.5 kB / 2.013 GB, free: 160.7 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.85e-05/4.419, allocations: 0 / 2.013 GB, free: 160.7 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001294/4.419, allocations: 346.2 kB / 2.013 GB, free: 160.4 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005048/4.419, allocations: 316.1 kB / 2.014 GB, free: 160.4 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006848/4.42, allocations: 0.5887 MB / 2.014 GB, free: 160.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001169/4.421, allocations: 454.2 kB / 2.015 GB, free: 160.1 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.711e-06/4.421, allocations: 3.969 kB / 2.015 GB, free: 160.1 MB / 0.948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002128/4.423, allocations: 1.072 MB / 2.016 GB, free: 160 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004699/4.424, allocations: 1.613 MB / 2.017 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.642e-05/4.424, allocations: 5.844 kB / 2.017 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.14e-05/4.424, allocations: 8.109 kB / 2.017 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001433/4.425, allocations: 318.3 kB / 2.018 GB, free: 158.3 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005992/4.426, allocations: 1.203 MB / 2.019 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001498/4.427, allocations: 182.1 kB / 2.019 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/4.428, allocations: 54.97 kB / 2.019 GB, free: 157.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/4.428, allocations: 3.625 kB / 2.019 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001857/4.429, allocations: 0.909 MB / 2.02 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.409e-05/4.429, allocations: 7.562 kB / 2.02 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/4.43, allocations: 7.781 kB / 2.02 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001042/4.431, allocations: 292.6 kB / 2.02 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/4.431, allocations: 10.94 kB / 2.02 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001198/4.432, allocations: 158.2 kB / 2.02 GB, free: 157.1 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001033/4.432, allocations: 57.34 kB / 2.021 GB, free: 157.1 MB / 0.948 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.0002739/4.432, allocations: 132 kB / 2.021 GB, free: 157 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002138/4.432, allocations: 131.4 kB / 2.021 GB, free: 156.9 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0022/4.435, allocations: 1.057 MB / 2.022 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.286e-05/4.435, allocations: 11.72 kB / 2.022 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/4.435, allocations: 6.891 kB / 2.022 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.029e-05/4.435, allocations: 3.234 kB / 2.022 GB, free: 156.8 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003488/4.438, allocations: 2.217 MB / 2.024 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.673e-06/4.438, allocations: 3.812 kB / 2.024 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009522/4.439, allocations: 228.6 kB / 2.024 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/4.439, allocations: 7.188 kB / 2.024 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.304e-05/4.439, allocations: 28.22 kB / 2.024 GB, free: 156.4 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003819/4.44, allocations: 1.192 MB / 2.025 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/4.44, allocations: 3.594 kB / 2.025 GB, free: 155.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002336/4.442, allocations: 1.646 MB / 2.027 GB, free: 154.8 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005554/4.443, allocations: 344.5 kB / 2.027 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/4.443, allocations: 7.781 kB / 2.027 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009952/4.444, allocations: 116.6 kB / 2.027 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/4.444, allocations: 75.89 kB / 2.028 GB, free: 154.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.758e-05/4.444, allocations: 39.81 kB / 2.028 GB, free: 154.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.0007791/4.445, allocations: 0.6299 MB / 2.028 GB, free: 154.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.3e-07/4.445, allocations: 3.875 kB / 2.028 GB, free: 154.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002906/4.448, allocations: 0.8489 MB / 2.029 GB, free: 154.5 MB / 0.948 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.001979/4.45, allocations: 0.8941 MB / 2.03 GB, free: 154.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.002965/4.453, allocations: 1.542 MB / 2.031 GB, free: 154.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 4.768e-06/4.453, allocations: 1.281 kB / 2.031 GB, free: 154.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007968/4.453, allocations: 470.2 kB / 2.032 GB, free: 154.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/4.456, allocations: 464.3 kB / 2.032 GB, free: 154.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003807/4.46, allocations: 1.788 MB / 2.034 GB, free: 153.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006859/4.46, allocations: 1.205 MB / 2.035 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.001972/4.462, allocations: 404.1 kB / 2.036 GB, free: 152.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00029/4.463, allocations: 103.2 kB / 2.036 GB, free: 152.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.423e-06/4.463, allocations: 3.531 kB / 2.036 GB, free: 152.8 MB / 0.948 GB Notification: Performance of Templates: time 0.06709/4.53, allocations: 27.53 MB / 2.063 GB, free: 152.1 MB / 0.948 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)