Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.541/2.541, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001595/0.001594, allocations: 184.7 kB / 370.8 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.125/2.125, allocations: 205.4 MB / 0.6295 GB, free: 10.64 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.00119, allocations: 92.84 kB / 0.7428 GB, free: 6.648 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005158/0.0005157, allocations: 16.38 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2191, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 7.686/7.905, allocations: 2.354 GB / 3.332 GB, free: 261.5 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/7.906, allocations: 92.19 kB / 3.332 GB, free: 261.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 4.833/12.74, allocations: 0.9159 GB / 4.248 GB, free: 61.6 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.214e-06/12.74, allocations: 0 / 4.248 GB, free: 61.6 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001662/12.74, allocations: 35.98 kB / 4.248 GB, free: 61.57 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.008448/12.75, allocations: 2.146 MB / 4.251 GB, free: 59.36 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/12.75, allocations: 8.031 kB / 4.251 GB, free: 59.35 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005046/12.75, allocations: 147.7 kB / 4.251 GB, free: 59.2 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005153/12.75, allocations: 0.5289 MB / 4.251 GB, free: 58.66 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00432/12.76, allocations: 1.212 MB / 4.252 GB, free: 57.4 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001213/12.76, allocations: 209.9 kB / 4.253 GB, free: 57.19 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003705/12.76, allocations: 100 kB / 4.253 GB, free: 57.09 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004136/12.76, allocations: 1.285 MB / 4.254 GB, free: 55.79 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.855e-05/12.76, allocations: 0 / 4.254 GB, free: 55.79 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/12.76, allocations: 36 kB / 4.254 GB, free: 55.75 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-05/12.76, allocations: 41.95 kB / 4.254 GB, free: 55.71 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005399/12.77, allocations: 1.319 MB / 4.255 GB, free: 54.39 MB / 0.948 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.01378/12.78, allocations: 5.011 MB / 4.26 GB, free: 49.05 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005188/12.79, allocations: 1.067 MB / 4.261 GB, free: 47.98 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001506/12.79, allocations: 0.8422 MB / 4.262 GB, free: 46.97 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002664/12.79, allocations: 0.7239 MB / 4.263 GB, free: 46.22 MB / 0.948 GB Notification: Performance of pre-optimization done (n=85): time 3.977e-06/12.79, allocations: 0 / 4.263 GB, free: 46.22 MB / 0.948 GB Notification: Performance of matching and sorting (n=85): time 0.008035/12.8, allocations: 1.98 MB / 4.265 GB, free: 44.19 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.316e-05/12.8, allocations: 119.5 kB / 4.265 GB, free: 44.05 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001858/12.8, allocations: 0.9032 MB / 4.266 GB, free: 43.14 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003129/12.8, allocations: 57.64 kB / 4.266 GB, free: 43.07 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005194/12.8, allocations: 0.5243 MB / 4.266 GB, free: 42.54 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003424/12.8, allocations: 272 kB / 4.267 GB, free: 42.27 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001314/12.8, allocations: 20 kB / 4.267 GB, free: 42.25 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.774e-05/12.8, allocations: 341.9 kB / 4.267 GB, free: 41.91 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002421/12.81, allocations: 0.5289 MB / 4.267 GB, free: 41.39 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002764/12.81, allocations: 0.7344 MB / 4.268 GB, free: 40.57 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002897/12.81, allocations: 0.6217 MB / 4.269 GB, free: 39.95 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.386e-05/12.81, allocations: 3.938 kB / 4.269 GB, free: 39.94 MB / 0.948 GB Notification: Performance of matching and sorting (n=119) (initialization): time 0.006566/12.82, allocations: 1.546 MB / 4.27 GB, free: 38.38 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002672/12.82, allocations: 1.116 MB / 4.271 GB, free: 37.17 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/12.82, allocations: 4 kB / 4.271 GB, free: 37.16 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.003e-05/12.82, allocations: 8 kB / 4.271 GB, free: 37.16 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002459/12.82, allocations: 267.6 kB / 4.272 GB, free: 36.89 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.607e-05/12.82, allocations: 4 kB / 4.272 GB, free: 36.89 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002826/12.82, allocations: 222.9 kB / 4.272 GB, free: 36.67 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002045/12.82, allocations: 51.97 kB / 4.272 GB, free: 36.62 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/12.82, allocations: 4 kB / 4.272 GB, free: 36.62 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005955/12.83, allocations: 1.456 MB / 4.273 GB, free: 35.15 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.645e-05/12.83, allocations: 4 kB / 4.273 GB, free: 35.15 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.617e-05/12.83, allocations: 4 kB / 4.273 GB, free: 35.14 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002522/12.83, allocations: 267.7 kB / 4.274 GB, free: 34.88 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.902e-05/12.83, allocations: 11.94 kB / 4.274 GB, free: 34.87 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002804/12.84, allocations: 195 kB / 4.274 GB, free: 34.68 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003228/12.84, allocations: 59.95 kB / 4.274 GB, free: 34.62 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 () * 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.001059/12.84, allocations: 468.1 kB / 4.274 GB, free: 34.14 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004518/12.84, allocations: 134.3 kB / 4.274 GB, free: 34.01 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00607/12.84, allocations: 1.556 MB / 4.276 GB, free: 32.43 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.907e-05/12.84, allocations: 8 kB / 4.276 GB, free: 32.42 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/12.84, allocations: 3.984 kB / 4.276 GB, free: 32.41 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/12.84, allocations: 7.938 kB / 4.276 GB, free: 32.41 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009481/12.85, allocations: 3.021 MB / 4.279 GB, free: 29.28 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.355e-05/12.85, allocations: 4 kB / 4.279 GB, free: 29.28 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002063/12.86, allocations: 200.1 kB / 4.279 GB, free: 29.08 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.037e-05/12.86, allocations: 8 kB / 4.279 GB, free: 29.07 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000247/12.86, allocations: 35.97 kB / 4.279 GB, free: 29.04 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.15e-05/12.86, allocations: 4 kB / 4.279 GB, free: 29.04 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-06/12.86, allocations: 7.938 kB / 4.279 GB, free: 29.03 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009394/12.87, allocations: 2.525 MB / 4.282 GB, free: 26.38 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/12.87, allocations: 355.1 kB / 4.282 GB, free: 26.01 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004903/12.87, allocations: 24.09 kB / 4.282 GB, free: 25.98 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002698/12.87, allocations: 135.9 kB / 4.282 GB, free: 25.85 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002434/12.87, allocations: 72.36 kB / 4.282 GB, free: 25.78 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001823/12.87, allocations: 47.97 kB / 4.282 GB, free: 25.73 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.001581/12.87, allocations: 0.701 MB / 4.283 GB, free: 25.02 MB / 0.948 GB Notification: Performance of sort global known variables: time 3.7e-07/12.87, allocations: 4 kB / 4.283 GB, free: 25.02 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.004534/12.88, allocations: 1.01 MB / 4.284 GB, free: 24.01 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) * 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.01308/12.89, allocations: 6.018 MB / 4.29 GB, free: 17.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.008316/12.9, allocations: 2.259 MB / 4.292 GB, free: 15.5 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/12.9, allocations: 8.125 kB / 4.292 GB, free: 15.49 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.002633/12.9, allocations: 0.7874 MB / 4.293 GB, free: 14.68 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004444/12.91, allocations: 0.5005 MB / 4.293 GB, free: 14.18 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009828/12.92, allocations: 5.243 MB / 4.298 GB, free: 8.793 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007468/12.92, allocations: 1.184 MB / 4.299 GB, free: 7.574 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.002881/12.92, allocations: 352.8 kB / 4.3 GB, free: 7.227 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001046/12.92, allocations: 499.2 kB / 4.3 GB, free: 6.738 MB / 0.948 GB Notification: Performance of SimCode: time 1.072e-06/12.92, allocations: 7.938 kB / 4.3 GB, free: 6.73 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9784/13.9, allocations: 62.23 MB / 4.361 GB, free: 150.8 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000218/13.9, allocations: 251.8 kB / 4.361 GB, free: 150.6 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.525/19.42, allocations: 0 / 4.361 GB, free: 150.6 MB / 0.9636 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUMassFlow.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUMassFlow.pipe 2>&1)