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.717/1.717, allocations: 288.4 MB / 303.3 MB, free: 8.152 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.001079/0.001079, allocations: 192.5 kB / 372 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.495/1.495, allocations: 205.4 MB / 0.6307 GB, free: 9.996 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.0007895/0.0007894, allocations: 98.27 kB / 0.7441 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004003/0.0004004, allocations: 15.88 kB / 0.867 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.236/0.2364, allocations: 115.3 MB / 0.9796 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.7404/0.9769, allocations: 215.2 MB / 1.19 GB, free: 10.79 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.02681/1.004, allocations: 17.12 MB / 1.207 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003452/1.007, allocations: 72.78 kB / 1.207 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.003429/1.011, allocations: 0.91 MB / 1.207 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.008381/1.019, allocations: 2.5 MB / 1.21 GB, free: 10.55 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.008538/1.028, allocations: 2.856 MB / 1.213 GB, free: 8.715 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.007549/1.035, allocations: 5.595 MB / 1.218 GB, free: 5.406 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002475/1.038, allocations: 1.392 MB / 1.22 GB, free: 4.555 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005307/1.043, allocations: 2.133 MB / 1.222 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/1.046, allocations: 1.486 MB / 1.223 GB, free: 1.469 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0003021/1.046, allocations: 80 kB / 1.223 GB, free: 1.391 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005567/1.052, allocations: 2.226 MB / 1.225 GB, free: 15.16 MB / 0.7605 GB Notification: Performance of NFScalarize.scalarize: time 0.0007987/1.053, allocations: 0.6267 MB / 1.226 GB, free: 14.53 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.0007925/1.053, allocations: 468.5 kB / 1.226 GB, free: 14.07 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.005268/1.059, allocations: 3.094 MB / 1.229 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 9.318e-06/1.059, allocations: 0 / 1.229 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.855e-06/1.059, allocations: 0 / 1.229 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 7.078e-05/1.059, allocations: 4 kB / 1.229 GB, free: 10.96 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.005392/1.064, allocations: 2.492 MB / 1.232 GB, free: 8.402 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 4.561e-05/1.064, allocations: 8.031 kB / 1.232 GB, free: 8.395 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002591/1.064, allocations: 198.4 kB / 1.232 GB, free: 8.191 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004835/1.069, allocations: 0.8205 MB / 1.233 GB, free: 7.367 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003221/1.073, allocations: 1.584 MB / 1.234 GB, free: 5.734 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003833/1.073, allocations: 174.8 kB / 1.235 GB, free: 5.562 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/1.073, allocations: 140 kB / 1.235 GB, free: 5.426 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003369/1.077, allocations: 1.706 MB / 1.236 GB, free: 3.641 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.242e-05/1.077, allocations: 4 kB / 1.236 GB, free: 3.637 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001374/1.077, allocations: 55.95 kB / 1.236 GB, free: 3.582 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.212e-05/1.077, allocations: 58.45 kB / 1.236 GB, free: 3.523 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00334/1.08, allocations: 1.482 MB / 1.238 GB, free: 2.035 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.01093/1.091, allocations: 7.628 MB / 1.245 GB, free: 9.852 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002809/1.094, allocations: 1.652 MB / 1.247 GB, free: 8.066 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00111/1.095, allocations: 0.5362 MB / 1.247 GB, free: 7.531 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001382/1.096, allocations: 0.8141 MB / 1.248 GB, free: 6.57 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001263/1.098, allocations: 0.5829 MB / 1.249 GB, free: 5.973 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008183/1.099, allocations: 127.1 kB / 1.249 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=84): time 3.887e-06/1.099, allocations: 0 / 1.249 GB, free: 5.848 MB / 0.7761 GB Notification: Performance of matching and sorting (n=84): time 0.004005/1.103, allocations: 1.66 MB / 1.251 GB, free: 4.16 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.971e-05/1.103, allocations: 141.5 kB / 1.251 GB, free: 3.992 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002141/1.105, allocations: 1.624 MB / 1.252 GB, free: 2.32 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.9e-05/1.105, allocations: 45.7 kB / 1.252 GB, free: 2.27 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007831/1.106, allocations: 0.9361 MB / 1.253 GB, free: 1.324 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002647/1.106, allocations: 299.6 kB / 1.254 GB, free: 1.027 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.811e-05/1.106, allocations: 20 kB / 1.254 GB, free: 1.008 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.106, allocations: 349.9 kB / 1.254 GB, free: 0.6602 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/1.107, allocations: 470.3 kB / 1.254 GB, free: 204 kB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001294/1.109, allocations: 0.8275 MB / 1.255 GB, free: 15.21 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00121/1.11, allocations: 0.5902 MB / 1.256 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/1.11, allocations: 0 / 1.256 GB, free: 14.62 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002998/1.113, allocations: 1.481 MB / 1.257 GB, free: 13.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002878/1.113, allocations: 369.8 kB / 1.258 GB, free: 12.64 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.146e-05/1.113, allocations: 12 kB / 1.258 GB, free: 12.62 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.517e-05/1.113, allocations: 12 kB / 1.258 GB, free: 12.61 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001197/1.114, allocations: 279.6 kB / 1.258 GB, free: 12.34 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.185e-05/1.114, allocations: 19.92 kB / 1.258 GB, free: 12.32 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001537/1.116, allocations: 160.4 kB / 1.258 GB, free: 12.16 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.673e-05/1.116, allocations: 47.98 kB / 1.258 GB, free: 12.12 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 8.576e-06/1.116, allocations: 9.25 kB / 1.258 GB, free: 12.11 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002502/1.119, allocations: 1.302 MB / 1.259 GB, free: 10.81 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.52e-05/1.119, allocations: 12 kB / 1.259 GB, free: 10.8 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/1.119, allocations: 15.95 kB / 1.259 GB, free: 10.78 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001089/1.12, allocations: 279.7 kB / 1.26 GB, free: 10.51 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.616e-05/1.12, allocations: 23.92 kB / 1.26 GB, free: 10.48 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/1.121, allocations: 164.4 kB / 1.26 GB, free: 10.32 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.082e-05/1.121, allocations: 51.98 kB / 1.26 GB, free: 10.27 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.0009237/1.122, allocations: 0.5394 MB / 1.26 GB, free: 9.727 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/1.122, allocations: 189.6 kB / 1.261 GB, free: 9.539 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002739/1.125, allocations: 1.212 MB / 1.262 GB, free: 8.312 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.125, allocations: 8 kB / 1.262 GB, free: 8.305 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.842e-06/1.125, allocations: 0 / 1.262 GB, free: 8.305 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002212/1.127, allocations: 1.285 MB / 1.263 GB, free: 6.93 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.005197/1.133, allocations: 2.972 MB / 1.266 GB, free: 3.84 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/1.133, allocations: 4 kB / 1.266 GB, free: 3.836 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009869/1.134, allocations: 199.8 kB / 1.266 GB, free: 3.641 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002181/1.134, allocations: 44.81 kB / 1.266 GB, free: 3.594 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.719e-05/1.134, allocations: 23.98 kB / 1.266 GB, free: 3.57 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001263/1.135, allocations: 1.425 MB / 1.268 GB, free: 2.012 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/1.135, allocations: 4.031 kB / 1.268 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003551/1.139, allocations: 1.854 MB / 1.269 GB, free: 128 kB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006481/1.139, allocations: 350.9 kB / 1.27 GB, free: 15.76 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001812/1.14, allocations: 19.98 kB / 1.27 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001234/1.141, allocations: 155.8 kB / 1.27 GB, free: 15.59 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/1.141, allocations: 64.48 kB / 1.27 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.703e-05/1.141, allocations: 27.98 kB / 1.27 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.001494/1.143, allocations: 1.089 MB / 1.271 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.7e-07/1.143, allocations: 0 / 1.271 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.002631/1.145, allocations: 1.013 MB / 1.272 GB, free: 13.37 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.005279/1.151, allocations: 2.937 MB / 1.275 GB, free: 10.51 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.003877/1.154, allocations: 1.938 MB / 1.277 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.42e-06/1.154, allocations: 0 / 1.277 GB, free: 8.539 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.001258/1.156, allocations: 0.6353 MB / 1.277 GB, free: 7.891 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003732/1.159, allocations: 0.8167 MB / 1.278 GB, free: 7.074 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02209/1.182, allocations: 12.02 MB / 1.29 GB, free: 10.24 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/1.183, allocations: 1.499 MB / 1.291 GB, free: 8.707 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.002003/1.185, allocations: 442.8 kB / 1.292 GB, free: 8.27 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001065/1.186, allocations: 0.7883 MB / 1.293 GB, free: 7.48 MB / 0.823 GB Notification: Performance of SimCode: time 1.042e-06/1.186, allocations: 0 / 1.293 GB, free: 7.48 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08134/1.267, allocations: 49.02 MB / 1.34 GB, free: 6.934 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001976/1.267, allocations: 266.3 kB / 1.341 GB, free: 6.582 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.802/5.069, allocations: 0 / 1.341 GB, free: 6.582 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)