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.0009104/0.0009104, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009419/0.0009422, allocations: 177.3 kB / 15.95 MB, free: 216 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.377/1.377, allocations: 223.2 MB / 239.9 MB, free: 5.441 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.422/2.422, allocations: 390.3 MB / 0.6653 GB, free: 3 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003715, allocations: 16 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7977/0.7981, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2684/1.067, allocations: 193.9 MB / 1.143 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.02482/1.091, allocations: 14.79 MB / 1.157 GB, free: 15.02 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00322/1.095, allocations: 71.5 kB / 1.157 GB, free: 14.95 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.004243/1.099, allocations: 1.142 MB / 1.159 GB, free: 13.8 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.01099/1.11, allocations: 3.294 MB / 1.162 GB, free: 10.5 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.006569/1.116, allocations: 2.125 MB / 1.164 GB, free: 8.398 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.006381/1.123, allocations: 2.917 MB / 1.167 GB, free: 5.48 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002582/1.125, allocations: 1.398 MB / 1.168 GB, free: 4.047 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004817/1.13, allocations: 1.923 MB / 1.17 GB, free: 2.117 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002179/1.133, allocations: 1.058 MB / 1.171 GB, free: 1.055 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 0.0002809/1.133, allocations: 80 kB / 1.171 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004702/1.138, allocations: 1.786 MB / 1.173 GB, free: 15.19 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0007759/1.138, allocations: 0.5724 MB / 1.173 GB, free: 14.61 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0008335/1.139, allocations: 460.5 kB / 1.174 GB, free: 14.16 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.004919/1.144, allocations: 2.829 MB / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.088e-06/1.144, allocations: 0 / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.234e-06/1.144, allocations: 0 / 1.177 GB, free: 11.32 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.743e-05/1.144, allocations: 0 / 1.177 GB, free: 11.32 MB / 0.9356 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.004858/1.149, allocations: 2.406 MB / 1.179 GB, free: 8.848 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/1.149, allocations: 12.03 kB / 1.179 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002683/1.149, allocations: 194.3 kB / 1.179 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005253/1.155, allocations: 0.8986 MB / 1.18 GB, free: 7.734 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003568/1.158, allocations: 1.65 MB / 1.182 GB, free: 6.035 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003881/1.159, allocations: 182.5 kB / 1.182 GB, free: 5.855 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002263/1.159, allocations: 139.9 kB / 1.182 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003214/1.162, allocations: 1.688 MB / 1.184 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.049e-05/1.162, allocations: 3.953 kB / 1.184 GB, free: 3.957 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/1.162, allocations: 59.98 kB / 1.184 GB, free: 3.898 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.065e-05/1.162, allocations: 50.52 kB / 1.184 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003452/1.166, allocations: 1.552 MB / 1.185 GB, free: 2.289 MB / 0.9356 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.01071/1.177, allocations: 7.771 MB / 1.193 GB, free: 9.938 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003016/1.18, allocations: 1.725 MB / 1.194 GB, free: 8.082 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001116/1.181, allocations: 0.6362 MB / 1.195 GB, free: 7.336 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00135/1.182, allocations: 0.6063 MB / 1.196 GB, free: 6.719 MB / 0.9512 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009066/1.183, allocations: 123.2 kB / 1.196 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=85): time 4.429e-06/1.183, allocations: 3.938 kB / 1.196 GB, free: 6.594 MB / 0.9512 GB Notification: Performance of matching and sorting (n=85): time 0.00432/1.187, allocations: 1.75 MB / 1.197 GB, free: 4.816 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.896e-05/1.187, allocations: 68.39 kB / 1.198 GB, free: 4.738 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00206/1.19, allocations: 1.583 MB / 1.199 GB, free: 3.113 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 9.477e-05/1.19, allocations: 45.7 kB / 1.199 GB, free: 3.062 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007619/1.19, allocations: 0.9165 MB / 1.2 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/1.191, allocations: 295.7 kB / 1.2 GB, free: 1.844 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.207e-05/1.191, allocations: 20 kB / 1.2 GB, free: 1.824 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001502/1.191, allocations: 349.9 kB / 1.201 GB, free: 1.477 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001127/1.192, allocations: 486.3 kB / 1.201 GB, free: 1 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001319/1.193, allocations: 0.8059 MB / 1.202 GB, free: 56 kB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00126/1.195, allocations: 0.5823 MB / 1.202 GB, free: 15.47 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/1.195, allocations: 4.766 kB / 1.202 GB, free: 15.46 MB / 0.9669 GB Notification: Performance of matching and sorting (n=134) (initialization): time 0.003166/1.198, allocations: 1.496 MB / 1.204 GB, free: 13.95 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 0.001185/1.199, allocations: 3.297 MB / 1.207 GB, free: 10.39 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.655e-05/1.199, allocations: 12 kB / 1.207 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.993e-05/1.199, allocations: 16 kB / 1.207 GB, free: 10.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.2, allocations: 295.6 kB / 1.207 GB, free: 10.08 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.402e-05/1.2, allocations: 19.94 kB / 1.207 GB, free: 10.06 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001783/1.202, allocations: 192.3 kB / 1.208 GB, free: 9.871 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/1.202, allocations: 55.97 kB / 1.208 GB, free: 9.816 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 8.767e-06/1.202, allocations: 4 kB / 1.208 GB, free: 9.812 MB / 0.9669 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002736/1.205, allocations: 1.314 MB / 1.209 GB, free: 8.496 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.205, allocations: 8 kB / 1.209 GB, free: 8.488 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/1.205, allocations: 15.95 kB / 1.209 GB, free: 8.473 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.206, allocations: 303.9 kB / 1.209 GB, free: 8.176 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.804e-05/1.206, allocations: 19.94 kB / 1.209 GB, free: 8.156 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001714/1.208, allocations: 192.3 kB / 1.21 GB, free: 7.965 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.239e-05/1.208, allocations: 51.98 kB / 1.21 GB, free: 7.914 MB / 0.9669 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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.001/1.209, allocations: 0.5317 MB / 1.21 GB, free: 7.371 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002491/1.209, allocations: 177.8 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002944/1.212, allocations: 1.298 MB / 1.212 GB, free: 5.879 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.839e-06/1.212, allocations: 8 kB / 1.212 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/1.212, allocations: 4 kB / 1.212 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002493/1.215, allocations: 1.336 MB / 1.213 GB, free: 4.441 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 postOpt removeSimpleEquations (simulation): time 0.006221/1.221, allocations: 3.147 MB / 1.216 GB, free: 1.16 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/1.221, allocations: 4.156 kB / 1.216 GB, free: 1.156 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001046/1.222, allocations: 211.7 kB / 1.216 GB, free: 0.9492 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002873/1.222, allocations: 48.77 kB / 1.216 GB, free: 0.8984 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.558e-05/1.223, allocations: 35.91 kB / 1.216 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001467/1.224, allocations: 1.448 MB / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/1.224, allocations: 0 / 1.218 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/1.228, allocations: 1.993 MB / 1.22 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008459/1.229, allocations: 354.8 kB / 1.22 GB, free: 12.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001971/1.229, allocations: 16 kB / 1.22 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001304/1.23, allocations: 169.9 kB / 1.22 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/1.231, allocations: 64.52 kB / 1.22 GB, free: 12.6 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.35e-05/1.231, allocations: 31.98 kB / 1.22 GB, free: 12.57 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.001656/1.232, allocations: 1.069 MB / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.51e-07/1.232, allocations: 0 / 1.221 GB, free: 11.47 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.002898/1.235, allocations: 0.978 MB / 1.222 GB, free: 10.49 MB / 0.9825 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.00577/1.241, allocations: 3.376 MB / 1.225 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.004252/1.245, allocations: 1.923 MB / 1.227 GB, free: 5.254 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/1.245, allocations: 4 kB / 1.227 GB, free: 5.25 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.001461/1.247, allocations: 0.6665 MB / 1.228 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003772/1.251, allocations: 0.7913 MB / 1.229 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/1.265, allocations: 11.18 MB / 1.24 GB, free: 8.211 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001662/1.267, allocations: 1.534 MB / 1.241 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002495/1.269, allocations: 462.5 kB / 1.242 GB, free: 6.184 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001341/1.271, allocations: 0.7687 MB / 1.242 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of SimCode: time 1.132e-06/1.271, allocations: 0 / 1.242 GB, free: 5.418 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.651/1.922, allocations: 46.45 MB / 1.288 GB, free: 259.8 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001361/1.922, allocations: 243.2 kB / 1.288 GB, free: 259.6 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.383/5.305, allocations: 0 / 1.288 GB, free: 259.6 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