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.327/2.327, allocations: 387.4 MB / 394.9 MB, free: 13.35 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.001222/0.001222, allocations: 184.8 kB / 487.4 MB, free: 5.047 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.56/1.56, allocations: 221.5 MB / 0.7824 GB, free: 0.9688 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009236/0.0009238, allocations: 103.8 kB / 0.9219 GB, free: 2.203 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.195e-05/2.198e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2893/0.2894, allocations: 142.4 MB / 1.206 GB, free: 43.89 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.48/5.769, allocations: 1.96 GB / 3.166 GB, free: 400.4 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002528/5.769, allocations: 91.95 kB / 3.166 GB, free: 400.3 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 7.426/13.2, allocations: 2.067 GB / 5.233 GB, free: 72.28 MB / 1.182 GB Notification: Performance of FrontEnd: time 1.462e-06/13.2, allocations: 0 / 5.233 GB, free: 72.28 MB / 1.182 GB Notification: Performance of Transformations before backend: time 0.0002334/13.2, allocations: 58.41 kB / 5.233 GB, free: 72.23 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.006274/13.2, allocations: 2.392 MB / 5.236 GB, free: 69.8 MB / 1.182 GB Notification: Performance of prepare preOptimizeDAE: time 4.829e-05/13.2, allocations: 12.56 kB / 5.236 GB, free: 69.79 MB / 1.182 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005696/13.21, allocations: 0.8634 MB / 5.237 GB, free: 68.92 MB / 1.182 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005929/13.21, allocations: 2.212 MB / 5.239 GB, free: 66.7 MB / 1.182 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.417e-05/13.21, allocations: 43.95 kB / 5.239 GB, free: 66.66 MB / 1.182 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002303/13.21, allocations: 95.89 kB / 5.239 GB, free: 66.56 MB / 1.182 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001877/13.22, allocations: 1.091 MB / 5.24 GB, free: 65.47 MB / 1.182 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/13.22, allocations: 1.307 MB / 5.241 GB, free: 64.09 MB / 1.182 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.146e-05/13.22, allocations: 0 / 5.241 GB, free: 64.09 MB / 1.182 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001136/13.22, allocations: 4 kB / 5.241 GB, free: 64.08 MB / 1.182 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.8e-05/13.22, allocations: 46.52 kB / 5.241 GB, free: 64.04 MB / 1.182 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.009211/13.23, allocations: 7.265 MB / 5.248 GB, free: 56.21 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001193/13.23, allocations: 1.367 MB / 5.25 GB, free: 54.71 MB / 1.182 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005102/13.23, allocations: 423.6 kB / 5.25 GB, free: 54.29 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001001/13.23, allocations: 0.7553 MB / 5.251 GB, free: 53.38 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006073/13.23, allocations: 456.4 kB / 5.251 GB, free: 52.93 MB / 1.182 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009494/13.23, allocations: 99.36 kB / 5.251 GB, free: 52.83 MB / 1.182 GB Notification: Performance of pre-optimization done (n=86): time 3.506e-06/13.23, allocations: 0 / 5.251 GB, free: 52.83 MB / 1.182 GB Notification: Performance of matching and sorting (n=86): time 0.005381/13.24, allocations: 1.53 MB / 5.253 GB, free: 51.29 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/13.24, allocations: 111.6 kB / 5.253 GB, free: 51.15 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001633/13.24, allocations: 1.218 MB / 5.254 GB, free: 49.93 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 9.648e-05/13.24, allocations: 25.7 kB / 5.254 GB, free: 49.9 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006665/13.24, allocations: 0.924 MB / 5.255 GB, free: 48.97 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002054/13.24, allocations: 291.7 kB / 5.255 GB, free: 48.68 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.272e-05/13.24, allocations: 0 / 5.255 GB, free: 48.68 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 8.325e-05/13.24, allocations: 341.9 kB / 5.256 GB, free: 48.34 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004217/13.24, allocations: 330.5 kB / 5.256 GB, free: 48.02 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006274/13.24, allocations: 0.6716 MB / 5.257 GB, free: 47.2 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003979/13.25, allocations: 1.01 MB / 5.258 GB, free: 46.19 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.913e-06/13.25, allocations: 0 / 5.258 GB, free: 46.19 MB / 1.182 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005373/13.25, allocations: 1.72 MB / 5.259 GB, free: 44.46 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007627/13.25, allocations: 3.387 MB / 5.263 GB, free: 40.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/13.25, allocations: 8 kB / 5.263 GB, free: 40.79 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.65e-05/13.25, allocations: 16 kB / 5.263 GB, free: 40.77 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/13.25, allocations: 275.5 kB / 5.263 GB, free: 40.5 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.653e-05/13.25, allocations: 15.94 kB / 5.263 GB, free: 40.49 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001935/13.25, allocations: 147.7 kB / 5.263 GB, free: 40.34 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.884e-05/13.25, allocations: 55.97 kB / 5.263 GB, free: 40.29 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 9.207e-06/13.25, allocations: 4 kB / 5.263 GB, free: 40.29 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004688/13.26, allocations: 1.478 MB / 5.265 GB, free: 38.8 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.652e-05/13.26, allocations: 11.95 kB / 5.265 GB, free: 38.79 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.473e-05/13.26, allocations: 16 kB / 5.265 GB, free: 38.78 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/13.26, allocations: 276.1 kB / 5.265 GB, free: 38.51 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.094e-05/13.26, allocations: 19.92 kB / 5.265 GB, free: 38.49 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001896/13.26, allocations: 143.7 kB / 5.265 GB, free: 38.35 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001295/13.26, allocations: 47.98 kB / 5.265 GB, free: 38.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 () * 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.0002946/13.26, allocations: 137.4 kB / 5.265 GB, free: 38.16 MB / 1.182 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005136/13.27, allocations: 1.456 MB / 5.267 GB, free: 36.7 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/13.27, allocations: 177.8 kB / 5.267 GB, free: 36.52 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005464/13.27, allocations: 1.542 MB / 5.268 GB, free: 34.96 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-05/13.27, allocations: 8 kB / 5.268 GB, free: 34.95 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.201e-05/13.27, allocations: 4 kB / 5.268 GB, free: 34.95 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00455/13.28, allocations: 1.616 MB / 5.27 GB, free: 33.24 MB / 1.182 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 postOpt removeSimpleEquations (simulation): time 0.009536/13.29, allocations: 3.185 MB / 5.273 GB, free: 29.97 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/13.29, allocations: 4 kB / 5.273 GB, free: 29.96 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001036/13.29, allocations: 191.9 kB / 5.273 GB, free: 29.78 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002156/13.29, allocations: 40.83 kB / 5.273 GB, free: 29.73 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.046e-05/13.29, allocations: 15.98 kB / 5.273 GB, free: 29.72 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001215/13.29, allocations: 1.389 MB / 5.275 GB, free: 28.21 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/13.29, allocations: 0 / 5.275 GB, free: 28.21 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006454/13.3, allocations: 2.13 MB / 5.277 GB, free: 26.02 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001145/13.3, allocations: 338.7 kB / 5.277 GB, free: 25.66 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005589/13.3, allocations: 19.94 kB / 5.277 GB, free: 25.64 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001842/13.3, allocations: 123.7 kB / 5.277 GB, free: 25.52 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/13.3, allocations: 68.62 kB / 5.277 GB, free: 25.45 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.252e-05/13.3, allocations: 31.98 kB / 5.277 GB, free: 25.42 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.001854/13.3, allocations: 0.9043 MB / 5.278 GB, free: 24.53 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.61e-07/13.3, allocations: 0 / 5.278 GB, free: 24.53 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.004971/13.31, allocations: 1.154 MB / 5.279 GB, free: 23.37 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) * 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.01155/13.32, allocations: 6.609 MB / 5.286 GB, free: 16.45 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.00252/13.32, allocations: 1.5 MB / 5.287 GB, free: 14.93 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 8.266e-06/13.32, allocations: 4 kB / 5.287 GB, free: 14.92 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.0007924/13.32, allocations: 0.5083 MB / 5.288 GB, free: 14.41 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0045/13.33, allocations: 0.7404 MB / 5.288 GB, free: 13.68 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01012/13.34, allocations: 3.273 MB / 5.292 GB, free: 10.33 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001343/13.34, allocations: 1.526 MB / 5.293 GB, free: 8.77 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.003462/13.34, allocations: 0.6658 MB / 5.294 GB, free: 8.098 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000967/13.34, allocations: 0.7375 MB / 5.294 GB, free: 7.359 MB / 1.182 GB Notification: Performance of SimCode: time 8.61e-07/13.34, allocations: 0 / 5.294 GB, free: 7.359 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8812/14.22, allocations: 67.07 MB / 5.36 GB, free: 183.2 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001535/14.22, allocations: 178.1 kB / 5.36 GB, free: 183.1 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.745/18.97, allocations: 1.219 kB / 5.36 GB, free: 183.1 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