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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.733/1.733, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001093/0.001093, allocations: 185 kB / 377.1 MB, free: 1.504 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.857/1.857, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.001139/0.001139, allocations: 96.52 kB / 0.7509 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005142/0.0005143, allocations: 15.98 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3128/0.3133, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.472/6.785, allocations: 2.355 GB / 3.344 GB, free: 188.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/6.785, allocations: 92.52 kB / 3.344 GB, free: 188.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.35/10.14, allocations: 0.9162 GB / 4.26 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.513e-06/10.14, allocations: 0 / 4.26 GB, free: 121.1 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0001414/10.14, allocations: 40.73 kB / 4.26 GB, free: 121.1 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.006738/10.14, allocations: 2.142 MB / 4.262 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/10.14, allocations: 8.531 kB / 4.262 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004581/10.14, allocations: 142.4 kB / 4.262 GB, free: 120.5 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003538/10.15, allocations: 0.5286 MB / 4.263 GB, free: 120.4 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003845/10.15, allocations: 1.218 MB / 4.264 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007076/10.15, allocations: 207.3 kB / 4.264 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003669/10.15, allocations: 99.41 kB / 4.264 GB, free: 120.1 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002841/10.15, allocations: 1.284 MB / 4.265 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.195e-05/10.15, allocations: 0 / 4.265 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001102/10.15, allocations: 43.81 kB / 4.265 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/10.15, allocations: 35.91 kB / 4.265 GB, free: 120 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003589/10.16, allocations: 1.319 MB / 4.267 GB, free: 120 MB / 0.9636 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.01024/10.17, allocations: 5.017 MB / 4.272 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/10.17, allocations: 1.074 MB / 4.273 GB, free: 118.1 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001073/10.17, allocations: 0.8378 MB / 4.273 GB, free: 117.2 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001639/10.17, allocations: 0.7083 MB / 4.274 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=85): time 3.106e-06/10.17, allocations: 3.688 kB / 4.274 GB, free: 117.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=85): time 0.005153/10.18, allocations: 1.994 MB / 4.276 GB, free: 116.7 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/10.18, allocations: 115.8 kB / 4.276 GB, free: 116.6 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/10.18, allocations: 0.9007 MB / 4.277 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0001633/10.18, allocations: 47.8 kB / 4.277 GB, free: 116.4 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004886/10.18, allocations: 0.5283 MB / 4.278 GB, free: 116.3 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002483/10.18, allocations: 278.1 kB / 4.278 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.731e-05/10.18, allocations: 20.12 kB / 4.278 GB, free: 116.1 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.616e-05/10.18, allocations: 344.8 kB / 4.278 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001363/10.18, allocations: 0.5233 MB / 4.279 GB, free: 115.8 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001577/10.18, allocations: 0.7391 MB / 4.28 GB, free: 115.6 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001347/10.19, allocations: 0.6163 MB / 4.28 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.122e-06/10.19, allocations: 3.031 kB / 4.28 GB, free: 115.5 MB / 0.9636 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.00352/10.19, allocations: 1.544 MB / 4.282 GB, free: 115.4 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004005/10.19, allocations: 1.126 MB / 4.283 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.287e-05/10.19, allocations: 2.938 kB / 4.283 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.963e-05/10.19, allocations: 8.906 kB / 4.283 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001294/10.19, allocations: 259.6 kB / 4.283 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/10.19, allocations: 11.45 kB / 4.283 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/10.19, allocations: 219.4 kB / 4.283 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/10.19, allocations: 58.47 kB / 4.283 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.325e-05/10.19, allocations: 5.375 kB / 4.283 GB, free: 114.2 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003176/10.2, allocations: 1.452 MB / 4.285 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/10.2, allocations: 3.422 kB / 4.285 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.005e-05/10.2, allocations: 5.781 kB / 4.285 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/10.2, allocations: 266 kB / 4.285 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.128e-05/10.2, allocations: 9.562 kB / 4.285 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001802/10.2, allocations: 206.5 kB / 4.285 GB, free: 114.1 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001216/10.2, allocations: 49.47 kB / 4.285 GB, free: 114.1 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 () * 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.0009467/10.2, allocations: 470.1 kB / 4.286 GB, free: 113.8 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003094/10.2, allocations: 130.3 kB / 4.286 GB, free: 113.7 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003292/10.2, allocations: 1.56 MB / 4.287 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/10.2, allocations: 6.906 kB / 4.287 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/10.2, allocations: 0.8125 kB / 4.287 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.16e-05/10.2, allocations: 6.984 kB / 4.287 GB, free: 113.6 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005738/10.21, allocations: 3.019 MB / 4.29 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.378e-06/10.21, allocations: 6.688 kB / 4.29 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/10.21, allocations: 199.7 kB / 4.29 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.158e-05/10.21, allocations: 12.31 kB / 4.29 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.331e-05/10.21, allocations: 38.3 kB / 4.291 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.495e-06/10.21, allocations: 7.656 kB / 4.291 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.06e-06/10.21, allocations: 4.781 kB / 4.291 GB, free: 113.1 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004782/10.22, allocations: 2.524 MB / 4.293 GB, free: 112.5 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001096/10.22, allocations: 353.5 kB / 4.293 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000233/10.22, allocations: 24.41 kB / 4.293 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/10.22, allocations: 138.4 kB / 4.293 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/10.22, allocations: 72.61 kB / 4.294 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001104/10.22, allocations: 45.53 kB / 4.294 GB, free: 112.3 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.001111/10.22, allocations: 0.7 MB / 4.294 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.51e-07/10.22, allocations: 2.156 kB / 4.294 GB, free: 112.2 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.003836/10.22, allocations: 1.007 MB / 4.295 GB, free: 112.2 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) * 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.009139/10.23, allocations: 6.03 MB / 4.301 GB, free: 109.7 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.004688/10.24, allocations: 2.269 MB / 4.303 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 8.245e-06/10.24, allocations: 0 / 4.303 GB, free: 109.4 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/10.24, allocations: 0.785 MB / 4.304 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/10.24, allocations: 0.5058 MB / 4.305 GB, free: 109.3 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007317/10.25, allocations: 5.231 MB / 4.31 GB, free: 106 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006225/10.25, allocations: 1.18 MB / 4.311 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.00192/10.25, allocations: 358.8 kB / 4.311 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007071/10.25, allocations: 497.2 kB / 4.312 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of SimCode: time 2.074e-06/10.25, allocations: 0 / 4.312 GB, free: 105.3 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1245/10.38, allocations: 62.26 MB / 4.373 GB, free: 103.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/10.38, allocations: 257 kB / 4.373 GB, free: 103.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.171/14.55, allocations: 0 / 4.373 GB, free: 103.4 MB / 0.9636 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)