Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.628/1.628, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001315/0.001315, allocations: 179 kB / 371.6 MB, free: 3.398 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.897/1.897, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0009771/0.0009771, allocations: 90.72 kB / 0.745 GB, free: 54.54 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.05e-05/4.055e-05, allocations: 4 kB / 0.8662 GB, free: 15.06 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3121/0.3121, allocations: 116.3 MB / 0.9798 GB, free: 10.6 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.446/7.758, allocations: 2.355 GB / 3.335 GB, free: 197.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002546/7.759, allocations: 86.52 kB / 3.335 GB, free: 197.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.248/11.01, allocations: 0.9148 GB / 4.25 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of FrontEnd: time 2.365e-06/11.01, allocations: 0 / 4.25 GB, free: 10.06 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001326/11.01, allocations: 39.98 kB / 4.25 GB, free: 10.02 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 229 * Number of variables: 229 Notification: Performance of Generate backend data structure: time 0.005572/11.01, allocations: 1.909 MB / 4.252 GB, free: 8.055 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/11.01, allocations: 12.03 kB / 4.252 GB, free: 8.043 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003078/11.02, allocations: 0.5284 MB / 4.252 GB, free: 7.516 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002943/11.02, allocations: 1.208 MB / 4.253 GB, free: 6.254 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006708/11.02, allocations: 209.9 kB / 4.254 GB, free: 6.047 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001977/11.02, allocations: 99.98 kB / 4.254 GB, free: 5.949 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/11.02, allocations: 1.145 MB / 4.255 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.19e-05/11.02, allocations: 0 / 4.255 GB, free: 4.781 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001104/11.02, allocations: 36 kB / 4.255 GB, free: 4.746 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.926e-05/11.02, allocations: 41.92 kB / 4.255 GB, free: 4.703 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001834/11.02, allocations: 1.05 MB / 4.256 GB, free: 3.652 MB / 0.9636 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.8177/11.84, allocations: 5.004 MB / 4.261 GB, free: 118.4 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001652/11.84, allocations: 0.7718 MB / 4.261 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000719/11.84, allocations: 476.3 kB / 4.262 GB, free: 118.3 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001096/11.84, allocations: 0.8379 MB / 4.263 GB, free: 117.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001019/11.85, allocations: 0.5838 MB / 4.263 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=85): time 3.867e-06/11.85, allocations: 0 / 4.263 GB, free: 117.4 MB / 0.9636 GB Notification: Performance of matching and sorting (n=85): time 0.002731/11.85, allocations: 1.1 MB / 4.264 GB, free: 117.3 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.281e-05/11.85, allocations: 117.8 kB / 4.264 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001864/11.85, allocations: 0.8917 MB / 4.265 GB, free: 117 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001589/11.85, allocations: 47.02 kB / 4.265 GB, free: 117 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005908/11.85, allocations: 0.5249 MB / 4.266 GB, free: 116.8 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002819/11.85, allocations: 273.9 kB / 4.266 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.134e-05/11.85, allocations: 20.94 kB / 4.266 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001298/11.85, allocations: 343.5 kB / 4.267 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008542/11.85, allocations: 392.6 kB / 4.267 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001178/11.85, allocations: 0.6075 MB / 4.267 GB, free: 116.2 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001084/11.86, allocations: 498.9 kB / 4.268 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.454e-06/11.86, allocations: 1.344 kB / 4.268 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003387/11.86, allocations: 1.273 MB / 4.269 GB, free: 115.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004427/11.86, allocations: 1.123 MB / 4.27 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/11.86, allocations: 2.688 kB / 4.27 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.927e-05/11.86, allocations: 7.25 kB / 4.27 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/11.86, allocations: 264.1 kB / 4.271 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.837e-05/11.86, allocations: 8.828 kB / 4.271 GB, free: 114.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002168/11.86, allocations: 222.6 kB / 4.271 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001946/11.86, allocations: 52.55 kB / 4.271 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.47e-05/11.86, allocations: 4.938 kB / 4.271 GB, free: 114.7 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002987/11.87, allocations: 1.183 MB / 4.272 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.379e-05/11.87, allocations: 4.969 kB / 4.272 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.155e-05/11.87, allocations: 10.64 kB / 4.272 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001472/11.87, allocations: 264.2 kB / 4.272 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.523e-05/11.87, allocations: 10.52 kB / 4.272 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002111/11.87, allocations: 199 kB / 4.272 GB, free: 114.6 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001803/11.87, allocations: 50.98 kB / 4.273 GB, free: 114.6 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,$PRE.mWatGai.nextEvent,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,$PRE.mAirGai.nextEvent,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime,hex.flowRegime_nominal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (109): * Single equations (assignments): 107 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005981/11.87, allocations: 236.2 kB / 4.273 GB, free: 114.5 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005043/11.87, allocations: 130.2 kB / 4.273 GB, free: 114.4 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003498/11.87, allocations: 1.289 MB / 4.274 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.128e-05/11.87, allocations: 12.69 kB / 4.274 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/11.87, allocations: 0.5938 kB / 4.274 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/11.87, allocations: 8.047 kB / 4.274 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005971/11.88, allocations: 2.766 MB / 4.277 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.073e-05/11.88, allocations: 2.781 kB / 4.277 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001115/11.88, allocations: 206.8 kB / 4.277 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.226e-05/11.88, allocations: 7.016 kB / 4.277 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-05/11.88, allocations: 32.77 kB / 4.277 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/11.88, allocations: 7.781 kB / 4.277 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.584e-06/11.88, allocations: 11.23 kB / 4.277 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003616/11.89, allocations: 2.134 MB / 4.279 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009327/11.89, allocations: 356.5 kB / 4.28 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001877/11.89, allocations: 30.03 kB / 4.28 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001242/11.89, allocations: 137.4 kB / 4.28 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001692/11.89, allocations: 64.86 kB / 4.28 GB, free: 113 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/11.89, allocations: 47.61 kB / 4.28 GB, free: 113 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001133/11.89, allocations: 0.6859 MB / 4.28 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.41e-07/11.89, allocations: 3.188 kB / 4.28 GB, free: 112.9 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003756/11.89, allocations: 0.9992 MB / 4.281 GB, free: 112.8 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 (senRelHum.phi) * Number of discrete variables: 13 ($whenCondition1,$whenCondition2,mWatGai.a,mWatGai.b,mWatGai.last,mWatGai.nextEvent,mWatGai.nextEventScaled,mAirGai.a,mAirGai.b,mAirGai.last,mAirGai.nextEvent,mAirGai.nextEventScaled,hex.flowRegime) * Number of discrete states: 12 (mAirGai.nextEvent,mAirGai.last,mAirGai.nextEventScaled,mAirGai.b,mAirGai.a,$whenCondition2,mWatGai.nextEvent,mWatGai.last,mWatGai.nextEventScaled,mWatGai.b,mWatGai.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004938/11.9, allocations: 2.237 MB / 4.284 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.003583/11.9, allocations: 1.906 MB / 4.285 GB, free: 112 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.108e-05/11.9, allocations: 3.031 kB / 4.285 GB, free: 112 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009336/11.9, allocations: 0.6603 MB / 4.286 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003108/11.91, allocations: 0.4973 MB / 4.287 GB, free: 111.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004361/11.91, allocations: 1.788 MB / 4.288 GB, free: 111.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009407/11.91, allocations: 1.185 MB / 4.29 GB, free: 110.7 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.002518/11.91, allocations: 430.9 kB / 4.29 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003259/11.91, allocations: 86.56 kB / 4.29 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of SimCode: time 1.242e-06/11.91, allocations: 0 / 4.29 GB, free: 110.6 MB / 0.9636 GB Notification: Performance of Templates: time 0.07954/11.99, allocations: 52.09 MB / 4.341 GB, free: 109.7 MB / 0.9636 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)