Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.58/2.58, allocations: 287.3 MB / 302.3 MB, free: 8.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001615/0.001615, allocations: 190.3 kB / 370.8 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.168/2.168, allocations: 205.4 MB / 0.6295 GB, free: 10.55 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001099/0.001098, allocations: 104.3 kB / 0.7428 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004829, allocations: 13.83 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2283/0.2288, allocations: 115.3 MB / 0.9783 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9867/1.216, allocations: 193.9 MB / 1.168 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.04094/1.257, allocations: 17.13 MB / 1.184 GB, free: 14.01 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003916/1.261, allocations: 70.03 kB / 1.184 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.006131/1.267, allocations: 1.188 MB / 1.186 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01522/1.282, allocations: 3.242 MB / 1.189 GB, free: 10.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0144/1.296, allocations: 3.048 MB / 1.192 GB, free: 8.383 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.008316/1.305, allocations: 2.93 MB / 1.195 GB, free: 6.477 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003359/1.308, allocations: 1.415 MB / 1.196 GB, free: 5.621 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0068/1.315, allocations: 1.913 MB / 1.198 GB, free: 4.414 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003074/1.318, allocations: 1.062 MB / 1.199 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0006664/1.319, allocations: 80.62 kB / 1.199 GB, free: 3.785 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007231/1.326, allocations: 1.887 MB / 1.201 GB, free: 2.891 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00147/1.328, allocations: 0.5744 MB / 1.201 GB, free: 2.527 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001157/1.329, allocations: 469.1 kB / 1.202 GB, free: 2.27 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.007012/1.336, allocations: 2.917 MB / 1.205 GB, free: 360 kB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.346e-06/1.336, allocations: 0 / 1.205 GB, free: 360 kB / 0.7292 GB Notification: Performance of FrontEnd: time 5.099e-06/1.336, allocations: 7.984 kB / 1.205 GB, free: 352 kB / 0.7292 GB Notification: Performance of Transformations before backend: time 0.0001065/1.336, allocations: 2.719 kB / 1.205 GB, free: 352 kB / 0.7292 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.007847/1.344, allocations: 2.452 MB / 1.207 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/1.344, allocations: 8.344 kB / 1.207 GB, free: 14.54 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006707/1.345, allocations: 201.2 kB / 1.207 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00811/1.353, allocations: 0.8135 MB / 1.208 GB, free: 14 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005746/1.359, allocations: 1.616 MB / 1.21 GB, free: 12.34 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007409/1.359, allocations: 174.8 kB / 1.21 GB, free: 12.17 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005071/1.36, allocations: 144 kB / 1.21 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005991/1.366, allocations: 1.679 MB / 1.212 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.717e-05/1.366, allocations: 3.953 kB / 1.212 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002374/1.366, allocations: 56 kB / 1.212 GB, free: 10.21 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.65e-05/1.366, allocations: 46.53 kB / 1.212 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006547/1.373, allocations: 1.478 MB / 1.213 GB, free: 8.68 MB / 0.7448 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.01861/1.392, allocations: 7.694 MB / 1.221 GB, free: 416 kB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005097/1.397, allocations: 1.656 MB / 1.222 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002024/1.399, allocations: 0.6402 MB / 1.223 GB, free: 13.86 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002339/1.401, allocations: 0.5673 MB / 1.223 GB, free: 13.29 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001222/1.402, allocations: 119.1 kB / 1.224 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=84): time 4.559e-06/1.402, allocations: 0 / 1.224 GB, free: 13.17 MB / 0.7605 GB Notification: Performance of matching and sorting (n=84): time 0.007587/1.41, allocations: 1.661 MB / 1.225 GB, free: 11.48 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.776e-05/1.41, allocations: 141.5 kB / 1.225 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003635/1.414, allocations: 1.608 MB / 1.227 GB, free: 9.652 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 0.0002975/1.414, allocations: 49.7 kB / 1.227 GB, free: 9.598 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.001221/1.415, allocations: 0.9322 MB / 1.228 GB, free: 8.656 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005135/1.416, allocations: 295.7 kB / 1.228 GB, free: 8.363 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001071/1.416, allocations: 20 kB / 1.228 GB, free: 8.344 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001799/1.416, allocations: 349.9 kB / 1.229 GB, free: 7.996 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00201/1.418, allocations: 466.3 kB / 1.229 GB, free: 7.539 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002396/1.421, allocations: 0.8266 MB / 1.23 GB, free: 6.562 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002342/1.423, allocations: 0.5629 MB / 1.23 GB, free: 5.996 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/1.423, allocations: 4 kB / 1.23 GB, free: 5.992 MB / 0.7605 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005783/1.429, allocations: 1.477 MB / 1.232 GB, free: 4.5 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.0016/1.431, allocations: 3.315 MB / 1.235 GB, free: 0.9258 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-05/1.431, allocations: 8 kB / 1.235 GB, free: 0.918 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.931e-05/1.431, allocations: 16 kB / 1.235 GB, free: 0.9023 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002621/1.433, allocations: 283.6 kB / 1.235 GB, free: 0.625 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.253e-05/1.433, allocations: 15.94 kB / 1.235 GB, free: 0.6094 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002954/1.436, allocations: 164.4 kB / 1.235 GB, free: 460 kB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002318/1.437, allocations: 55.92 kB / 1.236 GB, free: 404 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.752e-05/1.437, allocations: 5.719 kB / 1.236 GB, free: 400 kB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005044/1.442, allocations: 1.29 MB / 1.237 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.653e-05/1.442, allocations: 12 kB / 1.237 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.771e-05/1.442, allocations: 16.36 kB / 1.237 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0023/1.444, allocations: 279.6 kB / 1.237 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.689e-05/1.444, allocations: 27.92 kB / 1.237 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002911/1.447, allocations: 152.5 kB / 1.237 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001762/1.447, allocations: 55.98 kB / 1.237 GB, free: 14.56 MB / 0.7761 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.001428/1.449, allocations: 0.5353 MB / 1.238 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005398/1.449, allocations: 189.7 kB / 1.238 GB, free: 13.83 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004881/1.454, allocations: 1.208 MB / 1.239 GB, free: 12.61 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.426e-05/1.454, allocations: 8 kB / 1.239 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.441e-05/1.454, allocations: 4 kB / 1.239 GB, free: 12.6 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004178/1.458, allocations: 1.274 MB / 1.24 GB, free: 11.23 MB / 0.7761 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.009795/1.468, allocations: 3.022 MB / 1.243 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.536e-06/1.468, allocations: 0 / 1.243 GB, free: 8.078 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001994/1.47, allocations: 199.9 kB / 1.244 GB, free: 7.883 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003591/1.471, allocations: 48.83 kB / 1.244 GB, free: 7.832 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000143/1.471, allocations: 27.98 kB / 1.244 GB, free: 7.805 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002024/1.473, allocations: 1.444 MB / 1.245 GB, free: 6.23 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-05/1.473, allocations: 4 kB / 1.245 GB, free: 6.227 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007053/1.48, allocations: 1.9 MB / 1.247 GB, free: 4.254 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001374/1.482, allocations: 346.6 kB / 1.247 GB, free: 3.895 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004284/1.482, allocations: 23.98 kB / 1.247 GB, free: 3.871 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002753/1.485, allocations: 155.7 kB / 1.247 GB, free: 3.719 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000381/1.485, allocations: 68.5 kB / 1.247 GB, free: 3.652 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001574/1.485, allocations: 31.98 kB / 1.248 GB, free: 3.621 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.002987/1.488, allocations: 1.082 MB / 1.249 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7.11e-07/1.488, allocations: 0 / 1.249 GB, free: 2.516 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.005354/1.494, allocations: 1.013 MB / 1.25 GB, free: 1.5 MB / 0.7761 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.01015/1.504, allocations: 3.245 MB / 1.253 GB, free: 14.34 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.007046/1.511, allocations: 1.914 MB / 1.255 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 7.354e-06/1.511, allocations: 1.375 kB / 1.255 GB, free: 12.39 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.002339/1.513, allocations: 0.6312 MB / 1.255 GB, free: 11.75 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0067/1.52, allocations: 0.8048 MB / 1.256 GB, free: 10.95 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01981/1.54, allocations: 11.21 MB / 1.267 GB, free: 15.35 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001967/1.542, allocations: 1.534 MB / 1.268 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003473/1.546, allocations: 454.7 kB / 1.269 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002108/1.548, allocations: 0.7843 MB / 1.27 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of SimCode: time 1.563e-06/1.548, allocations: 0 / 1.27 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1394/1.687, allocations: 47.79 MB / 1.316 GB, free: 13.22 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004145/1.688, allocations: 245.4 kB / 1.317 GB, free: 12.94 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.625/6.313, allocations: 64 / 1.317 GB, free: 12.94 MB / 0.8542 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)