Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_11_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.00143/0.00143, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 197.9 kB / 16.54 MB, free: 6.672 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.277/1.277, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.514/2.514, allocations: 469.8 MB / 0.7424 GB, free: 7.383 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001719/0.001719, allocations: 73.98 kB / 0.9087 GB, free: 34.36 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2484/0.2501, allocations: 159.2 MB / 1.064 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.6535/0.9037, allocations: 236.4 MB / 1.295 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02098/0.9247, allocations: 17.54 MB / 1.312 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003055/0.9278, allocations: 90.94 kB / 1.312 GB, free: 4.629 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.007588/0.9354, allocations: 4.587 MB / 1.317 GB, free: 4.566 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.007197/0.9426, allocations: 3.447 MB / 1.32 GB, free: 4.43 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00507/0.9477, allocations: 2.51 MB / 1.322 GB, free: 4.371 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00861/0.9563, allocations: 7.753 MB / 1.33 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002218/0.9585, allocations: 1.917 MB / 1.332 GB, free: 4.066 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004129/0.9627, allocations: 2.641 MB / 1.334 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001849/0.9645, allocations: 1.599 MB / 1.336 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002578/0.9648, allocations: 202.8 kB / 1.336 GB, free: 3.555 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005189/0.97, allocations: 3.602 MB / 1.34 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006042/0.9706, allocations: 0.8852 MB / 1.341 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001047/0.9717, allocations: 1.373 MB / 1.342 GB, free: 2.98 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.005073/0.9768, allocations: 4.818 MB / 1.347 GB, free: 2.059 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/0.9768, allocations: 4 kB / 1.347 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9768, allocations: 0 / 1.347 GB, free: 2.055 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 2.382e-05/0.9768, allocations: 0 / 1.347 GB, free: 2.055 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.004175/0.981, allocations: 3.225 MB / 1.35 GB, free: 16.01 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.348e-05/0.981, allocations: 10.62 kB / 1.35 GB, free: 16.01 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001856/0.9812, allocations: 196 kB / 1.35 GB, free: 15.89 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004611/0.9858, allocations: 0.891 MB / 1.351 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0037/0.9896, allocations: 2.665 MB / 1.353 GB, free: 14.38 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003616/0.9899, allocations: 168.4 kB / 1.354 GB, free: 14.33 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.9901, allocations: 147.3 kB / 1.354 GB, free: 14.28 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002723/0.9929, allocations: 1.672 MB / 1.355 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.81e-05/0.9929, allocations: 3.375 kB / 1.355 GB, free: 13.55 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.993, allocations: 53.22 kB / 1.355 GB, free: 13.51 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.533e-05/0.9931, allocations: 58.77 kB / 1.356 GB, free: 13.5 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003044/0.9961, allocations: 1.459 MB / 1.357 GB, free: 13.03 MB / 1.014 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.00982/1.006, allocations: 8.174 MB / 1.365 GB, free: 6.445 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002644/1.009, allocations: 1.587 MB / 1.366 GB, free: 5.254 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001058/1.01, allocations: 0.525 MB / 1.367 GB, free: 5 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001239/1.011, allocations: 0.7677 MB / 1.368 GB, free: 4.188 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001108/1.012, allocations: 0.5423 MB / 1.368 GB, free: 3.867 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.605e-06/1.012, allocations: 0 / 1.368 GB, free: 3.867 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.003821/1.016, allocations: 1.632 MB / 1.37 GB, free: 3.016 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.576e-05/1.016, allocations: 67.22 kB / 1.37 GB, free: 2.949 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002316/1.018, allocations: 2.132 MB / 1.372 GB, free: 1.805 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 7.814e-05/1.018, allocations: 46.42 kB / 1.372 GB, free: 1.758 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008763/1.019, allocations: 1.061 MB / 1.373 GB, free: 0.832 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002576/1.019, allocations: 297.8 kB / 1.373 GB, free: 0.582 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003932/1.02, allocations: 315.1 kB / 1.374 GB, free: 416 kB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001166/1.02, allocations: 305.1 kB / 1.374 GB, free: 108 kB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/1.021, allocations: 0.6244 MB / 1.375 GB, free: 15.79 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001548/1.023, allocations: 1.015 MB / 1.376 GB, free: 15.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002646/1.025, allocations: 1.569 MB / 1.377 GB, free: 14.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.403e-06/1.025, allocations: 3.75 kB / 1.377 GB, free: 14.01 MB / 1.029 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003296/1.029, allocations: 1.92 MB / 1.379 GB, free: 13.11 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.058e-05/1.029, allocations: 40.17 kB / 1.379 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.219e-05/1.029, allocations: 7.938 kB / 1.379 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/1.029, allocations: 20.69 kB / 1.379 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001152/1.03, allocations: 333.6 kB / 1.379 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.76e-05/1.03, allocations: 18.47 kB / 1.379 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/1.031, allocations: 186.4 kB / 1.38 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-05/1.032, allocations: 55.03 kB / 1.38 GB, free: 12.88 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001937/1.033, allocations: 1.117 MB / 1.381 GB, free: 12.25 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00147/1.035, allocations: 1.015 MB / 1.382 GB, free: 11.48 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002464/1.037, allocations: 1.568 MB / 1.383 GB, free: 10.47 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.059e-06/1.037, allocations: 4.969 kB / 1.383 GB, free: 10.47 MB / 1.029 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003083/1.041, allocations: 1.92 MB / 1.385 GB, free: 9.562 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.872e-05/1.041, allocations: 34.7 kB / 1.385 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/1.041, allocations: 8.906 kB / 1.385 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/1.041, allocations: 16.66 kB / 1.385 GB, free: 9.531 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001112/1.042, allocations: 334.1 kB / 1.385 GB, free: 9.469 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.573e-05/1.042, allocations: 19.84 kB / 1.386 GB, free: 9.465 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001287/1.043, allocations: 170.5 kB / 1.386 GB, free: 9.363 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.8e-05/1.043, allocations: 64.95 kB / 1.386 GB, free: 9.344 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002812/1.043, allocations: 264.1 kB / 1.386 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002506/1.044, allocations: 212.1 kB / 1.386 GB, free: 9.004 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002595/1.046, allocations: 1.189 MB / 1.387 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.432e-06/1.046, allocations: 8.75 kB / 1.387 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/1.046, allocations: 0 / 1.387 GB, free: 8.348 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002178/1.048, allocations: 1.244 MB / 1.389 GB, free: 7.488 MB / 1.029 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.005257/1.054, allocations: 3.112 MB / 1.392 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.356e-06/1.054, allocations: 0 / 1.392 GB, free: 4.609 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009218/1.055, allocations: 195.6 kB / 1.392 GB, free: 4.426 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001921/1.055, allocations: 47.45 kB / 1.392 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.177e-05/1.055, allocations: 31.92 kB / 1.392 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001254/1.056, allocations: 1.535 MB / 1.393 GB, free: 2.684 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.056, allocations: 0 / 1.393 GB, free: 2.684 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003556/1.06, allocations: 1.776 MB / 1.395 GB, free: 0.875 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005565/1.06, allocations: 402.1 kB / 1.395 GB, free: 468 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002271/1.061, allocations: 23.98 kB / 1.396 GB, free: 444 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001011/1.062, allocations: 71.94 kB / 1.396 GB, free: 372 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/1.062, allocations: 67.12 kB / 1.396 GB, free: 308 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.519e-05/1.062, allocations: 27.98 kB / 1.396 GB, free: 280 kB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001814/1.064, allocations: 1.422 MB / 1.397 GB, free: 14.84 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.4e-07/1.064, allocations: 4 kB / 1.397 GB, free: 14.84 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.00236/1.066, allocations: 1.091 MB / 1.398 GB, free: 13.74 MB / 1.045 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.005754/1.072, allocations: 2.964 MB / 1.401 GB, free: 10.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.004759/1.077, allocations: 2.445 MB / 1.403 GB, free: 8.531 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.077, allocations: 0 / 1.403 GB, free: 8.531 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001267/1.078, allocations: 0.6196 MB / 1.404 GB, free: 7.922 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003627/1.081, allocations: 1.018 MB / 1.405 GB, free: 6.934 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02519/1.107, allocations: 17.19 MB / 1.422 GB, free: 4.535 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001311/1.108, allocations: 1.664 MB / 1.423 GB, free: 2.84 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.002055/1.11, allocations: 0.5558 MB / 1.424 GB, free: 2.281 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001192/1.111, allocations: 0.9328 MB / 1.425 GB, free: 1.348 MB / 1.061 GB Notification: Performance of SimCode: time 8.12e-07/1.111, allocations: 3.938 kB / 1.425 GB, free: 1.344 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.062/5.173, allocations: 55.62 MB / 1.479 GB, free: 10.48 MB / 1.123 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.56/19.73, allocations: 23.31 kB / 1.479 GB, free: 10.46 MB / 1.123 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=400 --tolerance=1e-08 Buildings_11_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)