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.742/1.742, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001417/0.001417, allocations: 181 kB / 371.8 MB, free: 10.26 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.739/1.739, allocations: 205.4 MB / 0.6305 GB, free: 10 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.0009023/0.0009023, allocations: 88.3 kB / 0.7439 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004125/0.0004129, allocations: 12.66 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2627/0.2631, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.814/1.077, allocations: 193.9 MB / 1.169 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0292/1.106, allocations: 17.15 MB / 1.186 GB, free: 13.14 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004613/1.111, allocations: 70.56 kB / 1.186 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.005411/1.116, allocations: 1.182 MB / 1.187 GB, free: 12.15 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.01264/1.129, allocations: 3.234 MB / 1.19 GB, free: 9.555 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.01071/1.14, allocations: 3.038 MB / 1.193 GB, free: 7.527 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.007416/1.147, allocations: 2.939 MB / 1.196 GB, free: 5.613 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003036/1.15, allocations: 1.413 MB / 1.197 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00583/1.156, allocations: 1.923 MB / 1.199 GB, free: 3.539 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00291/1.159, allocations: 1.056 MB / 1.2 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 0.0007276/1.16, allocations: 80.38 kB / 1.2 GB, free: 2.914 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006355/1.166, allocations: 1.89 MB / 1.202 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.00147/1.168, allocations: 0.5721 MB / 1.203 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.001679/1.169, allocations: 467.4 kB / 1.203 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.006902/1.176, allocations: 2.922 MB / 1.206 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 6.873e-06/1.176, allocations: 0 / 1.206 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.32e-06/1.176, allocations: 0 / 1.206 GB, free: 15.48 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0001456/1.177, allocations: 0 / 1.206 GB, free: 15.48 MB / 0.7448 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.00771/1.184, allocations: 2.458 MB / 1.208 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.196e-05/1.184, allocations: 10.34 kB / 1.208 GB, free: 13.67 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006399/1.185, allocations: 193.2 kB / 1.208 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005167/1.19, allocations: 0.8203 MB / 1.209 GB, free: 12.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004151/1.194, allocations: 1.616 MB / 1.211 GB, free: 11.25 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004002/1.195, allocations: 178.8 kB / 1.211 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/1.195, allocations: 140 kB / 1.211 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00342/1.199, allocations: 1.687 MB / 1.213 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.053e-05/1.199, allocations: 0 / 1.213 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/1.199, allocations: 55.95 kB / 1.213 GB, free: 9.117 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.733e-05/1.199, allocations: 46.53 kB / 1.213 GB, free: 9.07 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003406/1.202, allocations: 1.481 MB / 1.214 GB, free: 7.582 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.01183/1.214, allocations: 7.686 MB / 1.222 GB, free: 15.32 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/1.217, allocations: 1.656 MB / 1.223 GB, free: 13.53 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001212/1.218, allocations: 0.6323 MB / 1.224 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001279/1.22, allocations: 0.5712 MB / 1.225 GB, free: 12.2 MB / 0.7605 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00106/1.221, allocations: 127.1 kB / 1.225 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=84): time 2.665e-06/1.221, allocations: 0 / 1.225 GB, free: 12.08 MB / 0.7605 GB Notification: Performance of matching and sorting (n=84): time 0.004289/1.225, allocations: 1.665 MB / 1.226 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.862e-05/1.225, allocations: 137.5 kB / 1.227 GB, free: 10.22 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002269/1.227, allocations: 1.612 MB / 1.228 GB, free: 8.559 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 9.873e-05/1.227, allocations: 49.7 kB / 1.228 GB, free: 8.504 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009542/1.228, allocations: 0.9205 MB / 1.229 GB, free: 7.574 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002989/1.229, allocations: 307.7 kB / 1.229 GB, free: 7.27 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.787e-05/1.229, allocations: 20 kB / 1.229 GB, free: 7.25 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001918/1.229, allocations: 345.9 kB / 1.23 GB, free: 6.906 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001068/1.23, allocations: 470.3 kB / 1.23 GB, free: 6.445 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/1.231, allocations: 0.8157 MB / 1.231 GB, free: 5.48 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001243/1.233, allocations: 0.5707 MB / 1.232 GB, free: 4.906 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.233, allocations: 4 kB / 1.232 GB, free: 4.902 MB / 0.7605 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003167/1.236, allocations: 1.469 MB / 1.233 GB, free: 3.414 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 0.001713/1.238, allocations: 3.311 MB / 1.236 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.8e-05/1.238, allocations: 15.98 kB / 1.236 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.868e-05/1.238, allocations: 16 kB / 1.236 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/1.239, allocations: 275.6 kB / 1.236 GB, free: 15.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.479e-05/1.239, allocations: 19.92 kB / 1.236 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001818/1.241, allocations: 169.4 kB / 1.237 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001113/1.241, allocations: 51.98 kB / 1.237 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/1.241, allocations: 5.25 kB / 1.237 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002701/1.244, allocations: 1.29 MB / 1.238 GB, free: 14.01 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.958e-05/1.244, allocations: 12 kB / 1.238 GB, free: 14 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.244, allocations: 12 kB / 1.238 GB, free: 13.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/1.245, allocations: 287.9 kB / 1.238 GB, free: 13.71 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.093e-05/1.245, allocations: 23.92 kB / 1.238 GB, free: 13.68 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001672/1.246, allocations: 156.5 kB / 1.238 GB, free: 13.53 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.923e-05/1.247, allocations: 51.98 kB / 1.238 GB, free: 13.48 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.001162/1.248, allocations: 0.5392 MB / 1.239 GB, free: 12.93 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004045/1.248, allocations: 189.7 kB / 1.239 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003016/1.251, allocations: 1.204 MB / 1.24 GB, free: 11.53 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.238e-05/1.251, allocations: 12 kB / 1.24 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.388e-05/1.251, allocations: 7.938 kB / 1.24 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002353/1.254, allocations: 1.27 MB / 1.242 GB, free: 10.15 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.0066/1.26, allocations: 3.026 MB / 1.245 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/1.26, allocations: 128 / 1.245 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009738/1.261, allocations: 203.7 kB / 1.245 GB, free: 6.793 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002439/1.261, allocations: 44.83 kB / 1.245 GB, free: 6.746 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.078e-05/1.262, allocations: 23.98 kB / 1.245 GB, free: 6.723 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001386/1.263, allocations: 1.44 MB / 1.246 GB, free: 5.152 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/1.263, allocations: 4 kB / 1.246 GB, free: 5.148 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004085/1.267, allocations: 1.892 MB / 1.248 GB, free: 3.184 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001147/1.268, allocations: 354.6 kB / 1.248 GB, free: 2.816 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004845/1.269, allocations: 20 kB / 1.248 GB, free: 2.797 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001623/1.27, allocations: 156.1 kB / 1.249 GB, free: 2.645 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001516/1.271, allocations: 60.5 kB / 1.249 GB, free: 2.586 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.817e-05/1.271, allocations: 31.98 kB / 1.249 GB, free: 2.555 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.001858/1.272, allocations: 1.082 MB / 1.25 GB, free: 1.449 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1.8e-07/1.272, allocations: 4 kB / 1.25 GB, free: 1.445 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.003489/1.276, allocations: 1.017 MB / 1.251 GB, free: 436 kB / 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.005958/1.282, allocations: 3.246 MB / 1.254 GB, free: 13.23 MB / 0.7917 GB Notification: Performance of simCode: created initialization part: time 0.004323/1.286, allocations: 1.922 MB / 1.256 GB, free: 11.28 MB / 0.7917 GB Notification: Performance of simCode: created event and clocks part: time 8.826e-06/1.286, allocations: 4 kB / 1.256 GB, free: 11.27 MB / 0.7917 GB Notification: Performance of simCode: created simulation system equations: time 0.001453/1.288, allocations: 0.6283 MB / 1.256 GB, free: 10.63 MB / 0.7917 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004485/1.292, allocations: 0.8032 MB / 1.257 GB, free: 9.832 MB / 0.7917 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01613/1.308, allocations: 11.19 MB / 1.268 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00173/1.31, allocations: 1.534 MB / 1.27 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.002689/1.313, allocations: 458.7 kB / 1.27 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001429/1.314, allocations: 0.7961 MB / 1.271 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of SimCode: time 1.092e-06/1.314, allocations: 0 / 1.271 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09365/1.408, allocations: 47.81 MB / 1.318 GB, free: 12.09 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002429/1.408, allocations: 253.1 kB / 1.318 GB, free: 11.76 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.121/5.53, allocations: 3.938 kB / 1.318 GB, free: 11.75 MB / 0.8542 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)