Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.865/1.865, allocations: 252 MB / 267 MB, free: 10.93 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009866/0.0009859, allocations: 186 kB / 326.6 MB, free: 2.195 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.835/1.835, allocations: 205.4 MB / 0.5777 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007605/0.0007605, allocations: 90.36 kB / 0.6822 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003372/0.0003372, allocations: 13.34 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2185/0.2189, allocations: 106.3 MB / 0.9003 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7295/0.9484, allocations: 215.5 MB / 1.111 GB, free: 3.59 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0252/0.9737, allocations: 17.22 MB / 1.128 GB, free: 3.172 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004665/0.9784, allocations: 75.31 kB / 1.128 GB, free: 3.168 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003865/0.9823, allocations: 0.909 MB / 1.129 GB, free: 3.145 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01093/0.9932, allocations: 2.551 MB / 1.131 GB, free: 3.031 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.01159/1.005, allocations: 2.876 MB / 1.134 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.009162/1.014, allocations: 5.65 MB / 1.139 GB, free: 2.922 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00359/1.018, allocations: 1.407 MB / 1.141 GB, free: 2.742 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006463/1.024, allocations: 2.111 MB / 1.143 GB, free: 2.723 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004935/1.029, allocations: 1.515 MB / 1.144 GB, free: 2.57 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.001027/1.03, allocations: 87.84 kB / 1.144 GB, free: 2.566 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007032/1.037, allocations: 2.221 MB / 1.147 GB, free: 2.039 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001584/1.039, allocations: 0.6312 MB / 1.147 GB, free: 1.836 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001703/1.041, allocations: 469.5 kB / 1.148 GB, free: 17.8 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.006108/1.047, allocations: 3.113 MB / 1.151 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.051e-06/1.047, allocations: 0 / 1.151 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.924e-06/1.047, allocations: 0 / 1.151 GB, free: 16.29 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001563/1.047, allocations: 2.938 kB / 1.151 GB, free: 16.29 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.006244/1.053, allocations: 2.503 MB / 1.153 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.45e-05/1.053, allocations: 8.688 kB / 1.153 GB, free: 14.66 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003868/1.054, allocations: 199.6 kB / 1.153 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004751/1.058, allocations: 0.803 MB / 1.154 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003273/1.062, allocations: 1.587 MB / 1.156 GB, free: 13.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003737/1.062, allocations: 185.4 kB / 1.156 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000214/1.062, allocations: 141.2 kB / 1.156 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003254/1.066, allocations: 1.705 MB / 1.158 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.202e-05/1.066, allocations: 6.125 kB / 1.158 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001317/1.066, allocations: 53.88 kB / 1.158 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.599e-05/1.066, allocations: 56.28 kB / 1.158 GB, free: 12.93 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003192/1.069, allocations: 1.492 MB / 1.159 GB, free: 12.66 MB / 0.7136 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.01014/1.079, allocations: 7.634 MB / 1.167 GB, free: 7.637 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002637/1.082, allocations: 1.646 MB / 1.168 GB, free: 6.766 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001073/1.083, allocations: 0.5364 MB / 1.169 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.084, allocations: 0.8119 MB / 1.17 GB, free: 5.867 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001248/1.086, allocations: 0.5843 MB / 1.17 GB, free: 5.672 MB / 0.7136 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001001/1.087, allocations: 118.4 kB / 1.17 GB, free: 5.617 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=84): time 2.986e-06/1.087, allocations: 4 kB / 1.17 GB, free: 5.613 MB / 0.7136 GB Notification: Performance of matching and sorting (n=84): time 0.003884/1.09, allocations: 1.651 MB / 1.172 GB, free: 5.137 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.055e-05/1.091, allocations: 140 kB / 1.172 GB, free: 4.98 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002107/1.093, allocations: 1.633 MB / 1.174 GB, free: 4.484 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001036/1.093, allocations: 46.55 kB / 1.174 GB, free: 4.453 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007465/1.094, allocations: 0.929 MB / 1.175 GB, free: 4.055 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/1.094, allocations: 296.9 kB / 1.175 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.503e-05/1.094, allocations: 21.59 kB / 1.175 GB, free: 3.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000125/1.094, allocations: 350.1 kB / 1.175 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009953/1.095, allocations: 470.1 kB / 1.176 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001246/1.096, allocations: 0.8296 MB / 1.176 GB, free: 2.914 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001161/1.097, allocations: 0.5784 MB / 1.177 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.452e-06/1.097, allocations: 2.562 kB / 1.177 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002961/1.1, allocations: 1.479 MB / 1.178 GB, free: 1.977 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002654/1.101, allocations: 378.5 kB / 1.179 GB, free: 1.516 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/1.101, allocations: 12 kB / 1.179 GB, free: 1.504 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.717e-05/1.101, allocations: 15.95 kB / 1.179 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/1.102, allocations: 276.9 kB / 1.179 GB, free: 1.238 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.24e-05/1.102, allocations: 23.64 kB / 1.179 GB, free: 1.223 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/1.104, allocations: 165.5 kB / 1.179 GB, free: 1.082 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001015/1.104, allocations: 49.48 kB / 1.179 GB, free: 1.043 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 6.773e-06/1.104, allocations: 4 kB / 1.179 GB, free: 1.039 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002519/1.106, allocations: 1.296 MB / 1.181 GB, free: 156 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.106, allocations: 8.406 kB / 1.181 GB, free: 148 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/1.106, allocations: 20 kB / 1.181 GB, free: 128 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001085/1.107, allocations: 273.6 kB / 1.181 GB, free: 15.88 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.782e-05/1.107, allocations: 22.52 kB / 1.181 GB, free: 15.86 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001629/1.109, allocations: 166.2 kB / 1.181 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.974e-05/1.109, allocations: 49.5 kB / 1.181 GB, free: 15.68 MB / 0.7292 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 (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.001058/1.11, allocations: 0.5505 MB / 1.182 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002418/1.111, allocations: 177.8 kB / 1.182 GB, free: 15.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002636/1.113, allocations: 1.221 MB / 1.183 GB, free: 14.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.007e-06/1.113, allocations: 9.969 kB / 1.183 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.347e-06/1.113, allocations: 4 kB / 1.183 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002327/1.116, allocations: 1.281 MB / 1.184 GB, free: 13.12 MB / 0.7292 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.005396/1.121, allocations: 2.962 MB / 1.187 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.943e-06/1.121, allocations: 0 / 1.187 GB, free: 10.89 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009661/1.122, allocations: 200 kB / 1.187 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002373/1.122, allocations: 48.3 kB / 1.187 GB, free: 10.67 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.61e-05/1.122, allocations: 28.12 kB / 1.187 GB, free: 10.66 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/1.124, allocations: 1.423 MB / 1.189 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/1.124, allocations: 0 / 1.189 GB, free: 9.219 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003489/1.127, allocations: 1.845 MB / 1.191 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007298/1.128, allocations: 356.5 kB / 1.191 GB, free: 7.516 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001839/1.128, allocations: 21.56 kB / 1.191 GB, free: 7.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001245/1.129, allocations: 151.7 kB / 1.191 GB, free: 7.371 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001317/1.129, allocations: 67.19 kB / 1.191 GB, free: 7.316 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.889e-05/1.129, allocations: 29.17 kB / 1.191 GB, free: 7.293 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.001564/1.131, allocations: 1.092 MB / 1.192 GB, free: 6.473 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.343e-06/1.131, allocations: 4 kB / 1.192 GB, free: 6.469 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003031/1.134, allocations: 1.019 MB / 1.193 GB, free: 5.512 MB / 0.7292 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.005369/1.139, allocations: 2.912 MB / 1.196 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.004109/1.144, allocations: 1.926 MB / 1.198 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 7.494e-06/1.144, allocations: 3.938 kB / 1.198 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/1.145, allocations: 0.6349 MB / 1.199 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004187/1.149, allocations: 0.8277 MB / 1.199 GB, free: 0.5859 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02405/1.173, allocations: 12.02 MB / 1.211 GB, free: 5.586 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001165/1.174, allocations: 1.504 MB / 1.213 GB, free: 4.105 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.002219/1.177, allocations: 442.8 kB / 1.213 GB, free: 3.668 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/1.178, allocations: 0.7895 MB / 1.214 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of SimCode: time 1.433e-06/1.178, allocations: 4 kB / 1.214 GB, free: 3.477 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08393/1.262, allocations: 48.94 MB / 1.262 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003522/1.262, allocations: 265.9 kB / 1.262 GB, free: 2.727 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.062/5.324, allocations: 0 / 1.262 GB, free: 2.727 MB / 0.7917 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)