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.38/1.38, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.001021/0.001021, allocations: 180.6 kB / 325.8 MB, free: 2.707 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.593/1.593, allocations: 205 MB / 0.576 GB, free: 21.02 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.0007332/0.0007331, allocations: 78.58 kB / 0.6797 GB, free: 14.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002895/0.0002895, allocations: 10.66 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1882/0.1885, allocations: 105.4 MB / 0.8962 GB, free: 68.11 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.5996/0.7882, allocations: 233.8 MB / 1.125 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02327/0.8115, allocations: 18.88 MB / 1.143 GB, free: 452 kB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003668/0.8152, allocations: 78.12 kB / 1.143 GB, free: 452 kB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004232/0.8195, allocations: 1.183 MB / 1.144 GB, free: 408 kB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.008876/0.8284, allocations: 3.238 MB / 1.147 GB, free: 236 kB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.009352/0.8377, allocations: 3.319 MB / 1.151 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.008291/0.846, allocations: 6.638 MB / 1.157 GB, free: 14.55 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002934/0.849, allocations: 1.589 MB / 1.159 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00537/0.8544, allocations: 2.318 MB / 1.161 GB, free: 13.11 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003533/0.858, allocations: 1.603 MB / 1.162 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 0.000435/0.8584, allocations: 81.84 kB / 1.163 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00803/0.8665, allocations: 3.86 MB / 1.166 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 0.001321/0.8678, allocations: 0.6479 MB / 1.167 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 0.002096/0.8699, allocations: 1.079 MB / 1.168 GB, free: 9.711 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.008379/0.8783, allocations: 4.479 MB / 1.172 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.8784, allocations: 3.344 kB / 1.172 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8784, allocations: 0 / 1.172 GB, free: 7.121 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.027e-05/0.8785, allocations: 0 / 1.172 GB, free: 7.121 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.005465/0.8839, allocations: 2.484 MB / 1.175 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.884, allocations: 9.844 kB / 1.175 GB, free: 5.316 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003855/0.8844, allocations: 196.9 kB / 1.175 GB, free: 5.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004673/0.8891, allocations: 0.8038 MB / 1.176 GB, free: 4.809 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003493/0.8926, allocations: 1.649 MB / 1.177 GB, free: 3.656 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003957/0.893, allocations: 184.8 kB / 1.178 GB, free: 3.578 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000319/0.8933, allocations: 149 kB / 1.178 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003413/0.8968, allocations: 1.714 MB / 1.179 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.575e-05/0.8968, allocations: 3.531 kB / 1.179 GB, free: 2.473 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001614/0.897, allocations: 55.53 kB / 1.179 GB, free: 2.43 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.475e-05/0.8971, allocations: 53.2 kB / 1.179 GB, free: 2.422 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003517/0.9006, allocations: 1.5 MB / 1.181 GB, free: 1.117 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.01219/0.9128, allocations: 7.65 MB / 1.188 GB, free: 9.055 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00283/0.9157, allocations: 1.643 MB / 1.19 GB, free: 7.277 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0011/0.9168, allocations: 0.5399 MB / 1.191 GB, free: 6.738 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001337/0.9181, allocations: 0.8159 MB / 1.191 GB, free: 5.781 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001276/0.9194, allocations: 0.5829 MB / 1.192 GB, free: 5.184 MB / 0.7292 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009045/0.9204, allocations: 123.2 kB / 1.192 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=84): time 4.137e-06/0.9204, allocations: 0 / 1.192 GB, free: 5.062 MB / 0.7292 GB Notification: Performance of matching and sorting (n=84): time 0.004297/0.9247, allocations: 1.658 MB / 1.194 GB, free: 3.383 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.664e-05/0.9248, allocations: 149.5 kB / 1.194 GB, free: 3.207 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002337/0.9271, allocations: 1.64 MB / 1.195 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 0.0001245/0.9273, allocations: 49.7 kB / 1.195 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007791/0.9281, allocations: 0.9269 MB / 1.196 GB, free: 0.5352 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002523/0.9283, allocations: 301.3 kB / 1.197 GB, free: 248 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001342/0.9285, allocations: 101.7 kB / 1.197 GB, free: 140 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.000132/0.9286, allocations: 345.9 kB / 1.197 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/0.9297, allocations: 490.3 kB / 1.198 GB, free: 15.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001336/0.931, allocations: 0.8464 MB / 1.198 GB, free: 14.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/0.9335, allocations: 1.292 MB / 1.2 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.824e-06/0.9335, allocations: 4 kB / 1.2 GB, free: 12.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003269/0.9368, allocations: 1.513 MB / 1.201 GB, free: 11.45 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002942/0.9371, allocations: 372.3 kB / 1.201 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.9372, allocations: 8 kB / 1.201 GB, free: 10.96 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.878e-05/0.9372, allocations: 19.94 kB / 1.202 GB, free: 10.94 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001187/0.9384, allocations: 282 kB / 1.202 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.968e-05/0.9384, allocations: 15 kB / 1.202 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/0.9402, allocations: 164.4 kB / 1.202 GB, free: 10.51 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/0.9403, allocations: 55.98 kB / 1.202 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.006e-05/0.9403, allocations: 4 kB / 1.202 GB, free: 10.45 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002688/0.943, allocations: 1.303 MB / 1.203 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.764e-05/0.943, allocations: 14.25 kB / 1.203 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.912e-05/0.9431, allocations: 12 kB / 1.203 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001129/0.9442, allocations: 278.6 kB / 1.204 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.959e-05/0.9442, allocations: 24.77 kB / 1.204 GB, free: 8.891 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001724/0.946, allocations: 164.3 kB / 1.204 GB, free: 8.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.365e-05/0.9461, allocations: 55.98 kB / 1.204 GB, free: 8.676 MB / 0.7448 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 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008975/0.947, allocations: 0.5353 MB / 1.204 GB, free: 8.145 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002745/0.9472, allocations: 181.7 kB / 1.204 GB, free: 7.965 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/0.95, allocations: 1.223 MB / 1.206 GB, free: 6.73 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.798e-06/0.95, allocations: 12 kB / 1.206 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/0.95, allocations: 0 / 1.206 GB, free: 6.719 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002277/0.9523, allocations: 1.284 MB / 1.207 GB, free: 5.348 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 postOpt removeSimpleEquations (simulation): time 0.005453/0.9578, allocations: 2.962 MB / 1.21 GB, free: 2.312 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.9578, allocations: 4 kB / 1.21 GB, free: 2.309 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009821/0.9588, allocations: 197.2 kB / 1.21 GB, free: 2.125 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002392/0.959, allocations: 52.81 kB / 1.21 GB, free: 2.07 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.409e-05/0.9591, allocations: 23.98 kB / 1.21 GB, free: 2.047 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00125/0.9604, allocations: 1.428 MB / 1.212 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.9604, allocations: 0 / 1.212 GB, free: 0.4922 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003659/0.9641, allocations: 1.855 MB / 1.213 GB, free: 14.61 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00068/0.9648, allocations: 350.7 kB / 1.214 GB, free: 14.25 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002092/0.965, allocations: 16 kB / 1.214 GB, free: 14.23 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001195/0.9662, allocations: 159.8 kB / 1.214 GB, free: 14.08 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000141/0.9663, allocations: 64.5 kB / 1.214 GB, free: 14.02 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.864e-05/0.9664, allocations: 31.98 kB / 1.214 GB, free: 13.98 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.001483/0.9679, allocations: 1.114 MB / 1.215 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9679, allocations: 0 / 1.215 GB, free: 12.85 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.002631/0.9705, allocations: 1.008 MB / 1.216 GB, free: 11.84 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.00547/0.976, allocations: 2.941 MB / 1.219 GB, free: 9.016 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.004262/0.9803, allocations: 1.948 MB / 1.221 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 8.857e-06/0.9804, allocations: 0.5 kB / 1.221 GB, free: 7.039 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.001509/0.9819, allocations: 0.6434 MB / 1.221 GB, free: 6.387 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004447/0.9864, allocations: 0.8051 MB / 1.222 GB, free: 5.582 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02794/1.014, allocations: 15.17 MB / 1.237 GB, free: 5.438 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001001/1.015, allocations: 1.503 MB / 1.238 GB, free: 3.898 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.001916/1.017, allocations: 462.6 kB / 1.239 GB, free: 3.441 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009984/1.018, allocations: 0.7883 MB / 1.24 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of SimCode: time 4.31e-07/1.018, allocations: 0 / 1.24 GB, free: 2.652 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4051/1.423, allocations: 46.11 MB / 1.285 GB, free: 4.988 MB / 0.823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003847/1.424, allocations: 273.4 kB / 1.285 GB, free: 4.609 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.668/5.091, allocations: 8.062 kB / 1.285 GB, free: 4.602 MB / 0.823 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)