Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 4.159/4.159, allocations: 251.1 MB / 266.7 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002408/0.002408, allocations: 175.5 kB / 326.2 MB, free: 2.852 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.014/4.014, allocations: 205.4 MB / 0.5772 GB, free: 21.14 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001615/0.001614, allocations: 90.36 kB / 0.6817 GB, free: 14.05 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0007265/0.0007268, allocations: 16 kB / 0.7957 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2711/0.2718, allocations: 106.3 MB / 0.8995 GB, free: 66.04 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 10.18/10.45, allocations: 2.471 GB / 3.37 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005462/10.45, allocations: 97.72 kB / 3.37 GB, free: 242.1 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 5.995/16.45, allocations: 0.8822 GB / 4.253 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.469e-06/16.45, allocations: 0 / 4.253 GB, free: 112.3 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 0.0003882/16.45, allocations: 35.98 kB / 4.253 GB, free: 112.2 MB / 0.8855 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.0141/16.46, allocations: 2.143 MB / 4.255 GB, free: 110 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.109e-05/16.46, allocations: 8.031 kB / 4.255 GB, free: 110 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008124/16.47, allocations: 0.5182 MB / 4.255 GB, free: 109.5 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007489/16.48, allocations: 1.221 MB / 4.256 GB, free: 108.2 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001821/16.48, allocations: 214.8 kB / 4.257 GB, free: 108 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001053/16.48, allocations: 96 kB / 4.257 GB, free: 107.9 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01041/16.49, allocations: 1.289 MB / 4.258 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.683e-05/16.49, allocations: 3.938 kB / 4.258 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00031/16.49, allocations: 36 kB / 4.258 GB, free: 106.6 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001096/16.49, allocations: 34 kB / 4.258 GB, free: 106.5 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009277/16.5, allocations: 1.32 MB / 4.259 GB, free: 105.2 MB / 0.8855 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.02504/16.53, allocations: 5.013 MB / 4.264 GB, free: 99.88 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007236/16.54, allocations: 1.051 MB / 4.265 GB, free: 98.82 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003498/16.54, allocations: 0.5812 MB / 4.266 GB, free: 98.24 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002288/16.54, allocations: 0.8422 MB / 4.267 GB, free: 97.23 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004483/16.55, allocations: 0.7156 MB / 4.267 GB, free: 96.49 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=85): time 9.939e-06/16.55, allocations: 0 / 4.267 GB, free: 96.49 MB / 0.8855 GB Notification: Performance of matching and sorting (n=85): time 0.01358/16.56, allocations: 1.839 MB / 4.269 GB, free: 94.63 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001086/16.56, allocations: 115.5 kB / 4.269 GB, free: 94.49 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/16.56, allocations: 1.03 MB / 4.27 GB, free: 93.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 0.0006159/16.56, allocations: 45.7 kB / 4.27 GB, free: 93.4 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.001076/16.57, allocations: 0.5204 MB / 4.271 GB, free: 92.87 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.000716/16.57, allocations: 280 kB / 4.271 GB, free: 92.59 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001763/16.57, allocations: 24 kB / 4.271 GB, free: 92.57 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001736/16.57, allocations: 345.9 kB / 4.272 GB, free: 92.23 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004567/16.57, allocations: 0.5172 MB / 4.272 GB, free: 91.71 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004842/16.58, allocations: 0.7413 MB / 4.273 GB, free: 90.89 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004588/16.58, allocations: 0.6153 MB / 4.273 GB, free: 90.27 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.159e-05/16.58, allocations: 4 kB / 4.273 GB, free: 90.27 MB / 0.8855 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.01009/16.59, allocations: 1.546 MB / 4.275 GB, free: 88.7 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002315/16.59, allocations: 234.2 kB / 4.275 GB, free: 88.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.238e-05/16.59, allocations: 4 kB / 4.275 GB, free: 88.41 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.906e-05/16.59, allocations: 4 kB / 4.275 GB, free: 88.41 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003866/16.6, allocations: 263.6 kB / 4.275 GB, free: 88.15 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.106e-05/16.6, allocations: 15.92 kB / 4.275 GB, free: 88.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004779/16.6, allocations: 218.8 kB / 4.276 GB, free: 87.92 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006313/16.6, allocations: 55.97 kB / 4.276 GB, free: 87.87 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.066e-05/16.6, allocations: 5.406 kB / 4.276 GB, free: 87.86 MB / 0.8855 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01096/16.61, allocations: 1.456 MB / 4.277 GB, free: 86.4 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.812e-05/16.61, allocations: 4 kB / 4.277 GB, free: 86.39 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.876e-05/16.61, allocations: 8 kB / 4.277 GB, free: 86.39 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004154/16.62, allocations: 259.7 kB / 4.277 GB, free: 86.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.643e-05/16.62, allocations: 16 kB / 4.277 GB, free: 86.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005004/16.62, allocations: 195.1 kB / 4.277 GB, free: 85.93 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006308/16.62, allocations: 51.97 kB / 4.278 GB, free: 85.88 MB / 0.8855 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 () * Number of clocked 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.002229/16.62, allocations: 468.3 kB / 4.278 GB, free: 85.39 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008047/16.63, allocations: 134.4 kB / 4.278 GB, free: 85.26 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01403/16.64, allocations: 1.564 MB / 4.28 GB, free: 83.67 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.077e-05/16.64, allocations: 8 kB / 4.28 GB, free: 83.66 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.375e-05/16.64, allocations: 3.938 kB / 4.28 GB, free: 83.66 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.203e-05/16.64, allocations: 7.984 kB / 4.28 GB, free: 83.65 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01961/16.66, allocations: 3.006 MB / 4.283 GB, free: 80.54 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.957e-05/16.66, allocations: 0 / 4.283 GB, free: 80.54 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002869/16.66, allocations: 207.8 kB / 4.283 GB, free: 80.34 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.726e-05/16.66, allocations: 8 kB / 4.283 GB, free: 80.33 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000317/16.66, allocations: 35.97 kB / 4.283 GB, free: 80.3 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.855e-05/16.66, allocations: 4 kB / 4.283 GB, free: 80.29 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/16.66, allocations: 8 kB / 4.283 GB, free: 80.29 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01369/16.68, allocations: 2.354 MB / 4.285 GB, free: 77.87 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002081/16.68, allocations: 355.2 kB / 4.285 GB, free: 77.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008622/16.68, allocations: 24 kB / 4.286 GB, free: 77.48 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004842/16.68, allocations: 139.7 kB / 4.286 GB, free: 77.34 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004829/16.69, allocations: 72.36 kB / 4.286 GB, free: 77.27 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003894/16.69, allocations: 47.97 kB / 4.286 GB, free: 77.22 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.002962/16.69, allocations: 0.6971 MB / 4.286 GB, free: 76.52 MB / 0.8855 GB Notification: Performance of sort global known variables: time 9.02e-07/16.69, allocations: 0 / 4.286 GB, free: 76.52 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.008061/16.7, allocations: 0.9987 MB / 4.287 GB, free: 75.52 MB / 0.8855 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) * Number of clocked states: 0 () * 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.007842/16.7, allocations: 2.23 MB / 4.29 GB, free: 73.22 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0135/16.72, allocations: 2.266 MB / 4.292 GB, free: 70.9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.525e-05/16.72, allocations: 0 / 4.292 GB, free: 70.9 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.004355/16.72, allocations: 0.7879 MB / 4.293 GB, free: 70.09 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008151/16.73, allocations: 0.5224 MB / 4.293 GB, free: 69.58 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01101/16.74, allocations: 2.786 MB / 4.296 GB, free: 66.72 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001222/16.74, allocations: 1.153 MB / 4.297 GB, free: 65.54 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.00473/16.75, allocations: 364.8 kB / 4.297 GB, free: 65.18 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/16.75, allocations: 103.4 kB / 4.297 GB, free: 65.07 MB / 0.8855 GB Notification: Performance of SimCode: time 2.024e-06/16.75, allocations: 0 / 4.297 GB, free: 65.07 MB / 0.8855 GB Notification: Performance of Templates: time 0.1826/16.93, allocations: 45.52 MB / 4.342 GB, free: 19.76 MB / 0.8855 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)