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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007848/0.0007848, allocations: 92.23 kB / 15.06 MB, free: 1.098 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008278/0.0008278, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.362/1.362, allocations: 223.3 MB / 240 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.417/2.417, allocations: 390.4 MB / 0.6655 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003346/0.0003347, allocations: 12 kB / 0.8149 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6576/0.658, allocations: 142.3 MB / 0.9538 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2292/0.8872, allocations: 215.1 MB / 1.164 GB, free: 8.461 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.02261/0.9099, allocations: 14.75 MB / 1.178 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003146/0.9131, allocations: 75.5 kB / 1.178 GB, free: 9.609 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.003257/0.9163, allocations: 0.8626 MB / 1.179 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.007429/0.9238, allocations: 2.519 MB / 1.182 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.005448/0.9292, allocations: 1.853 MB / 1.184 GB, free: 4.379 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.007639/0.9369, allocations: 5.581 MB / 1.189 GB, free: 14.79 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003173/0.9401, allocations: 1.375 MB / 1.19 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005995/0.9461, allocations: 2.124 MB / 1.192 GB, free: 11.24 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003122/0.9493, allocations: 1.486 MB / 1.194 GB, free: 9.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0006159/0.9499, allocations: 84 kB / 1.194 GB, free: 9.668 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005748/0.9557, allocations: 2.113 MB / 1.196 GB, free: 7.551 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.001226/0.9569, allocations: 0.6267 MB / 1.197 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.9581, allocations: 460.5 kB / 1.197 GB, free: 6.465 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.004638/0.9627, allocations: 3.001 MB / 1.2 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.9628, allocations: 0 / 1.2 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.084e-06/0.9628, allocations: 0 / 1.2 GB, free: 3.457 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 2.79e-05/0.9628, allocations: 0 / 1.2 GB, free: 3.457 MB / 0.9512 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.004285/0.9671, allocations: 2.464 MB / 1.202 GB, free: 0.9258 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.9671, allocations: 8.031 kB / 1.202 GB, free: 0.918 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002494/0.9674, allocations: 198.3 kB / 1.203 GB, free: 0.7148 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005049/0.9725, allocations: 0.8988 MB / 1.203 GB, free: 15.81 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003359/0.9758, allocations: 1.623 MB / 1.205 GB, free: 14.14 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003409/0.9762, allocations: 178.5 kB / 1.205 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002269/0.9764, allocations: 143.9 kB / 1.205 GB, free: 13.82 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003269/0.9797, allocations: 1.704 MB / 1.207 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.173e-05/0.9797, allocations: 7.719 kB / 1.207 GB, free: 12.04 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.9799, allocations: 60 kB / 1.207 GB, free: 11.98 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.669e-05/0.9799, allocations: 50.5 kB / 1.207 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003401/0.9834, allocations: 1.567 MB / 1.209 GB, free: 10.36 MB / 0.9669 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.01068/0.994, allocations: 7.69 MB / 1.216 GB, free: 2.113 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003025/0.9971, allocations: 1.733 MB / 1.218 GB, free: 256 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/0.9983, allocations: 0.5627 MB / 1.218 GB, free: 15.69 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.9996, allocations: 0.8257 MB / 1.219 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/1.001, allocations: 0.6219 MB / 1.22 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007156/1.002, allocations: 123.2 kB / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=85): time 3.186e-06/1.002, allocations: 0 / 1.22 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=85): time 0.004156/1.006, allocations: 1.757 MB / 1.222 GB, free: 12.17 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.023e-05/1.006, allocations: 60.41 kB / 1.222 GB, free: 12.1 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002114/1.008, allocations: 1.599 MB / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 7.429e-05/1.008, allocations: 45.7 kB / 1.223 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008114/1.009, allocations: 0.9087 MB / 1.224 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002607/1.009, allocations: 311.5 kB / 1.224 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.097e-05/1.009, allocations: 20 kB / 1.225 GB, free: 9.164 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.009, allocations: 345.9 kB / 1.225 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/1.011, allocations: 490.3 kB / 1.225 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001295/1.012, allocations: 0.8146 MB / 1.226 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001205/1.013, allocations: 0.5941 MB / 1.227 GB, free: 6.789 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/1.013, allocations: 7.938 kB / 1.227 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.00288/1.016, allocations: 1.496 MB / 1.228 GB, free: 5.266 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002361/1.016, allocations: 366.1 kB / 1.228 GB, free: 4.789 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.488e-05/1.016, allocations: 15.92 kB / 1.229 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.373e-05/1.016, allocations: 20 kB / 1.229 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/1.017, allocations: 295.6 kB / 1.229 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.223e-05/1.017, allocations: 19.94 kB / 1.229 GB, free: 4.445 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001484/1.019, allocations: 188.4 kB / 1.229 GB, free: 4.262 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.208e-05/1.019, allocations: 47.98 kB / 1.229 GB, free: 4.215 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.726e-06/1.019, allocations: 5.719 kB / 1.229 GB, free: 4.211 MB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002725/1.022, allocations: 1.329 MB / 1.23 GB, free: 2.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.327e-06/1.022, allocations: 8 kB / 1.23 GB, free: 2.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.022, allocations: 16 kB / 1.23 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/1.023, allocations: 295.8 kB / 1.231 GB, free: 2.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.684e-05/1.023, allocations: 15.94 kB / 1.231 GB, free: 2.547 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001335/1.024, allocations: 192.4 kB / 1.231 GB, free: 2.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.077e-05/1.024, allocations: 51.98 kB / 1.231 GB, free: 2.305 MB / 0.9825 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 (132): * Single equations (assignments): 130 * 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.0009468/1.025, allocations: 0.5404 MB / 1.231 GB, free: 1.758 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000228/1.026, allocations: 181.7 kB / 1.232 GB, free: 1.578 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002867/1.029, allocations: 1.298 MB / 1.233 GB, free: 268 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/1.029, allocations: 8 kB / 1.233 GB, free: 260 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/1.029, allocations: 3.984 kB / 1.233 GB, free: 256 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002451/1.031, allocations: 1.348 MB / 1.234 GB, free: 14.82 MB / 0.9981 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.005589/1.037, allocations: 3.109 MB / 1.237 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/1.037, allocations: 3.984 kB / 1.237 GB, free: 11.59 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001002/1.038, allocations: 219.8 kB / 1.237 GB, free: 11.37 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002107/1.038, allocations: 44.83 kB / 1.238 GB, free: 11.32 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.681e-05/1.038, allocations: 27.98 kB / 1.238 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001368/1.039, allocations: 1.433 MB / 1.239 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.039, allocations: 0 / 1.239 GB, free: 9.73 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003761/1.043, allocations: 1.93 MB / 1.241 GB, free: 7.762 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006188/1.044, allocations: 350.7 kB / 1.241 GB, free: 7.398 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001855/1.044, allocations: 27.92 kB / 1.241 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001226/1.045, allocations: 159.7 kB / 1.241 GB, free: 7.215 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/1.045, allocations: 60.58 kB / 1.241 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.932e-05/1.045, allocations: 35.97 kB / 1.241 GB, free: 7.121 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.00153/1.047, allocations: 1.077 MB / 1.242 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/1.047, allocations: 0 / 1.242 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002746/1.05, allocations: 0.9742 MB / 1.243 GB, free: 5.043 MB / 0.9981 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 (85): * Single equations (assignments): 82 * 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.005559/1.055, allocations: 2.99 MB / 1.246 GB, free: 2.156 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004108/1.059, allocations: 1.931 MB / 1.248 GB, free: 208 kB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.58e-06/1.059, allocations: 8.062 kB / 1.248 GB, free: 200 kB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.5049/1.564, allocations: 0.661 MB / 1.249 GB, free: 281.6 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00404/1.568, allocations: 0.7932 MB / 1.25 GB, free: 281.6 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02538/1.594, allocations: 12.01 MB / 1.261 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001038/1.595, allocations: 1.489 MB / 1.263 GB, free: 275 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002383/1.597, allocations: 463.5 kB / 1.263 GB, free: 274.9 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009803/1.598, allocations: 0.7748 MB / 1.264 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of SimCode: time 1.372e-06/1.598, allocations: 0 / 1.264 GB, free: 274.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07457/1.673, allocations: 47.69 MB / 1.311 GB, free: 239.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001649/1.673, allocations: 249.7 kB / 1.311 GB, free: 239.3 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.019/4.693, allocations: 0 / 1.311 GB, free: 239.3 MB / 0.9981 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