Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.656/1.656, allocations: 288.4 MB / 303.6 MB, free: 8.051 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.0009986/0.0009987, allocations: 185 kB / 372.3 MB, free: 10.14 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.462/1.462, allocations: 205.4 MB / 0.631 GB, free: 9.863 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.001017/0.001017, allocations: 86.92 kB / 0.7444 GB, free: 5.77 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000662/0.0006621, allocations: 16.83 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2938, allocations: 115.3 MB / 0.9802 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7918/1.086, allocations: 215.2 MB / 1.19 GB, free: 10.58 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02648/1.112, allocations: 17.12 MB / 1.207 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004003/1.116, allocations: 73.03 kB / 1.207 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004105/1.12, allocations: 1.047 MB / 1.208 GB, free: 12.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.009392/1.13, allocations: 2.904 MB / 1.211 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009301/1.139, allocations: 2.968 MB / 1.214 GB, free: 8.102 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.008815/1.148, allocations: 5.633 MB / 1.219 GB, free: 4.773 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003283/1.151, allocations: 1.59 MB / 1.221 GB, free: 3.793 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006649/1.158, allocations: 2.284 MB / 1.223 GB, free: 1.703 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003859/1.162, allocations: 1.487 MB / 1.225 GB, free: 216 kB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0006168/1.163, allocations: 80 kB / 1.225 GB, free: 136 kB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00905/1.172, allocations: 3.772 MB / 1.228 GB, free: 12.35 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001621/1.173, allocations: 0.6228 MB / 1.229 GB, free: 11.72 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.002979/1.176, allocations: 1.051 MB / 1.23 GB, free: 10.66 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.006515/1.183, allocations: 3.254 MB / 1.233 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/1.183, allocations: 0 / 1.233 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.575e-06/1.183, allocations: 0 / 1.233 GB, free: 7.402 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001494/1.183, allocations: 0 / 1.233 GB, free: 7.402 MB / 0.7605 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.006087/1.189, allocations: 2.48 MB / 1.236 GB, free: 4.855 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.225e-05/1.189, allocations: 8.031 kB / 1.236 GB, free: 4.848 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005253/1.19, allocations: 194.4 kB / 1.236 GB, free: 4.648 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004915/1.195, allocations: 0.8128 MB / 1.237 GB, free: 3.832 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003914/1.199, allocations: 1.661 MB / 1.238 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004054/1.199, allocations: 166.8 kB / 1.238 GB, free: 1.957 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003003/1.199, allocations: 148 kB / 1.239 GB, free: 1.812 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003566/1.203, allocations: 1.702 MB / 1.24 GB, free: 32 kB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.642e-05/1.203, allocations: 7.984 kB / 1.24 GB, free: 24 kB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001725/1.203, allocations: 60.08 kB / 1.24 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.4e-05/1.203, allocations: 50.47 kB / 1.24 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003546/1.207, allocations: 1.485 MB / 1.242 GB, free: 14.42 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 preOpt removeSimpleEquations (simulation): time 0.01182/1.219, allocations: 7.632 MB / 1.249 GB, free: 6.238 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002826/1.221, allocations: 1.652 MB / 1.251 GB, free: 4.453 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001178/1.223, allocations: 0.5375 MB / 1.251 GB, free: 3.918 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001416/1.224, allocations: 0.8218 MB / 1.252 GB, free: 2.949 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/1.225, allocations: 0.5833 MB / 1.253 GB, free: 2.355 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001175/1.227, allocations: 123.2 kB / 1.253 GB, free: 2.234 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=84): time 4.037e-06/1.227, allocations: 4 kB / 1.253 GB, free: 2.23 MB / 0.7761 GB Notification: Performance of matching and sorting (n=84): time 0.004283/1.231, allocations: 1.656 MB / 1.254 GB, free: 0.543 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.338e-05/1.231, allocations: 153.5 kB / 1.255 GB, free: 372 kB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002325/1.233, allocations: 1.616 MB / 1.256 GB, free: 14.7 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0001195/1.233, allocations: 49.69 kB / 1.256 GB, free: 14.64 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008534/1.234, allocations: 0.9321 MB / 1.257 GB, free: 13.7 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002782/1.235, allocations: 295.8 kB / 1.257 GB, free: 13.41 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/1.235, allocations: 20 kB / 1.257 GB, free: 13.39 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0001408/1.235, allocations: 349.9 kB / 1.258 GB, free: 13.04 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/1.236, allocations: 470.4 kB / 1.258 GB, free: 12.59 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001266/1.237, allocations: 0.8274 MB / 1.259 GB, free: 11.6 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002252/1.239, allocations: 1.263 MB / 1.26 GB, free: 10.22 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.573e-06/1.239, allocations: 4 kB / 1.26 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003158/1.243, allocations: 1.473 MB / 1.262 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002576/1.243, allocations: 373.6 kB / 1.262 GB, free: 8.238 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/1.243, allocations: 11.98 kB / 1.262 GB, free: 8.227 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.818e-05/1.243, allocations: 12 kB / 1.262 GB, free: 8.215 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001146/1.244, allocations: 279.6 kB / 1.262 GB, free: 7.941 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.194e-05/1.244, allocations: 19.92 kB / 1.262 GB, free: 7.922 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001711/1.246, allocations: 156.4 kB / 1.263 GB, free: 7.77 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001021/1.246, allocations: 47.98 kB / 1.263 GB, free: 7.723 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/1.246, allocations: 4 kB / 1.263 GB, free: 7.719 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002556/1.249, allocations: 1.302 MB / 1.264 GB, free: 6.414 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.893e-05/1.249, allocations: 16.02 kB / 1.264 GB, free: 6.398 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/1.249, allocations: 16 kB / 1.264 GB, free: 6.383 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001082/1.25, allocations: 275.6 kB / 1.264 GB, free: 6.113 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.964e-05/1.25, allocations: 19.94 kB / 1.264 GB, free: 6.094 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001735/1.251, allocations: 164.4 kB / 1.264 GB, free: 5.934 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001006/1.252, allocations: 55.92 kB / 1.264 GB, free: 5.879 MB / 0.7917 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.00112/1.253, allocations: 0.5396 MB / 1.265 GB, free: 5.328 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/1.253, allocations: 189.7 kB / 1.265 GB, free: 5.141 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002737/1.256, allocations: 1.22 MB / 1.266 GB, free: 3.902 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.037e-05/1.256, allocations: 8 kB / 1.266 GB, free: 3.895 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.256, allocations: 3.938 kB / 1.266 GB, free: 3.891 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002238/1.258, allocations: 1.278 MB / 1.268 GB, free: 2.523 MB / 0.7917 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.00584/1.264, allocations: 2.983 MB / 1.27 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.178e-06/1.264, allocations: 4 kB / 1.27 GB, free: 15.42 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009924/1.265, allocations: 199.9 kB / 1.271 GB, free: 15.23 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002562/1.265, allocations: 48.81 kB / 1.271 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.965e-05/1.265, allocations: 23.98 kB / 1.271 GB, free: 15.15 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/1.267, allocations: 1.425 MB / 1.272 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.267, allocations: 0 / 1.272 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003902/1.271, allocations: 1.85 MB / 1.274 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009354/1.272, allocations: 354.7 kB / 1.274 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000405/1.272, allocations: 16 kB / 1.274 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001521/1.274, allocations: 155.8 kB / 1.274 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001571/1.274, allocations: 56.56 kB / 1.274 GB, free: 11.12 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.162e-05/1.274, allocations: 39.92 kB / 1.275 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00203/1.276, allocations: 1.085 MB / 1.276 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.91e-07/1.276, allocations: 4 kB / 1.276 GB, free: 9.965 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003583/1.279, allocations: 1.013 MB / 1.277 GB, free: 8.949 MB / 0.8073 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.005929/1.285, allocations: 2.946 MB / 1.279 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004433/1.29, allocations: 1.934 MB / 1.281 GB, free: 4.109 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 9.427e-06/1.29, allocations: 4.125 kB / 1.281 GB, free: 4.105 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001439/1.291, allocations: 0.6389 MB / 1.282 GB, free: 3.457 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004812/1.296, allocations: 0.7971 MB / 1.283 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02585/1.322, allocations: 12.01 MB / 1.294 GB, free: 5.836 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001468/1.324, allocations: 1.503 MB / 1.296 GB, free: 4.297 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002145/1.326, allocations: 434.8 kB / 1.296 GB, free: 3.867 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001203/1.327, allocations: 0.7883 MB / 1.297 GB, free: 3.078 MB / 0.823 GB Notification: Performance of SimCode: time 5.91e-07/1.327, allocations: 4 kB / 1.297 GB, free: 3.074 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6239/1.951, allocations: 49.64 MB / 1.346 GB, free: 1.898 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002629/1.951, allocations: 253 kB / 1.346 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.783/5.734, allocations: 0 / 1.346 GB, free: 1.566 MB / 0.8698 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)