Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_8_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.001036/0.001036, allocations: 99.47 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.001404/0.001404, 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 3.2.3+maint.om/package.mo): time 1.72/1.72, allocations: 205.4 MB / 222.1 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.811/1.811, allocations: 292.6 MB / 0.5497 GB, free: 14.62 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005355/0.0005355, allocations: 18.75 kB / 0.6737 GB, free: 26.06 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.3021, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7996/1.102, allocations: 193.9 MB / 0.9766 GB, free: 4.852 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03013/1.132, allocations: 17.14 MB / 0.9934 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004862/1.137, allocations: 73.16 kB / 0.9934 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005148/1.142, allocations: 1.181 MB / 0.9946 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01326/1.155, allocations: 3.241 MB / 0.9977 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.01161/1.167, allocations: 3.055 MB / 1.001 GB, free: 1.066 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.007952/1.175, allocations: 2.937 MB / 1.004 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003057/1.178, allocations: 1.406 MB / 1.005 GB, free: 14.55 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00586/1.184, allocations: 1.922 MB / 1.007 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002755/1.187, allocations: 1.056 MB / 1.008 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0003796/1.187, allocations: 83.31 kB / 1.008 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005894/1.193, allocations: 1.886 MB / 1.01 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001033/1.194, allocations: 0.5735 MB / 1.01 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001051/1.195, allocations: 469.7 kB / 1.011 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.005204/1.2, allocations: 2.926 MB / 1.014 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/1.2, allocations: 0 / 1.014 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.864e-06/1.2, allocations: 0 / 1.014 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.081e-05/1.2, allocations: 0 / 1.014 GB, free: 9.984 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.005469/1.206, allocations: 2.447 MB / 1.016 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.206, allocations: 7.75 kB / 1.016 GB, free: 8.199 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003342/1.206, allocations: 202.1 kB / 1.016 GB, free: 8.039 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00494/1.211, allocations: 0.8162 MB / 1.017 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003491/1.215, allocations: 1.613 MB / 1.019 GB, free: 6.531 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003925/1.215, allocations: 176.8 kB / 1.019 GB, free: 6.457 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002304/1.215, allocations: 148.5 kB / 1.019 GB, free: 6.406 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003349/1.219, allocations: 1.683 MB / 1.021 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.971e-05/1.219, allocations: 0 / 1.021 GB, free: 5.352 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000143/1.219, allocations: 61.77 kB / 1.021 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.906e-05/1.219, allocations: 48.59 kB / 1.021 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003265/1.222, allocations: 1.473 MB / 1.022 GB, free: 4.602 MB / 0.7325 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.01157/1.234, allocations: 7.689 MB / 1.03 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002829/1.237, allocations: 1.659 MB / 1.031 GB, free: 12.8 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001219/1.238, allocations: 0.637 MB / 1.032 GB, free: 12.17 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001307/1.239, allocations: 0.5777 MB / 1.032 GB, free: 11.82 MB / 0.7481 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009571/1.24, allocations: 125.4 kB / 1.033 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=84): time 5.4e-06/1.24, allocations: 0 / 1.033 GB, free: 11.75 MB / 0.7481 GB Notification: Performance of matching and sorting (n=84): time 0.004142/1.244, allocations: 1.663 MB / 1.034 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.031e-05/1.245, allocations: 137.5 kB / 1.034 GB, free: 10.16 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002343/1.247, allocations: 1.608 MB / 1.036 GB, free: 8.504 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001186/1.247, allocations: 53.7 kB / 1.036 GB, free: 8.445 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008636/1.248, allocations: 0.9283 MB / 1.037 GB, free: 7.508 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002911/1.248, allocations: 295.7 kB / 1.037 GB, free: 7.215 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.219e-05/1.248, allocations: 23.98 kB / 1.037 GB, free: 7.191 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.000155/1.248, allocations: 345.9 kB / 1.037 GB, free: 6.848 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001075/1.25, allocations: 466.3 kB / 1.038 GB, free: 6.391 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001347/1.251, allocations: 0.82 MB / 1.039 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001269/1.252, allocations: 0.5691 MB / 1.039 GB, free: 4.859 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.815e-06/1.252, allocations: 4 kB / 1.039 GB, free: 4.855 MB / 0.7481 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003326/1.256, allocations: 1.472 MB / 1.041 GB, free: 3.391 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 0.001782/1.257, allocations: 3.307 MB / 1.044 GB, free: 15.83 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.532e-05/1.257, allocations: 12 kB / 1.044 GB, free: 15.82 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.814e-05/1.257, allocations: 20 kB / 1.044 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.259, allocations: 279.6 kB / 1.044 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.772e-05/1.259, allocations: 15.94 kB / 1.044 GB, free: 15.51 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002157/1.261, allocations: 168.3 kB / 1.044 GB, free: 15.34 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001327/1.261, allocations: 51.98 kB / 1.044 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.736e-05/1.261, allocations: 4 kB / 1.044 GB, free: 15.29 MB / 0.7637 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002907/1.264, allocations: 1.286 MB / 1.046 GB, free: 14 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/1.264, allocations: 12 kB / 1.046 GB, free: 13.98 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.59e-05/1.264, allocations: 12 kB / 1.046 GB, free: 13.97 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001156/1.265, allocations: 283.9 kB / 1.046 GB, free: 13.7 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.469e-05/1.265, allocations: 23.92 kB / 1.046 GB, free: 13.67 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002053/1.267, allocations: 163.1 kB / 1.046 GB, free: 13.52 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001156/1.268, allocations: 51.98 kB / 1.046 GB, free: 13.46 MB / 0.7637 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 (134): * Single equations (assignments): 130 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * 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.001291/1.269, allocations: 0.5367 MB / 1.047 GB, free: 12.92 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005031/1.269, allocations: 185.7 kB / 1.047 GB, free: 12.74 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003047/1.272, allocations: 1.212 MB / 1.048 GB, free: 11.51 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.206e-05/1.272, allocations: 8 kB / 1.048 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.608e-06/1.272, allocations: 4 kB / 1.048 GB, free: 11.5 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002412/1.275, allocations: 1.274 MB / 1.049 GB, free: 10.14 MB / 0.7637 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.006052/1.281, allocations: 3.03 MB / 1.052 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.15e-06/1.281, allocations: 0 / 1.052 GB, free: 6.973 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009896/1.282, allocations: 203.9 kB / 1.053 GB, free: 6.773 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002278/1.282, allocations: 52.83 kB / 1.053 GB, free: 6.719 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-05/1.282, allocations: 23.98 kB / 1.053 GB, free: 6.695 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001313/1.284, allocations: 1.436 MB / 1.054 GB, free: 5.129 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.115e-06/1.284, allocations: 4 kB / 1.054 GB, free: 5.125 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003749/1.287, allocations: 1.888 MB / 1.056 GB, free: 3.168 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008581/1.288, allocations: 350.6 kB / 1.056 GB, free: 2.805 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/1.288, allocations: 27.98 kB / 1.056 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001194/1.29, allocations: 151.8 kB / 1.056 GB, free: 2.629 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/1.29, allocations: 64.78 kB / 1.056 GB, free: 2.566 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.255e-05/1.29, allocations: 27.98 kB / 1.056 GB, free: 2.539 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.001696/1.292, allocations: 1.085 MB / 1.058 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.91e-07/1.292, allocations: 0 / 1.058 GB, free: 1.43 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003119/1.295, allocations: 1.013 MB / 1.059 GB, free: 424 kB / 0.7637 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[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 (84): * Single equations (assignments): 81 * 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.005758/1.3, allocations: 3.25 MB / 1.062 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.004117/1.305, allocations: 1.922 MB / 1.064 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 9.458e-06/1.305, allocations: 4 kB / 1.064 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001351/1.306, allocations: 0.6277 MB / 1.064 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004156/1.31, allocations: 0.7996 MB / 1.065 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0127/1.323, allocations: 11.2 MB / 1.076 GB, free: 14.26 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/1.324, allocations: 1.534 MB / 1.077 GB, free: 12.69 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.002148/1.326, allocations: 458.7 kB / 1.078 GB, free: 12.23 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001095/1.327, allocations: 0.7922 MB / 1.079 GB, free: 11.44 MB / 0.795 GB Notification: Performance of SimCode: time 1.172e-06/1.327, allocations: 0 / 1.079 GB, free: 11.44 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5063/1.834, allocations: 47.79 MB / 1.125 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002087/1.834, allocations: 243 kB / 1.126 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 4/5.834, allocations: 0 / 1.126 GB, free: 12.03 MB / 0.8419 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) Environment - environmentSimulation: