Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.312/2.312, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 177.1 kB / 498.1 MB, free: 5.742 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.471/1.471, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009549/0.0009549, allocations: 102.7 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003563/0.0003563, allocations: 10.41 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2655, allocations: 142.3 MB / 1.223 GB, free: 114.1 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.108/4.373, allocations: 1.961 GB / 3.184 GB, free: 26.14 MB / 1.167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002535/4.374, allocations: 101.3 kB / 3.184 GB, free: 26.09 MB / 1.167 GB Notification: Performance of FrontEnd - DAE generated: time 7.881/12.25, allocations: 2.091 GB / 5.275 GB, free: 149.8 MB / 1.182 GB Notification: Performance of FrontEnd: time 2.034e-06/12.25, allocations: 0 / 5.275 GB, free: 149.8 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0004692/12.26, allocations: 60.36 kB / 5.275 GB, free: 149.7 MB / 1.182 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.01117/12.27, allocations: 2.911 MB / 5.277 GB, free: 146.8 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 5.397e-05/12.27, allocations: 8.031 kB / 5.277 GB, free: 146.8 MB / 1.182 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009405/12.27, allocations: 202.3 kB / 5.278 GB, free: 146.6 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006403/12.27, allocations: 0.8543 MB / 5.278 GB, free: 145.8 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008393/12.28, allocations: 2.233 MB / 5.281 GB, free: 143.6 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001733/12.28, allocations: 110.2 kB / 5.281 GB, free: 143.4 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006992/12.28, allocations: 142.8 kB / 5.281 GB, free: 143.3 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004693/12.29, allocations: 1.589 MB / 5.282 GB, free: 141.7 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.262e-05/12.29, allocations: 7.719 kB / 5.282 GB, free: 141.7 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001625/12.29, allocations: 59.12 kB / 5.283 GB, free: 141.6 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.3e-05/12.29, allocations: 46.52 kB / 5.283 GB, free: 141.6 MB / 1.182 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002849/12.29, allocations: 1.322 MB / 5.284 GB, free: 140.2 MB / 1.182 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.01082/12.3, allocations: 7.501 MB / 5.291 GB, free: 132.3 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002066/12.3, allocations: 1.536 MB / 5.293 GB, free: 130.6 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001057/12.3, allocations: 0.7529 MB / 5.293 GB, free: 129.7 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001058/12.31, allocations: 0.5458 MB / 5.294 GB, free: 129.2 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001362/12.31, allocations: 131.2 kB / 5.294 GB, free: 129.1 MB / 1.182 GB Notification: Performance of pre-optimization done (n=86): time 3.988e-06/12.31, allocations: 0 / 5.294 GB, free: 129.1 MB / 1.182 GB Notification: Performance of matching and sorting (n=86): time 0.003836/12.31, allocations: 1.571 MB / 5.296 GB, free: 127.5 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/12.31, allocations: 117.8 kB / 5.296 GB, free: 127.3 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002206/12.31, allocations: 1.338 MB / 5.297 GB, free: 126 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0001192/12.31, allocations: 45.7 kB / 5.297 GB, free: 126 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008773/12.31, allocations: 0.9251 MB / 5.298 GB, free: 125 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002685/12.31, allocations: 301.4 kB / 5.298 GB, free: 124.7 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/12.31, allocations: 20 kB / 5.298 GB, free: 124.7 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001231/12.31, allocations: 357.9 kB / 5.299 GB, free: 124.4 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000835/12.32, allocations: 413.8 kB / 5.299 GB, free: 124 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001039/12.32, allocations: 0.7639 MB / 5.3 GB, free: 123.1 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000983/12.32, allocations: 0.5294 MB / 5.3 GB, free: 122.6 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.326e-06/12.32, allocations: 4 kB / 5.3 GB, free: 122.5 MB / 1.182 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.002588/12.32, allocations: 1.367 MB / 5.302 GB, free: 121.2 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009799/12.32, allocations: 3.388 MB / 5.305 GB, free: 117.5 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/12.32, allocations: 11 kB / 5.305 GB, free: 117.5 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.933e-05/12.32, allocations: 16 kB / 5.305 GB, free: 117.5 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/12.32, allocations: 270 kB / 5.305 GB, free: 117.3 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.095e-05/12.32, allocations: 19.92 kB / 5.305 GB, free: 117.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001864/12.32, allocations: 179.1 kB / 5.305 GB, free: 117.1 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001142/12.32, allocations: 55.81 kB / 5.305 GB, free: 117 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 1.099e-05/12.32, allocations: 4 kB / 5.305 GB, free: 117 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002145/12.33, allocations: 1.196 MB / 5.307 GB, free: 115.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/12.33, allocations: 8 kB / 5.307 GB, free: 115.8 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/12.33, allocations: 15.98 kB / 5.307 GB, free: 115.8 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/12.33, allocations: 270.2 kB / 5.307 GB, free: 115.6 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.023e-05/12.33, allocations: 31.86 kB / 5.307 GB, free: 115.5 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/12.33, allocations: 163.3 kB / 5.307 GB, free: 115.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.696e-05/12.33, allocations: 51.98 kB / 5.307 GB, free: 115.3 MB / 1.182 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 37 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * 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.001443/12.33, allocations: 0.5313 MB / 5.308 GB, free: 114.8 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/12.33, allocations: 177.8 kB / 5.308 GB, free: 114.6 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002917/12.33, allocations: 1.168 MB / 5.309 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/12.33, allocations: 12 kB / 5.309 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.327e-06/12.33, allocations: 0 / 5.309 GB, free: 113.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002021/12.34, allocations: 1.226 MB / 5.31 GB, free: 112.1 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.007446/12.34, allocations: 2.849 MB / 5.313 GB, free: 109.2 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.895e-06/12.34, allocations: 2.562 kB / 5.313 GB, free: 109.2 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009824/12.35, allocations: 192 kB / 5.313 GB, free: 109 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002723/12.35, allocations: 48.72 kB / 5.313 GB, free: 109 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.821e-05/12.35, allocations: 26.5 kB / 5.313 GB, free: 109 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001401/12.35, allocations: 1.428 MB / 5.315 GB, free: 107.4 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/12.35, allocations: 3.984 kB / 5.315 GB, free: 107.4 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003463/12.35, allocations: 1.809 MB / 5.316 GB, free: 105.5 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001146/12.35, allocations: 342.7 kB / 5.317 GB, free: 105.2 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004312/12.35, allocations: 27.98 kB / 5.317 GB, free: 105.2 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/12.35, allocations: 135.7 kB / 5.317 GB, free: 105 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/12.35, allocations: 68.84 kB / 5.317 GB, free: 105 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.845e-05/12.35, allocations: 35.94 kB / 5.317 GB, free: 104.9 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.002233/12.36, allocations: 1.03 MB / 5.318 GB, free: 103.9 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.6e-07/12.36, allocations: 0 / 5.318 GB, free: 103.9 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.00548/12.36, allocations: 1.271 MB / 5.319 GB, free: 102.6 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.009477/12.37, allocations: 6.181 MB / 5.325 GB, free: 96.67 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.003753/12.37, allocations: 1.743 MB / 5.327 GB, free: 94.91 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 7.885e-06/12.37, allocations: 4.125 kB / 5.327 GB, free: 94.91 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.001221/12.38, allocations: 0.606 MB / 5.328 GB, free: 94.29 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00433/12.38, allocations: 0.7678 MB / 5.328 GB, free: 93.54 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/12.4, allocations: 11.34 MB / 5.339 GB, free: 81.83 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001834/12.4, allocations: 1.53 MB / 5.341 GB, free: 80.26 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.002855/12.4, allocations: 473.2 kB / 5.341 GB, free: 79.82 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001505/12.4, allocations: 0.7609 MB / 5.342 GB, free: 79.06 MB / 1.182 GB Notification: Performance of SimCode: time 1.192e-06/12.4, allocations: 3.938 kB / 5.342 GB, free: 79.05 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1455/12.55, allocations: 86.46 MB / 5.427 GB, free: 9.453 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002739/12.55, allocations: 235.4 kB / 5.427 GB, free: 9.219 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.058/17.61, allocations: 0 / 5.427 GB, free: 9.219 MB / 1.198 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat does not exist to compare? outputFormat=mat