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 1.697/1.697, allocations: 287.4 MB / 302.5 MB, free: 8.266 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.001177/0.001177, allocations: 173.9 kB / 371.1 MB, free: 10.81 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.618/1.618, allocations: 205.4 MB / 0.6298 GB, free: 10.53 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.0008877/0.0008878, allocations: 109.6 kB / 0.7431 GB, free: 6.512 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004104/0.0004106, allocations: 17.08 kB / 0.8662 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2475/0.2479, allocations: 115.3 MB / 0.9787 GB, free: 28.07 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7841/1.032, allocations: 215.2 MB / 1.189 GB, free: 11.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02851/1.061, allocations: 17.12 MB / 1.206 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00402/1.065, allocations: 75 kB / 1.206 GB, free: 13.99 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003545/1.068, allocations: 0.8958 MB / 1.207 GB, free: 13.28 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.008604/1.077, allocations: 2.519 MB / 1.209 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.009067/1.086, allocations: 2.859 MB / 1.212 GB, free: 9.496 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.00902/1.095, allocations: 5.646 MB / 1.217 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00292/1.098, allocations: 1.569 MB / 1.219 GB, free: 5.191 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00569/1.104, allocations: 2.139 MB / 1.221 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003112/1.107, allocations: 1.482 MB / 1.222 GB, free: 2.195 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0004105/1.107, allocations: 84 kB / 1.222 GB, free: 2.113 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00604/1.113, allocations: 2.23 MB / 1.225 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.001005/1.114, allocations: 0.6228 MB / 1.225 GB, free: 15.25 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0009807/1.115, allocations: 472.5 kB / 1.226 GB, free: 14.79 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005204/1.121, allocations: 3.09 MB / 1.229 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/1.121, allocations: 0 / 1.229 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.284e-06/1.121, allocations: 0 / 1.229 GB, free: 11.69 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 4.487e-05/1.121, allocations: 0 / 1.229 GB, free: 11.69 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.004704/1.125, allocations: 2.476 MB / 1.231 GB, free: 9.145 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.391e-05/1.125, allocations: 8.031 kB / 1.231 GB, free: 9.137 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002782/1.126, allocations: 198.4 kB / 1.231 GB, free: 8.934 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004559/1.13, allocations: 0.8127 MB / 1.232 GB, free: 8.117 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003372/1.134, allocations: 1.653 MB / 1.234 GB, free: 6.414 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003744/1.134, allocations: 174.8 kB / 1.234 GB, free: 6.242 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002349/1.134, allocations: 148 kB / 1.234 GB, free: 6.098 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003217/1.138, allocations: 1.702 MB / 1.236 GB, free: 4.316 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.527e-05/1.138, allocations: 3.938 kB / 1.236 GB, free: 4.312 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/1.138, allocations: 52 kB / 1.236 GB, free: 4.262 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.946e-05/1.138, allocations: 54.5 kB / 1.236 GB, free: 4.207 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003333/1.141, allocations: 1.493 MB / 1.237 GB, free: 2.707 MB / 0.7605 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.01124/1.152, allocations: 7.632 MB / 1.245 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002799/1.155, allocations: 1.652 MB / 1.246 GB, free: 8.734 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001123/1.156, allocations: 0.5392 MB / 1.247 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001356/1.158, allocations: 0.8142 MB / 1.248 GB, free: 7.234 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001255/1.159, allocations: 0.579 MB / 1.248 GB, free: 6.645 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001006/1.16, allocations: 123.2 kB / 1.248 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=84): time 3.196e-06/1.16, allocations: 0 / 1.248 GB, free: 6.523 MB / 0.7761 GB Notification: Performance of matching and sorting (n=84): time 0.004058/1.164, allocations: 1.668 MB / 1.25 GB, free: 4.824 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.152e-05/1.164, allocations: 141.5 kB / 1.25 GB, free: 4.656 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00219/1.166, allocations: 1.62 MB / 1.252 GB, free: 2.988 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 8.12e-05/1.167, allocations: 45.7 kB / 1.252 GB, free: 2.938 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008281/1.167, allocations: 0.9321 MB / 1.253 GB, free: 1.996 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002603/1.168, allocations: 291.8 kB / 1.253 GB, free: 1.707 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.461e-05/1.168, allocations: 24 kB / 1.253 GB, free: 1.684 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.168, allocations: 353.9 kB / 1.253 GB, free: 1.332 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001035/1.169, allocations: 466.3 kB / 1.254 GB, free: 0.8789 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001314/1.17, allocations: 0.8352 MB / 1.255 GB, free: 15.89 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002291/1.173, allocations: 1.255 MB / 1.256 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/1.173, allocations: 4 kB / 1.256 GB, free: 14.51 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002964/1.176, allocations: 1.481 MB / 1.257 GB, free: 13.02 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002737/1.176, allocations: 369.7 kB / 1.258 GB, free: 12.53 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/1.176, allocations: 8 kB / 1.258 GB, free: 12.52 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.277e-05/1.176, allocations: 19.94 kB / 1.258 GB, free: 12.5 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.177, allocations: 275.6 kB / 1.258 GB, free: 12.23 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.569e-05/1.177, allocations: 27.92 kB / 1.258 GB, free: 12.2 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/1.179, allocations: 156.4 kB / 1.258 GB, free: 12.05 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/1.179, allocations: 55.98 kB / 1.258 GB, free: 12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/1.179, allocations: 5.406 kB / 1.258 GB, free: 11.99 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002668/1.181, allocations: 1.302 MB / 1.259 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.55e-05/1.182, allocations: 8 kB / 1.259 GB, free: 10.68 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/1.182, allocations: 16 kB / 1.259 GB, free: 10.66 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001075/1.183, allocations: 275.8 kB / 1.26 GB, free: 10.39 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.203e-05/1.183, allocations: 19.92 kB / 1.26 GB, free: 10.38 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/1.184, allocations: 164.4 kB / 1.26 GB, free: 10.21 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001046/1.184, allocations: 47.94 kB / 1.26 GB, free: 10.17 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.001085/1.186, allocations: 0.5475 MB / 1.26 GB, free: 9.609 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/1.186, allocations: 177.8 kB / 1.261 GB, free: 9.434 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002919/1.189, allocations: 1.22 MB / 1.262 GB, free: 8.199 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.979e-06/1.189, allocations: 8 kB / 1.262 GB, free: 8.191 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.214e-05/1.189, allocations: 4 kB / 1.262 GB, free: 8.188 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002279/1.191, allocations: 1.281 MB / 1.263 GB, free: 6.812 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.006431/1.198, allocations: 2.975 MB / 1.266 GB, free: 3.723 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.538e-06/1.198, allocations: 4 kB / 1.266 GB, free: 3.719 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001003/1.199, allocations: 207.8 kB / 1.266 GB, free: 3.516 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002572/1.199, allocations: 40.83 kB / 1.266 GB, free: 3.473 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-05/1.199, allocations: 31.98 kB / 1.266 GB, free: 3.441 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/1.2, allocations: 1.429 MB / 1.268 GB, free: 1.875 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/1.2, allocations: 4.062 kB / 1.268 GB, free: 1.871 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003841/1.204, allocations: 1.847 MB / 1.269 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009701/1.205, allocations: 346.7 kB / 1.27 GB, free: 15.63 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000424/1.206, allocations: 23.98 kB / 1.27 GB, free: 15.61 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001487/1.207, allocations: 151.8 kB / 1.27 GB, free: 15.46 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/1.207, allocations: 64.5 kB / 1.27 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.538e-05/1.207, allocations: 35.98 kB / 1.27 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.00215/1.21, allocations: 1.089 MB / 1.271 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.2e-07/1.21, allocations: 0 / 1.271 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.003527/1.213, allocations: 1.009 MB / 1.272 GB, free: 13.24 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.005814/1.219, allocations: 2.941 MB / 1.275 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.004337/1.223, allocations: 1.938 MB / 1.277 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/1.223, allocations: 0 / 1.277 GB, free: 8.43 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001438/1.225, allocations: 0.6319 MB / 1.277 GB, free: 7.789 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004923/1.23, allocations: 0.8169 MB / 1.278 GB, free: 6.969 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02927/1.259, allocations: 12 MB / 1.29 GB, free: 10.16 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001645/1.261, allocations: 1.503 MB / 1.291 GB, free: 8.617 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002455/1.263, allocations: 442.8 kB / 1.292 GB, free: 8.18 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001407/1.265, allocations: 0.7921 MB / 1.293 GB, free: 7.387 MB / 0.823 GB Notification: Performance of SimCode: time 1.223e-06/1.265, allocations: 0 / 1.293 GB, free: 7.387 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3262/1.591, allocations: 49.15 MB / 1.341 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002399/1.591, allocations: 249.6 kB / 1.341 GB, free: 6.387 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.025/5.616, allocations: 0 / 1.341 GB, free: 6.387 MB / 0.8698 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)