Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.758/1.758, allocations: 297.8 MB / 313.7 MB, free: 136 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.001014/0.001014, allocations: 183 kB / 384.6 MB, free: 10.85 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.496/1.496, allocations: 223.2 MB / 0.6626 GB, free: 4.328 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.0008848/0.0008848, allocations: 92.7 kB / 0.7808 GB, free: 43.36 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003965/0.0003965, allocations: 15.98 kB / 0.9088 GB, free: 0.6875 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6434/0.6438, allocations: 120.3 MB / 1.026 GB, free: 55.75 MB / 0.698 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9337/1.577, allocations: 413.7 MB / 1.43 GB, free: 160 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002299/1.578, allocations: 90.92 kB / 1.43 GB, free: 159.9 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 1.755/3.333, allocations: 0.6207 GB / 2.051 GB, free: 16.19 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.043e-06/3.333, allocations: 3.938 kB / 2.051 GB, free: 16.19 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002282/3.333, allocations: 47.86 kB / 2.051 GB, free: 16.14 MB / 0.9792 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.005119/3.338, allocations: 2.04 MB / 2.053 GB, free: 14.04 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 3.935e-05/3.338, allocations: 16.03 kB / 2.053 GB, free: 14.02 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001666/3.34, allocations: 382.6 kB / 2.054 GB, free: 13.65 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003081/3.343, allocations: 1.332 MB / 2.055 GB, free: 12.26 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005641/3.344, allocations: 206.9 kB / 2.055 GB, free: 12.06 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002805/3.344, allocations: 104.8 kB / 2.055 GB, free: 11.96 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002102/3.346, allocations: 1.142 MB / 2.056 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.53e-05/3.346, allocations: 3.938 kB / 2.056 GB, free: 10.77 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.636e-05/3.346, allocations: 36 kB / 2.056 GB, free: 10.73 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.809e-05/3.346, allocations: 30 kB / 2.056 GB, free: 10.71 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002196/3.348, allocations: 1.081 MB / 2.057 GB, free: 9.621 MB / 0.9792 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.006663/3.355, allocations: 4.785 MB / 2.062 GB, free: 4.559 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002077/3.357, allocations: 0.9355 MB / 2.063 GB, free: 3.613 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/3.358, allocations: 478.6 kB / 2.063 GB, free: 3.145 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007983/3.359, allocations: 1.06 MB / 2.064 GB, free: 1.863 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001074/3.36, allocations: 0.5703 MB / 2.065 GB, free: 1.277 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=74): time 2.835e-06/3.36, allocations: 4.219 kB / 2.065 GB, free: 1.273 MB / 0.9792 GB Notification: Performance of matching and sorting (n=74): time 0.4947/3.855, allocations: 1.427 MB / 2.066 GB, free: 152.4 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/3.855, allocations: 112.4 kB / 2.067 GB, free: 152.3 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/3.857, allocations: 1.162 MB / 2.068 GB, free: 152.1 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.000261/3.857, allocations: 49.52 kB / 2.068 GB, free: 152.1 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.000508/3.858, allocations: 0.577 MB / 2.068 GB, free: 152 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002438/3.858, allocations: 251.1 kB / 2.068 GB, free: 152 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.141e-05/3.858, allocations: 20.31 kB / 2.069 GB, free: 152 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 8.434e-05/3.858, allocations: 340.7 kB / 2.069 GB, free: 151.7 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0013/3.86, allocations: 459.2 kB / 2.069 GB, free: 151.7 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001496/3.861, allocations: 0.7308 MB / 2.07 GB, free: 151.4 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002706/3.864, allocations: 1.061 MB / 2.071 GB, free: 151.2 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.434e-06/3.864, allocations: 1.062 kB / 2.071 GB, free: 151.2 MB / 0.9792 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003832/3.868, allocations: 1.341 MB / 2.072 GB, free: 151.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001362/3.868, allocations: 242.4 kB / 2.073 GB, free: 150.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.195e-05/3.868, allocations: 3.531 kB / 2.073 GB, free: 150.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.952e-05/3.868, allocations: 8.562 kB / 2.073 GB, free: 150.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001674/3.87, allocations: 327.3 kB / 2.073 GB, free: 150.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005429/3.87, allocations: 1.202 MB / 2.074 GB, free: 149.7 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001626/3.872, allocations: 210.8 kB / 2.074 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001407/3.872, allocations: 55.3 kB / 2.074 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.186e-05/3.872, allocations: 5.547 kB / 2.074 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002731/3.875, allocations: 1.194 MB / 2.075 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/3.875, allocations: 5.875 kB / 2.075 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.467e-06/3.875, allocations: 13.47 kB / 2.076 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001092/3.876, allocations: 292.6 kB / 2.076 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/3.876, allocations: 12.12 kB / 2.076 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001403/3.877, allocations: 201 kB / 2.076 GB, free: 149.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001135/3.877, allocations: 62.27 kB / 2.076 GB, free: 149.6 MB / 0.9792 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 (120): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * 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.0007855/3.878, allocations: 380.5 kB / 2.076 GB, free: 149.4 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002414/3.878, allocations: 137.8 kB / 2.077 GB, free: 149.3 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002812/3.881, allocations: 1.344 MB / 2.078 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.537e-05/3.881, allocations: 8.062 kB / 2.078 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/3.881, allocations: 0 / 2.078 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.49e-05/3.881, allocations: 11.09 kB / 2.078 GB, free: 149.2 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004456/3.886, allocations: 2.584 MB / 2.08 GB, free: 148.8 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/3.886, allocations: 2.438 kB / 2.08 GB, free: 148.8 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00101/3.887, allocations: 236.2 kB / 2.081 GB, free: 148.8 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.009e-05/3.887, allocations: 5.062 kB / 2.081 GB, free: 148.8 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.276e-05/3.887, allocations: 30.47 kB / 2.081 GB, free: 148.8 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000402/3.887, allocations: 1.182 MB / 2.082 GB, free: 147.6 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/3.887, allocations: 4.844 kB / 2.082 GB, free: 147.6 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/3.891, allocations: 1.959 MB / 2.084 GB, free: 147.3 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006625/3.892, allocations: 357.9 kB / 2.084 GB, free: 147.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001682/3.892, allocations: 26.62 kB / 2.084 GB, free: 147.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001042/3.893, allocations: 126.5 kB / 2.084 GB, free: 147.1 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/3.893, allocations: 67.55 kB / 2.084 GB, free: 147.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.877e-05/3.893, allocations: 41.02 kB / 2.084 GB, free: 147.1 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001143/3.894, allocations: 0.7729 MB / 2.085 GB, free: 147 MB / 0.9792 GB Notification: Performance of sort global known variables: time 9.92e-07/3.894, allocations: 3.344 kB / 2.085 GB, free: 147 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.002656/3.897, allocations: 0.8247 MB / 2.086 GB, free: 147 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[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 (91): * Single equations (assignments): 81 * 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.001676/3.899, allocations: 0.8399 MB / 2.087 GB, free: 146.9 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.004499/3.903, allocations: 1.928 MB / 2.089 GB, free: 146.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 6.092e-06/3.903, allocations: 2.5 kB / 2.089 GB, free: 146.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001344/3.905, allocations: 0.6229 MB / 2.089 GB, free: 146.7 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003248/3.908, allocations: 0.5635 MB / 2.09 GB, free: 146.7 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004605/3.912, allocations: 2.966 MB / 2.093 GB, free: 145.4 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005551/3.913, allocations: 1.159 MB / 2.094 GB, free: 144.7 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.001686/3.915, allocations: 364.2 kB / 2.094 GB, free: 144.7 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003059/3.915, allocations: 120 kB / 2.094 GB, free: 144.7 MB / 0.9792 GB Notification: Performance of SimCode: time 8.21e-07/3.915, allocations: 0 / 2.094 GB, free: 144.7 MB / 0.9792 GB Notification: Performance of Templates: time 0.04625/3.961, allocations: 30.07 MB / 2.124 GB, free: 144.1 MB / 0.9792 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1)