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.688/1.688, allocations: 285.4 MB / 298 MB, free: 5.996 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.001461/0.001461, allocations: 180.8 kB / 366.4 MB, free: 2.109 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.66/1.66, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.0009818/0.000982, allocations: 95.55 kB / 0.738 GB, free: 40.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.203e-05/3.206e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7318, allocations: 115.3 MB / 0.9709 GB, free: 77.87 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.07/1.801, allocations: 423.9 MB / 1.385 GB, free: 136.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002125/1.802, allocations: 98.41 kB / 1.385 GB, free: 136.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.426/4.228, allocations: 0.6138 GB / 1.999 GB, free: 165.1 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.054e-06/4.228, allocations: 0 / 1.999 GB, free: 165.1 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001876/4.228, allocations: 46.11 kB / 1.999 GB, free: 165.1 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.005571/4.234, allocations: 1.832 MB / 2.001 GB, free: 164.6 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.944e-05/4.234, allocations: 11.31 kB / 2.001 GB, free: 164.6 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001812/4.236, allocations: 386.7 kB / 2.001 GB, free: 164.5 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003212/4.239, allocations: 1.306 MB / 2.002 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007751/4.24, allocations: 210.5 kB / 2.002 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002396/4.24, allocations: 102.6 kB / 2.003 GB, free: 164.2 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001963/4.242, allocations: 1.023 MB / 2.004 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/4.242, allocations: 0 / 2.004 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001021/4.242, allocations: 36.88 kB / 2.004 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.19e-05/4.242, allocations: 22.09 kB / 2.004 GB, free: 164 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001586/4.244, allocations: 0.8025 MB / 2.004 GB, free: 164 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.008909/4.252, allocations: 4.832 MB / 2.009 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00115/4.254, allocations: 0.6285 MB / 2.01 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00057/4.254, allocations: 334.1 kB / 2.01 GB, free: 162 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001021/4.255, allocations: 1.061 MB / 2.011 GB, free: 160.8 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007899/4.256, allocations: 431.5 kB / 2.011 GB, free: 160.8 MB / 0.948 GB Notification: Performance of pre-optimization done (n=73): time 3.787e-06/4.256, allocations: 3.406 kB / 2.011 GB, free: 160.8 MB / 0.948 GB Notification: Performance of matching and sorting (n=73): time 0.00165/4.258, allocations: 0.7683 MB / 2.012 GB, free: 160.6 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.807e-05/4.258, allocations: 189.3 kB / 2.012 GB, free: 160.4 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/4.259, allocations: 1.027 MB / 2.013 GB, free: 160.3 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001156/4.259, allocations: 47.36 kB / 2.013 GB, free: 160.2 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004465/4.26, allocations: 0.6024 MB / 2.014 GB, free: 160.1 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/4.26, allocations: 253.8 kB / 2.014 GB, free: 159.9 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.176e-05/4.26, allocations: 24.27 kB / 2.014 GB, free: 159.9 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.745e-05/4.26, allocations: 342 kB / 2.015 GB, free: 159.6 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005203/4.261, allocations: 329.7 kB / 2.015 GB, free: 159.6 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007127/4.261, allocations: 0.6091 MB / 2.016 GB, free: 159.3 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006002/4.262, allocations: 416.5 kB / 2.016 GB, free: 159.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.681e-06/4.262, allocations: 3.688 kB / 2.016 GB, free: 159.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.001787/4.264, allocations: 1.082 MB / 2.017 GB, free: 159.1 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003733/4.264, allocations: 1.634 MB / 2.019 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/4.264, allocations: 7.75 kB / 2.019 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.893e-05/4.264, allocations: 7.844 kB / 2.019 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/4.266, allocations: 307.4 kB / 2.019 GB, free: 157.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000539/4.266, allocations: 1.182 MB / 2.02 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/4.268, allocations: 226.7 kB / 2.02 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001204/4.268, allocations: 59.52 kB / 2.02 GB, free: 156.3 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/4.268, allocations: 7 kB / 2.02 GB, free: 156.3 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001475/4.27, allocations: 0.939 MB / 2.021 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/4.27, allocations: 3.359 kB / 2.021 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/4.27, allocations: 11.03 kB / 2.021 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001105/4.271, allocations: 285.8 kB / 2.022 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.252e-05/4.271, allocations: 11.66 kB / 2.022 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001416/4.272, allocations: 209.2 kB / 2.022 GB, free: 156.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/4.272, allocations: 54.67 kB / 2.022 GB, free: 156.2 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.0002916/4.273, allocations: 161.7 kB / 2.022 GB, free: 156.1 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002707/4.273, allocations: 145.2 kB / 2.022 GB, free: 156 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001964/4.275, allocations: 1.073 MB / 2.023 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/4.275, allocations: 10.06 kB / 2.023 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/4.275, allocations: 3.438 kB / 2.023 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.173e-05/4.275, allocations: 7.453 kB / 2.023 GB, free: 155.9 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003399/4.278, allocations: 2.316 MB / 2.025 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/4.278, allocations: 0 / 2.025 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/4.279, allocations: 235.2 kB / 2.026 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/4.279, allocations: 3.812 kB / 2.026 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.647e-05/4.279, allocations: 27.55 kB / 2.026 GB, free: 155.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003888/4.28, allocations: 1.188 MB / 2.027 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/4.28, allocations: 6.75 kB / 2.027 GB, free: 154.3 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002064/4.282, allocations: 1.652 MB / 2.028 GB, free: 153.9 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006375/4.283, allocations: 363.6 kB / 2.029 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001697/4.283, allocations: 18.69 kB / 2.029 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001077/4.284, allocations: 130.2 kB / 2.029 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000148/4.284, allocations: 75.17 kB / 2.029 GB, free: 153.7 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.064e-05/4.284, allocations: 35.66 kB / 2.029 GB, free: 153.7 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001015/4.285, allocations: 0.7784 MB / 2.03 GB, free: 153.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 1.81e-07/4.285, allocations: 2.906 kB / 2.03 GB, free: 153.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.002916/4.288, allocations: 0.8822 MB / 2.031 GB, free: 153.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.002096/4.29, allocations: 0.8869 MB / 2.032 GB, free: 153.3 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003567/4.294, allocations: 1.622 MB / 2.033 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/4.294, allocations: 1.812 kB / 2.033 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009832/4.295, allocations: 485.3 kB / 2.034 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/4.298, allocations: 0.5787 MB / 2.034 GB, free: 153.1 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004316/4.302, allocations: 1.844 MB / 2.036 GB, free: 152.5 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000804/4.303, allocations: 1.208 MB / 2.037 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002381/4.306, allocations: 422.8 kB / 2.038 GB, free: 151.8 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003514/4.306, allocations: 103 kB / 2.038 GB, free: 151.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.292e-06/4.306, allocations: 0 / 2.038 GB, free: 151.8 MB / 0.948 GB Notification: Performance of Templates: time 0.07128/4.377, allocations: 33.93 MB / 2.071 GB, free: 150.9 MB / 0.948 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)