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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.636/1.636, allocations: 285.4 MB / 298 MB, free: 6.012 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.001054/0.001054, allocations: 176.8 kB / 366.4 MB, free: 2.102 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.524/1.524, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0009984/0.0009986, allocations: 88.5 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.607e-05/3.63e-05, allocations: 4 kB / 0.8584 GB, free: 13.01 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6963/0.6964, allocations: 115.3 MB / 0.971 GB, free: 78.02 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.401/6.097, allocations: 2.354 GB / 3.325 GB, free: 97.13 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003066/6.097, allocations: 92.69 kB / 3.325 GB, free: 97.09 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.911/10.01, allocations: 0.9147 GB / 4.24 GB, free: 144.8 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.623e-06/10.01, allocations: 5.547 kB / 4.24 GB, free: 144.8 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001418/10.01, allocations: 38.48 kB / 4.24 GB, free: 144.8 MB / 0.948 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.006417/10.01, allocations: 1.907 MB / 4.242 GB, free: 143.9 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.222e-05/10.01, allocations: 7.625 kB / 4.242 GB, free: 143.9 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000332/10.02, allocations: 143.8 kB / 4.242 GB, free: 143.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00329/10.02, allocations: 0.5248 MB / 4.242 GB, free: 143.7 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003348/10.02, allocations: 1.21 MB / 4.244 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006691/10.02, allocations: 208.8 kB / 4.244 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003413/10.02, allocations: 103.3 kB / 4.244 GB, free: 143.4 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002175/10.03, allocations: 1.142 MB / 4.245 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.076e-05/10.03, allocations: 6.531 kB / 4.245 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001092/10.03, allocations: 38.58 kB / 4.245 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.502e-05/10.03, allocations: 42.92 kB / 4.245 GB, free: 143.3 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001721/10.03, allocations: 1.047 MB / 4.246 GB, free: 143.3 MB / 0.948 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.009137/10.04, allocations: 5.016 MB / 4.251 GB, free: 141.4 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001417/10.04, allocations: 0.7745 MB / 4.252 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006403/10.04, allocations: 478.9 kB / 4.252 GB, free: 141.3 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009936/10.04, allocations: 0.8383 MB / 4.253 GB, free: 140.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008417/10.04, allocations: 0.5819 MB / 4.254 GB, free: 140.4 MB / 0.948 GB Notification: Performance of pre-optimization done (n=85): time 4.258e-06/10.04, allocations: 2.688 kB / 4.254 GB, free: 140.4 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.00235/10.04, allocations: 1.085 MB / 4.255 GB, free: 140.2 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/10.04, allocations: 120.1 kB / 4.255 GB, free: 140.1 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001424/10.04, allocations: 0.8857 MB / 4.256 GB, free: 139.9 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/10.04, allocations: 51.36 kB / 4.256 GB, free: 139.9 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005084/10.04, allocations: 0.5254 MB / 4.256 GB, free: 139.7 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002898/10.05, allocations: 281.6 kB / 4.257 GB, free: 139.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.46e-05/10.05, allocations: 17.53 kB / 4.257 GB, free: 139.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 0.0001175/10.05, allocations: 341.8 kB / 4.257 GB, free: 139.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006875/10.05, allocations: 396.3 kB / 4.257 GB, free: 139.3 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008249/10.05, allocations: 0.6141 MB / 4.258 GB, free: 139.1 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000761/10.05, allocations: 496.6 kB / 4.258 GB, free: 139 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.65e-06/10.05, allocations: 0 / 4.258 GB, free: 139 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002398/10.05, allocations: 1.268 MB / 4.26 GB, free: 138.8 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.000401/10.05, allocations: 1.116 MB / 4.261 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/10.05, allocations: 7.406 kB / 4.261 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.925e-05/10.05, allocations: 10.28 kB / 4.261 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00133/10.05, allocations: 261.7 kB / 4.261 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.315e-05/10.05, allocations: 11.47 kB / 4.261 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001825/10.05, allocations: 219.8 kB / 4.261 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001474/10.05, allocations: 54.12 kB / 4.261 GB, free: 137.6 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.382e-05/10.05, allocations: 3.938 kB / 4.261 GB, free: 137.6 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001992/10.06, allocations: 1.181 MB / 4.262 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.055e-06/10.06, allocations: 3.688 kB / 4.262 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.128e-05/10.06, allocations: 8.75 kB / 4.262 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/10.06, allocations: 266.4 kB / 4.263 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.21e-05/10.06, allocations: 10.58 kB / 4.263 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/10.06, allocations: 206.4 kB / 4.263 GB, free: 137.5 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001209/10.06, allocations: 53.11 kB / 4.263 GB, free: 137.5 MB / 0.948 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.0003865/10.06, allocations: 233.8 kB / 4.263 GB, free: 137.3 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003247/10.06, allocations: 126.2 kB / 4.263 GB, free: 137.2 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00288/10.06, allocations: 1.288 MB / 4.264 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.456e-05/10.06, allocations: 10.69 kB / 4.264 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.742e-05/10.06, allocations: 3.953 kB / 4.264 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.569e-05/10.06, allocations: 6.688 kB / 4.265 GB, free: 137.1 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006361/10.07, allocations: 2.77 MB / 4.267 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.506e-05/10.07, allocations: 3.156 kB / 4.267 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001097/10.07, allocations: 203.8 kB / 4.267 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.396e-05/10.07, allocations: 6.125 kB / 4.267 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/10.07, allocations: 29.77 kB / 4.267 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.479e-05/10.07, allocations: 14.98 kB / 4.267 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/10.07, allocations: 6.75 kB / 4.267 GB, free: 136.6 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003415/10.07, allocations: 2.134 MB / 4.27 GB, free: 136 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001079/10.07, allocations: 354.9 kB / 4.27 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004479/10.08, allocations: 24.84 kB / 4.27 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001632/10.08, allocations: 132.5 kB / 4.27 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001744/10.08, allocations: 69.81 kB / 4.27 GB, free: 135.8 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001317/10.08, allocations: 49.05 kB / 4.27 GB, free: 135.8 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001399/10.08, allocations: 0.6808 MB / 4.271 GB, free: 135.7 MB / 0.948 GB Notification: Performance of sort global known variables: time 2.7e-07/10.08, allocations: 3.656 kB / 4.271 GB, free: 135.7 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004657/10.08, allocations: 1.009 MB / 4.272 GB, free: 135.5 MB / 0.948 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.008582/10.09, allocations: 5.634 MB / 4.277 GB, free: 133 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.003833/10.1, allocations: 1.907 MB / 4.279 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.479e-05/10.1, allocations: 3.625 kB / 4.279 GB, free: 132.7 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.001058/10.1, allocations: 0.6534 MB / 4.28 GB, free: 132.6 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003322/10.1, allocations: 0.5015 MB / 4.28 GB, free: 132.6 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007271/10.11, allocations: 2.152 MB / 4.282 GB, free: 131.9 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000901/10.11, allocations: 1.187 MB / 4.284 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002709/10.11, allocations: 429.4 kB / 4.284 GB, free: 131.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007862/10.11, allocations: 481.7 kB / 4.284 GB, free: 131.2 MB / 0.948 GB Notification: Performance of SimCode: time 1.102e-06/10.11, allocations: 0 / 4.284 GB, free: 131.2 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/10.23, allocations: 69.15 MB / 4.352 GB, free: 125.5 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000202/10.23, allocations: 228.8 kB / 4.352 GB, free: 125.3 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.965/15.2, allocations: 3.281 kB / 4.352 GB, free: 125.3 MB / 0.948 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)