Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.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.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") translateModel(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.672/1.672, allocations: 285.4 MB / 298 MB, free: 6.023 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.001243/0.001243, allocations: 172.8 kB / 366.4 MB, free: 2.105 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.652/1.652, allocations: 205.1 MB / 0.6248 GB, free: 7.746 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.0008722/0.0008723, allocations: 96.3 kB / 0.738 GB, free: 40.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.875e-05/3.877e-05, allocations: 4 kB / 0.8583 GB, free: 13.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8067, allocations: 115.3 MB / 0.9709 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.13/6.936, allocations: 2.354 GB / 3.325 GB, free: 146.9 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004316/6.937, allocations: 85.55 kB / 3.325 GB, free: 146.8 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.944/10.88, allocations: 0.9148 GB / 4.24 GB, free: 152.6 MB / 0.9636 GB Notification: Performance of FrontEnd: time 5.14e-06/10.88, allocations: 0 / 4.24 GB, free: 152.6 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001607/10.88, allocations: 39.38 kB / 4.24 GB, free: 152.6 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.006019/10.89, allocations: 1.915 MB / 4.242 GB, free: 152.1 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/10.89, allocations: 11.03 kB / 4.242 GB, free: 152.1 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003321/10.89, allocations: 0.5243 MB / 4.242 GB, free: 152 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/10.89, allocations: 1.205 MB / 4.243 GB, free: 151.7 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006314/10.89, allocations: 206.3 kB / 4.244 GB, free: 151.7 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002361/10.89, allocations: 104.1 kB / 4.244 GB, free: 151.7 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002074/10.9, allocations: 1.142 MB / 4.245 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.279e-05/10.9, allocations: 2.953 kB / 4.245 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/10.9, allocations: 35.28 kB / 4.245 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.121e-05/10.9, allocations: 42.83 kB / 4.245 GB, free: 151.6 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001663/10.9, allocations: 1.057 MB / 4.246 GB, free: 151.6 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.009854/10.91, allocations: 5.016 MB / 4.251 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001678/10.91, allocations: 0.7742 MB / 4.252 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007955/10.91, allocations: 476.3 kB / 4.252 GB, free: 149.6 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001083/10.91, allocations: 0.8455 MB / 4.253 GB, free: 148.7 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/10.91, allocations: 0.5815 MB / 4.253 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=85): time 3.216e-06/10.91, allocations: 0 / 4.253 GB, free: 148.6 MB / 0.9636 GB Notification: Performance of matching and sorting (n=85): time 0.002757/10.92, allocations: 1.09 MB / 4.255 GB, free: 148.4 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.539e-05/10.92, allocations: 119.8 kB / 4.255 GB, free: 148.3 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001673/10.92, allocations: 0.8887 MB / 4.256 GB, free: 148.2 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001663/10.92, allocations: 47.2 kB / 4.256 GB, free: 148.1 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005286/10.92, allocations: 0.5282 MB / 4.256 GB, free: 148 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002676/10.92, allocations: 272.3 kB / 4.256 GB, free: 147.8 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/10.92, allocations: 18.34 kB / 4.256 GB, free: 147.8 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.388e-05/10.92, allocations: 341.6 kB / 4.257 GB, free: 147.5 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007292/10.92, allocations: 397.7 kB / 4.257 GB, free: 147.5 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009239/10.92, allocations: 0.6069 MB / 4.258 GB, free: 147.3 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008558/10.92, allocations: 0.4921 MB / 4.258 GB, free: 147.2 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/10.92, allocations: 1.156 kB / 4.258 GB, free: 147.2 MB / 0.9636 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002707/10.92, allocations: 1.267 MB / 4.259 GB, free: 147.1 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003315/10.92, allocations: 1.124 MB / 4.26 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.799e-05/10.92, allocations: 3.141 kB / 4.26 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.373e-05/10.92, allocations: 9.156 kB / 4.26 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001434/10.93, allocations: 267.8 kB / 4.261 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.484e-05/10.93, allocations: 9.719 kB / 4.261 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002017/10.93, allocations: 219.5 kB / 4.261 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001999/10.93, allocations: 51.14 kB / 4.261 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/10.93, allocations: 4.031 kB / 4.261 GB, free: 145.9 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002567/10.93, allocations: 1.187 MB / 4.262 GB, free: 145.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.496e-05/10.93, allocations: 7.875 kB / 4.262 GB, free: 145.8 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/10.93, allocations: 7.812 kB / 4.262 GB, free: 145.8 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/10.93, allocations: 263.3 kB / 4.262 GB, free: 145.8 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.519e-05/10.93, allocations: 9.312 kB / 4.262 GB, free: 145.8 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00192/10.93, allocations: 199.8 kB / 4.263 GB, free: 145.8 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002301/10.93, allocations: 54.83 kB / 4.263 GB, free: 145.8 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.0005198/10.93, allocations: 230.6 kB / 4.263 GB, free: 145.6 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006503/10.94, allocations: 130.2 kB / 4.263 GB, free: 145.5 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003115/10.94, allocations: 1.296 MB / 4.264 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-05/10.94, allocations: 8.625 kB / 4.264 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/10.94, allocations: 0 / 4.264 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.048e-05/10.94, allocations: 6.188 kB / 4.264 GB, free: 145.4 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006171/10.94, allocations: 2.768 MB / 4.267 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.067e-05/10.94, allocations: 0.7969 kB / 4.267 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001052/10.95, allocations: 206.9 kB / 4.267 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.235e-05/10.95, allocations: 9.578 kB / 4.267 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001129/10.95, allocations: 32.61 kB / 4.267 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.618e-05/10.95, allocations: 11.27 kB / 4.267 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.326e-06/10.95, allocations: 6.469 kB / 4.267 GB, free: 144.9 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/10.95, allocations: 2.127 MB / 4.269 GB, free: 144.3 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001143/10.95, allocations: 356.8 kB / 4.27 GB, free: 144.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004617/10.95, allocations: 25.69 kB / 4.27 GB, free: 144.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001711/10.95, allocations: 135.5 kB / 4.27 GB, free: 144.1 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000215/10.95, allocations: 65.56 kB / 4.27 GB, free: 144.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001669/10.95, allocations: 47.64 kB / 4.27 GB, free: 144.1 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001787/10.96, allocations: 0.6861 MB / 4.271 GB, free: 144 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.41e-07/10.96, allocations: 0 / 4.271 GB, free: 144 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.005168/10.96, allocations: 1.014 MB / 4.272 GB, free: 143.9 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.005888/10.97, allocations: 2.224 MB / 4.274 GB, free: 143.3 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004143/10.97, allocations: 1.91 MB / 4.276 GB, free: 143 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.757e-06/10.97, allocations: 1.344 kB / 4.276 GB, free: 143 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001245/10.97, allocations: 0.6549 MB / 4.276 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003719/10.98, allocations: 0.5039 MB / 4.277 GB, free: 142.9 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005648/10.98, allocations: 1.785 MB / 4.279 GB, free: 142.4 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001513/10.98, allocations: 1.184 MB / 4.28 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.003233/10.99, allocations: 428 kB / 4.28 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003907/10.99, allocations: 92.19 kB / 4.28 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of SimCode: time 2.565e-06/10.99, allocations: 0 / 4.28 GB, free: 141.6 MB / 0.9636 GB Notification: Performance of Templates: time 0.08049/11.07, allocations: 52.09 MB / 4.331 GB, free: 140.2 MB / 0.9636 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.makefile (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & ./Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)