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.438/2.438, allocations: 387.1 MB / 399.7 MB, free: 9.484 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.001314/0.001314, allocations: 187.8 kB / 492.3 MB, free: 0.5938 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.628/1.628, allocations: 221.3 MB / 0.7871 GB, free: 12.86 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.0009295/0.0009295, allocations: 102.1 kB / 0.9267 GB, free: 13.93 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.273e-05/3.276e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3164/0.3165, allocations: 142.3 MB / 1.212 GB, free: 38.4 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.143/6.459, allocations: 1.961 GB / 3.173 GB, free: 319.7 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000274/6.459, allocations: 90.2 kB / 3.173 GB, free: 319.7 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 8.751/15.21, allocations: 2.089 GB / 5.262 GB, free: 199.2 MB / 1.198 GB Notification: Performance of FrontEnd: time 2.435e-06/15.21, allocations: 0 / 5.262 GB, free: 199.2 MB / 1.198 GB Notification: Performance of Transformations before backend: time 0.0003972/15.21, allocations: 58.78 kB / 5.262 GB, free: 199.2 MB / 1.198 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.0103/15.22, allocations: 2.386 MB / 5.265 GB, free: 198.7 MB / 1.198 GB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/15.22, allocations: 9.5 kB / 5.265 GB, free: 198.7 MB / 1.198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006272/15.22, allocations: 202.6 kB / 5.265 GB, free: 198.6 MB / 1.198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006814/15.23, allocations: 0.866 MB / 5.266 GB, free: 198.5 MB / 1.198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008501/15.24, allocations: 2.221 MB / 5.268 GB, free: 198.2 MB / 1.198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001581/15.24, allocations: 100.5 kB / 5.268 GB, free: 198.1 MB / 1.198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004269/15.24, allocations: 143.6 kB / 5.268 GB, free: 198.1 MB / 1.198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003663/15.24, allocations: 1.49 MB / 5.269 GB, free: 197.9 MB / 1.198 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.049e-05/15.24, allocations: 5.062 kB / 5.269 GB, free: 197.9 MB / 1.198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001534/15.24, allocations: 59.22 kB / 5.269 GB, free: 197.9 MB / 1.198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.497e-05/15.24, allocations: 51.78 kB / 5.27 GB, free: 197.9 MB / 1.198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002559/15.24, allocations: 1.143 MB / 5.271 GB, free: 197.9 MB / 1.198 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.01446/15.26, allocations: 7.499 MB / 5.278 GB, free: 194 MB / 1.198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001948/15.26, allocations: 1.37 MB / 5.279 GB, free: 193.3 MB / 1.198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008919/15.26, allocations: 441.5 kB / 5.28 GB, free: 193.3 MB / 1.198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001227/15.26, allocations: 0.7581 MB / 5.28 GB, free: 192.6 MB / 1.198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001048/15.26, allocations: 480.9 kB / 5.281 GB, free: 192.5 MB / 1.198 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001656/15.27, allocations: 132.5 kB / 5.281 GB, free: 192.5 MB / 1.198 GB Notification: Performance of pre-optimization done (n=86): time 8.476e-06/15.27, allocations: 0 / 5.281 GB, free: 192.5 MB / 1.198 GB Notification: Performance of matching and sorting (n=86): time 0.0028/15.27, allocations: 0.9418 MB / 5.282 GB, free: 192.4 MB / 1.198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000113/15.27, allocations: 120.8 kB / 5.282 GB, free: 192.2 MB / 1.198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002999/15.27, allocations: 1.323 MB / 5.283 GB, free: 192.1 MB / 1.198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001449/15.27, allocations: 48.42 kB / 5.283 GB, free: 192 MB / 1.198 GB Notification: Performance of collectInitialEqns (initialization): time 0.001175/15.27, allocations: 0.9161 MB / 5.284 GB, free: 191.8 MB / 1.198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003659/15.27, allocations: 305.4 kB / 5.285 GB, free: 191.6 MB / 1.198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.624e-05/15.27, allocations: 23.47 kB / 5.285 GB, free: 191.6 MB / 1.198 GB Notification: Performance of setup shared object (initialization): time 0.0001428/15.27, allocations: 343.7 kB / 5.285 GB, free: 191.3 MB / 1.198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007253/15.27, allocations: 343.7 kB / 5.285 GB, free: 191.3 MB / 1.198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/15.28, allocations: 0.6884 MB / 5.286 GB, free: 190.9 MB / 1.198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009646/15.28, allocations: 465.9 kB / 5.286 GB, free: 190.9 MB / 1.198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.576e-06/15.28, allocations: 3 kB / 5.286 GB, free: 190.9 MB / 1.198 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00286/15.28, allocations: 1.219 MB / 5.288 GB, free: 190.7 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 0.001016/15.28, allocations: 3.391 MB / 5.291 GB, free: 187.2 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/15.28, allocations: 8.656 kB / 5.291 GB, free: 187.2 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.641e-05/15.28, allocations: 14.62 kB / 5.291 GB, free: 187.2 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001352/15.28, allocations: 271 kB / 5.291 GB, free: 187.2 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.232e-05/15.28, allocations: 20.14 kB / 5.291 GB, free: 187.2 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002354/15.28, allocations: 164.9 kB / 5.291 GB, free: 187.2 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001508/15.28, allocations: 56.25 kB / 5.291 GB, free: 187.2 MB / 1.198 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/15.28, allocations: 4.938 kB / 5.291 GB, free: 187.2 MB / 1.198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002178/15.29, allocations: 1.039 MB / 5.292 GB, free: 187.1 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.507e-05/15.29, allocations: 8.875 kB / 5.292 GB, free: 187.1 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.324e-05/15.29, allocations: 14.92 kB / 5.292 GB, free: 187.1 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001188/15.29, allocations: 272.1 kB / 5.293 GB, free: 187.1 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.095e-05/15.29, allocations: 19.08 kB / 5.293 GB, free: 187.1 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002234/15.29, allocations: 163.6 kB / 5.293 GB, free: 187.1 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/15.29, allocations: 57.98 kB / 5.293 GB, free: 187.1 MB / 1.198 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.0003744/15.29, allocations: 179.5 kB / 5.293 GB, free: 187 MB / 1.198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000402/15.29, allocations: 182.1 kB / 5.293 GB, free: 186.9 MB / 1.198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002718/15.29, allocations: 1.013 MB / 5.294 GB, free: 186.8 MB / 1.198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.747e-05/15.29, allocations: 20.14 kB / 5.294 GB, free: 186.8 MB / 1.198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.905e-06/15.29, allocations: 0 / 5.294 GB, free: 186.8 MB / 1.198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001588/15.3, allocations: 1.074 MB / 5.295 GB, free: 186.4 MB / 1.198 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.006557/15.3, allocations: 2.791 MB / 5.298 GB, free: 185.8 MB / 1.198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/15.3, allocations: 3.953 kB / 5.298 GB, free: 185.8 MB / 1.198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009321/15.3, allocations: 190.1 kB / 5.298 GB, free: 185.8 MB / 1.198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002832/15.3, allocations: 50.33 kB / 5.298 GB, free: 185.8 MB / 1.198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.833e-05/15.3, allocations: 31.34 kB / 5.298 GB, free: 185.8 MB / 1.198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001281/15.3, allocations: 1.413 MB / 5.3 GB, free: 184.5 MB / 1.198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/15.3, allocations: 3.875 kB / 5.3 GB, free: 184.5 MB / 1.198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002836/15.31, allocations: 1.585 MB / 5.301 GB, free: 184.1 MB / 1.198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001462/15.31, allocations: 339.2 kB / 5.302 GB, free: 183.9 MB / 1.198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002334/15.31, allocations: 19.44 kB / 5.302 GB, free: 183.9 MB / 1.198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001471/15.31, allocations: 142.1 kB / 5.302 GB, free: 183.9 MB / 1.198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002007/15.31, allocations: 64.36 kB / 5.302 GB, free: 183.9 MB / 1.198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.509e-05/15.31, allocations: 31.58 kB / 5.302 GB, free: 183.9 MB / 1.198 GB Notification: Performance of sorting global known variables: time 0.002732/15.31, allocations: 1.015 MB / 5.303 GB, free: 183.8 MB / 1.198 GB Notification: Performance of sort global known variables: time 1.6e-07/15.31, allocations: 0 / 5.303 GB, free: 183.8 MB / 1.198 GB Notification: Performance of remove unused functions: time 0.007554/15.32, allocations: 1.27 MB / 5.304 GB, free: 183.8 MB / 1.198 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.01435/15.34, allocations: 5.913 MB / 5.31 GB, free: 181.3 MB / 1.198 GB Notification: Performance of simCode: created initialization part: time 0.005911/15.34, allocations: 1.585 MB / 5.311 GB, free: 181.2 MB / 1.198 GB Notification: Performance of simCode: created event and clocks part: time 1.22e-05/15.34, allocations: 0 / 5.311 GB, free: 181.2 MB / 1.198 GB Notification: Performance of simCode: created simulation system equations: time 0.001754/15.34, allocations: 0.5316 MB / 5.312 GB, free: 181 MB / 1.198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006444/15.35, allocations: 0.7714 MB / 5.313 GB, free: 181 MB / 1.198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01525/15.37, allocations: 3.373 MB / 5.316 GB, free: 180.2 MB / 1.198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003191/15.37, allocations: 1.53 MB / 5.317 GB, free: 179.5 MB / 1.198 GB Notification: Performance of simCode: alias equations: time 0.005561/15.37, allocations: 0.6791 MB / 5.318 GB, free: 179.5 MB / 1.198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001628/15.38, allocations: 0.7326 MB / 5.319 GB, free: 179.5 MB / 1.198 GB Notification: Performance of SimCode: time 2.756e-06/15.38, allocations: 0 / 5.319 GB, free: 179.5 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2044/15.58, allocations: 97.23 MB / 5.414 GB, free: 177.2 MB / 1.198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/15.58, allocations: 206.1 kB / 5.414 GB, free: 176.9 MB / 1.198 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.851/21.43, allocations: 7.625 kB / 5.414 GB, free: 176.9 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