Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.384/1.384, allocations: 249.5 MB / 257 MB, free: 6.914 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001006/0.001006, allocations: 183.2 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.476/1.476, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.000813/0.0008131, allocations: 100.4 kB / 0.6714 GB, free: 4.914 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.975e-05/1.983e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2018/0.2019, allocations: 106.3 MB / 0.8853 GB, free: 12.16 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.537/6.739, allocations: 2.471 GB / 3.356 GB, free: 282 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002294/6.74, allocations: 91.94 kB / 3.357 GB, free: 281.9 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 3.118/9.857, allocations: 0.8792 GB / 4.236 GB, free: 38.38 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.083e-06/9.857, allocations: 4 kB / 4.236 GB, free: 38.38 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 0.0001567/9.857, allocations: 31.98 kB / 4.236 GB, free: 38.34 MB / 0.8698 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.007081/9.865, allocations: 1.914 MB / 4.238 GB, free: 36.38 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 7.375e-05/9.865, allocations: 8.031 kB / 4.238 GB, free: 36.37 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003883/9.869, allocations: 0.525 MB / 4.238 GB, free: 35.84 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003972/9.873, allocations: 1.204 MB / 4.239 GB, free: 34.58 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006282/9.873, allocations: 169.9 kB / 4.24 GB, free: 34.41 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002012/9.873, allocations: 64 kB / 4.24 GB, free: 34.35 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001776/9.875, allocations: 0.9567 MB / 4.241 GB, free: 33.39 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/9.877, allocations: 1.016 MB / 4.242 GB, free: 32.35 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.627e-05/9.877, allocations: 0 / 4.242 GB, free: 32.35 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.665e-05/9.877, allocations: 3.953 kB / 4.242 GB, free: 32.35 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/9.877, allocations: 45.88 kB / 4.242 GB, free: 32.3 MB / 0.8698 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.008584/9.886, allocations: 4.888 MB / 4.246 GB, free: 27.11 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001089/9.887, allocations: 0.8255 MB / 4.247 GB, free: 26.26 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005323/9.887, allocations: 455.3 kB / 4.248 GB, free: 25.81 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009459/9.888, allocations: 0.839 MB / 4.248 GB, free: 24.8 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007259/9.889, allocations: 0.6194 MB / 4.249 GB, free: 24.15 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=85): time 3.417e-06/9.889, allocations: 0 / 4.249 GB, free: 24.15 MB / 0.8698 GB Notification: Performance of matching and sorting (n=85): time 0.002617/9.892, allocations: 1.127 MB / 4.25 GB, free: 23.02 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/9.892, allocations: 141.3 kB / 4.25 GB, free: 22.85 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008667/9.893, allocations: 0.742 MB / 4.251 GB, free: 22.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 8.548e-05/9.893, allocations: 29.7 kB / 4.251 GB, free: 22.06 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.000381/9.893, allocations: 0.5393 MB / 4.252 GB, free: 21.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001714/9.893, allocations: 260.1 kB / 4.252 GB, free: 21.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.075e-05/9.893, allocations: 0 / 4.252 GB, free: 21.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 8.388e-05/9.893, allocations: 341.9 kB / 4.252 GB, free: 20.91 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004762/9.894, allocations: 394.5 kB / 4.252 GB, free: 20.53 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006235/9.895, allocations: 0.5871 MB / 4.253 GB, free: 19.87 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/9.896, allocations: 0.5366 MB / 4.254 GB, free: 19.33 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.308e-06/9.896, allocations: 0 / 4.254 GB, free: 19.33 MB / 0.8698 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002308/9.898, allocations: 1.289 MB / 4.255 GB, free: 18.04 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002922/9.898, allocations: 1.205 MB / 4.256 GB, free: 16.73 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/9.898, allocations: 4 kB / 4.256 GB, free: 16.73 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.73e-05/9.899, allocations: 4 kB / 4.256 GB, free: 16.72 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001242/9.9, allocations: 275.6 kB / 4.256 GB, free: 16.45 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.563e-05/9.9, allocations: 4 kB / 4.256 GB, free: 16.45 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/9.901, allocations: 187 kB / 4.256 GB, free: 16.27 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001151/9.901, allocations: 55.97 kB / 4.257 GB, free: 16.21 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/9.901, allocations: 4 kB / 4.257 GB, free: 16.21 MB / 0.8698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002181/9.904, allocations: 1.172 MB / 4.258 GB, free: 15.04 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/9.904, allocations: 8.062 kB / 4.258 GB, free: 15.03 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.105e-05/9.904, allocations: 11.95 kB / 4.258 GB, free: 15.02 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/9.905, allocations: 267.6 kB / 4.258 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/9.905, allocations: 4 kB / 4.258 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/9.906, allocations: 171.2 kB / 4.258 GB, free: 14.58 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001008/9.906, allocations: 55.95 kB / 4.258 GB, free: 14.53 MB / 0.8698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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.000306/9.907, allocations: 192.2 kB / 4.258 GB, free: 14.32 MB / 0.8698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002086/9.909, allocations: 1.135 MB / 4.259 GB, free: 13.18 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001605/9.909, allocations: 122.5 kB / 4.26 GB, free: 13.05 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002503/9.911, allocations: 1.277 MB / 4.261 GB, free: 11.77 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.14e-05/9.911, allocations: 8 kB / 4.261 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.953e-06/9.911, allocations: 0 / 4.261 GB, free: 11.76 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.136e-05/9.911, allocations: 11.98 kB / 4.261 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004213/9.916, allocations: 2.705 MB / 4.263 GB, free: 8.961 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.514e-06/9.916, allocations: 4 kB / 4.263 GB, free: 8.957 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009565/9.917, allocations: 208.1 kB / 4.264 GB, free: 8.754 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.213e-05/9.917, allocations: 8 kB / 4.264 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.952e-05/9.917, allocations: 27.91 kB / 4.264 GB, free: 8.719 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.704e-06/9.917, allocations: 15.89 kB / 4.264 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/9.917, allocations: 4 kB / 4.264 GB, free: 8.699 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002992/9.92, allocations: 2.117 MB / 4.266 GB, free: 6.457 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005892/9.92, allocations: 347.2 kB / 4.266 GB, free: 6.098 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001719/9.921, allocations: 15.95 kB / 4.266 GB, free: 6.082 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/9.922, allocations: 131.8 kB / 4.266 GB, free: 5.953 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001301/9.922, allocations: 60.42 kB / 4.266 GB, free: 5.895 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.602e-05/9.922, allocations: 51.95 kB / 4.266 GB, free: 5.844 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0007593/9.923, allocations: 0.5576 MB / 4.267 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.8e-07/9.923, allocations: 0 / 4.267 GB, free: 5.277 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.002896/9.926, allocations: 0.9512 MB / 4.268 GB, free: 4.324 MB / 0.8698 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.007775/9.933, allocations: 5.816 MB / 4.274 GB, free: 14.31 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.003675/9.937, allocations: 1.847 MB / 4.275 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 1.197e-05/9.937, allocations: 8 kB / 4.275 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0009955/9.938, allocations: 0.6432 MB / 4.276 GB, free: 11.74 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002729/9.941, allocations: 433.9 kB / 4.276 GB, free: 11.32 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005273/9.946, allocations: 2.046 MB / 4.278 GB, free: 9.188 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007656/9.947, allocations: 1.182 MB / 4.28 GB, free: 7.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.001985/9.949, allocations: 399.8 kB / 4.28 GB, free: 7.586 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000678/9.95, allocations: 478.7 kB / 4.28 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of SimCode: time 1.032e-06/9.95, allocations: 0 / 4.28 GB, free: 7.121 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6921/10.64, allocations: 46.98 MB / 4.326 GB, free: 124.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001668/10.64, allocations: 207.2 kB / 4.326 GB, free: 123.8 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.897/14.54, allocations: 0 / 4.326 GB, free: 123.8 MB / 0.8855 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)