Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.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.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.703/1.703, allocations: 288.4 MB / 304.3 MB, free: 8.152 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.0009522/0.0009522, allocations: 184.5 kB / 373 MB, free: 10.14 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.535/1.535, allocations: 205.4 MB / 0.6317 GB, free: 9.891 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008471/0.0008472, allocations: 98.42 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004339/0.000434, allocations: 13.78 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2364, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9403/1.177, allocations: 424.1 MB / 1.395 GB, free: 4.664 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000251/1.177, allocations: 94.45 kB / 1.395 GB, free: 4.613 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.071/3.248, allocations: 0.6124 GB / 2.007 GB, free: 124 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.044e-06/3.248, allocations: 0 / 2.007 GB, free: 124 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0001451/3.248, allocations: 47.92 kB / 2.007 GB, free: 124 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.004384/3.252, allocations: 2.088 MB / 2.009 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/3.252, allocations: 14.81 kB / 2.009 GB, free: 121.8 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001464/3.254, allocations: 387.3 kB / 2.01 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002705/3.257, allocations: 1.376 MB / 2.011 GB, free: 120 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000578/3.257, allocations: 211 kB / 2.011 GB, free: 119.9 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001752/3.257, allocations: 115.9 kB / 2.012 GB, free: 119.7 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002055/3.259, allocations: 1.174 MB / 2.013 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/3.259, allocations: 0 / 2.013 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.386e-05/3.26, allocations: 32 kB / 2.013 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.438e-05/3.26, allocations: 23 kB / 2.013 GB, free: 118.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002241/3.262, allocations: 1.078 MB / 2.014 GB, free: 117.4 MB / 0.9323 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.006523/3.268, allocations: 4.791 MB / 2.018 GB, free: 112.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001998/3.27, allocations: 0.9431 MB / 2.019 GB, free: 111.5 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009477/3.271, allocations: 476 kB / 2.02 GB, free: 111 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008155/3.272, allocations: 1.061 MB / 2.021 GB, free: 109.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001099/3.273, allocations: 0.5624 MB / 2.021 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=73): time 3.025e-06/3.273, allocations: 0 / 2.021 GB, free: 109.2 MB / 0.9323 GB Notification: Performance of matching and sorting (n=73): time 0.003395/3.277, allocations: 1.426 MB / 2.023 GB, free: 107.8 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/3.277, allocations: 200.6 kB / 2.023 GB, free: 107.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001382/3.278, allocations: 1.176 MB / 2.024 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0001354/3.278, allocations: 49.7 kB / 2.024 GB, free: 106.3 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004076/3.279, allocations: 0.5991 MB / 2.025 GB, free: 105.7 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/3.279, allocations: 256.3 kB / 2.025 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.406e-05/3.279, allocations: 16 kB / 2.025 GB, free: 105.4 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 7.248e-05/3.279, allocations: 341.9 kB / 2.025 GB, free: 105.1 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/3.28, allocations: 473.7 kB / 2.026 GB, free: 104.6 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/3.281, allocations: 0.7624 MB / 2.027 GB, free: 103.7 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002041/3.283, allocations: 1.074 MB / 2.028 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.514e-06/3.283, allocations: 4 kB / 2.028 GB, free: 102.6 MB / 0.9323 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002923/3.286, allocations: 1.372 MB / 2.029 GB, free: 101.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.000114/3.286, allocations: 238.8 kB / 2.029 GB, free: 100.9 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/3.286, allocations: 8 kB / 2.029 GB, free: 100.9 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.349e-05/3.286, allocations: 8 kB / 2.029 GB, free: 100.9 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/3.288, allocations: 323.3 kB / 2.029 GB, free: 100.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004935/3.288, allocations: 1.195 MB / 2.031 GB, free: 99.34 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/3.29, allocations: 214.8 kB / 2.031 GB, free: 99.13 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/3.29, allocations: 59.95 kB / 2.031 GB, free: 99.07 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 8.386e-06/3.29, allocations: 8.625 kB / 2.031 GB, free: 99.07 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002414/3.292, allocations: 1.216 MB / 2.032 GB, free: 97.84 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/3.293, allocations: 7.984 kB / 2.032 GB, free: 97.84 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.774e-06/3.293, allocations: 8 kB / 2.032 GB, free: 97.83 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001033/3.294, allocations: 287.8 kB / 2.032 GB, free: 97.55 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.999e-06/3.294, allocations: 15.88 kB / 2.032 GB, free: 97.53 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/3.295, allocations: 199 kB / 2.033 GB, free: 97.34 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.57e-05/3.295, allocations: 55.97 kB / 2.033 GB, free: 97.28 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 () * Number of clocked 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.0006439/3.296, allocations: 379.8 kB / 2.033 GB, free: 96.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001948/3.296, allocations: 142.2 kB / 2.033 GB, free: 96.76 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002632/3.299, allocations: 1.336 MB / 2.034 GB, free: 95.42 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/3.299, allocations: 11.94 kB / 2.034 GB, free: 95.41 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/3.299, allocations: 0 / 2.034 GB, free: 95.41 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/3.299, allocations: 11.41 kB / 2.034 GB, free: 95.4 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003833/3.302, allocations: 2.582 MB / 2.037 GB, free: 92.73 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/3.302, allocations: 4 kB / 2.037 GB, free: 92.73 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009476/3.303, allocations: 231.9 kB / 2.037 GB, free: 92.5 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.174e-06/3.303, allocations: 7.938 kB / 2.037 GB, free: 92.5 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.11e-05/3.304, allocations: 35.28 kB / 2.037 GB, free: 92.46 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000319/3.304, allocations: 1.188 MB / 2.038 GB, free: 91.23 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/3.304, allocations: 4.031 kB / 2.038 GB, free: 91.23 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003403/3.307, allocations: 1.949 MB / 2.04 GB, free: 89.23 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005508/3.308, allocations: 350.8 kB / 2.041 GB, free: 88.87 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/3.308, allocations: 20 kB / 2.041 GB, free: 88.85 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/3.309, allocations: 135.9 kB / 2.041 GB, free: 88.71 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001323/3.309, allocations: 68.56 kB / 2.041 GB, free: 88.65 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.521e-05/3.309, allocations: 39.91 kB / 2.041 GB, free: 88.61 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0009302/3.31, allocations: 0.7856 MB / 2.042 GB, free: 87.82 MB / 0.9323 GB Notification: Performance of sort global known variables: time 1.31e-07/3.31, allocations: 4 kB / 2.042 GB, free: 87.82 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.002382/3.313, allocations: 0.8778 MB / 2.043 GB, free: 86.94 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) * Number of clocked states: 0 () * 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.0015/3.314, allocations: 0.8829 MB / 2.043 GB, free: 86.1 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004227/3.318, allocations: 2.008 MB / 2.045 GB, free: 84.07 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 5.971e-06/3.318, allocations: 4.188 kB / 2.045 GB, free: 84.06 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/3.32, allocations: 0.6173 MB / 2.046 GB, free: 83.44 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/3.323, allocations: 0.5785 MB / 2.047 GB, free: 82.88 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004242/3.327, allocations: 2.992 MB / 2.049 GB, free: 79.84 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004593/3.328, allocations: 1.176 MB / 2.051 GB, free: 78.63 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.001557/3.329, allocations: 359.5 kB / 2.051 GB, free: 78.28 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002963/3.33, allocations: 127.3 kB / 2.051 GB, free: 78.16 MB / 0.9323 GB Notification: Performance of SimCode: time 7.11e-07/3.33, allocations: 4 kB / 2.051 GB, free: 78.15 MB / 0.9323 GB Notification: Performance of Templates: time 0.04306/3.373, allocations: 31.31 MB / 2.082 GB, free: 47.12 MB / 0.9323 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)