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 2.795/2.795, allocations: 287.5 MB / 302.4 MB, free: 8.207 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.001436/0.001436, allocations: 178.3 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 0.6297 GB, free: 10.58 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.001327/0.001327, allocations: 93.22 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006332/0.0006334, allocations: 14.14 kB / 0.8659 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2068/0.2075, allocations: 115.3 MB / 0.9784 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9616/1.169, allocations: 215.2 MB / 1.189 GB, free: 11.72 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.03928/1.208, allocations: 17.13 MB / 1.205 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003887/1.212, allocations: 74.78 kB / 1.205 GB, free: 14.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.004929/1.217, allocations: 0.8923 MB / 1.206 GB, free: 13.41 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.01104/1.228, allocations: 2.517 MB / 1.209 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.01268/1.241, allocations: 2.85 MB / 1.212 GB, free: 9.641 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.01062/1.252, allocations: 5.596 MB / 1.217 GB, free: 6.328 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003649/1.255, allocations: 1.387 MB / 1.218 GB, free: 5.488 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007514/1.263, allocations: 2.131 MB / 1.22 GB, free: 4.129 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004286/1.267, allocations: 1.498 MB / 1.222 GB, free: 2.625 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0007302/1.268, allocations: 80 kB / 1.222 GB, free: 2.547 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008801/1.277, allocations: 2.226 MB / 1.224 GB, free: 324 kB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.001713/1.279, allocations: 0.6267 MB / 1.225 GB, free: 15.69 MB / 0.7605 GB Notification: Performance of NFVerifyModel.verify: time 0.00127/1.28, allocations: 472.5 kB / 1.225 GB, free: 15.22 MB / 0.7605 GB Notification: Performance of NFConvertDAE.convert: time 0.007432/1.287, allocations: 3.086 MB / 1.228 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of FrontEnd - DAE generated: time 7.174e-06/1.288, allocations: 3.938 kB / 1.228 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.986e-06/1.288, allocations: 4 kB / 1.228 GB, free: 12.12 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0001044/1.288, allocations: 0 / 1.228 GB, free: 12.12 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.007966/1.296, allocations: 2.5 MB / 1.231 GB, free: 9.551 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/1.296, allocations: 12.03 kB / 1.231 GB, free: 9.539 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006779/1.296, allocations: 198.4 kB / 1.231 GB, free: 9.336 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008106/1.305, allocations: 0.8128 MB / 1.232 GB, free: 8.52 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005625/1.31, allocations: 1.584 MB / 1.233 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000724/1.311, allocations: 170.8 kB / 1.233 GB, free: 6.719 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005287/1.312, allocations: 144 kB / 1.234 GB, free: 6.578 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006103/1.318, allocations: 1.698 MB / 1.235 GB, free: 4.801 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.474e-05/1.318, allocations: 3.953 kB / 1.235 GB, free: 4.797 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002397/1.318, allocations: 63.97 kB / 1.235 GB, free: 4.734 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.535e-05/1.318, allocations: 46.53 kB / 1.235 GB, free: 4.688 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006581/1.325, allocations: 1.493 MB / 1.237 GB, free: 3.188 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.01924/1.344, allocations: 7.62 MB / 1.244 GB, free: 11.01 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005455/1.35, allocations: 1.659 MB / 1.246 GB, free: 9.215 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002302/1.352, allocations: 0.5315 MB / 1.246 GB, free: 8.684 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002274/1.354, allocations: 0.8108 MB / 1.247 GB, free: 7.727 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002274/1.357, allocations: 0.5906 MB / 1.248 GB, free: 7.121 MB / 0.7761 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001216/1.358, allocations: 131.1 kB / 1.248 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=84): time 3.717e-06/1.358, allocations: 0 / 1.248 GB, free: 6.992 MB / 0.7761 GB Notification: Performance of matching and sorting (n=84): time 0.007304/1.365, allocations: 1.66 MB / 1.249 GB, free: 5.305 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001262/1.365, allocations: 137.5 kB / 1.25 GB, free: 5.141 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003692/1.369, allocations: 1.624 MB / 1.251 GB, free: 3.469 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 0.0003136/1.369, allocations: 45.7 kB / 1.251 GB, free: 3.418 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.001292/1.371, allocations: 0.9283 MB / 1.252 GB, free: 2.48 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005269/1.371, allocations: 299.6 kB / 1.252 GB, free: 2.184 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.845e-05/1.371, allocations: 20 kB / 1.252 GB, free: 2.164 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001807/1.372, allocations: 349.9 kB / 1.253 GB, free: 1.816 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001946/1.373, allocations: 470.3 kB / 1.253 GB, free: 1.355 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002251/1.376, allocations: 0.8313 MB / 1.254 GB, free: 376 kB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/1.378, allocations: 0.5862 MB / 1.255 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/1.378, allocations: 0 / 1.255 GB, free: 15.78 MB / 0.7917 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005289/1.383, allocations: 1.493 MB / 1.256 GB, free: 14.27 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003205/1.384, allocations: 361.8 kB / 1.256 GB, free: 13.79 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.389e-05/1.384, allocations: 15.98 kB / 1.256 GB, free: 13.78 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.753e-05/1.384, allocations: 16 kB / 1.256 GB, free: 13.76 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002285/1.386, allocations: 279.6 kB / 1.257 GB, free: 13.49 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.077e-05/1.386, allocations: 15.94 kB / 1.257 GB, free: 13.47 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002773/1.389, allocations: 164.4 kB / 1.257 GB, free: 13.31 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001905/1.389, allocations: 51.98 kB / 1.257 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.27e-05/1.389, allocations: 4 kB / 1.257 GB, free: 13.26 MB / 0.7917 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004786/1.394, allocations: 1.306 MB / 1.258 GB, free: 11.95 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/1.394, allocations: 8 kB / 1.258 GB, free: 11.94 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.622e-05/1.394, allocations: 19.94 kB / 1.258 GB, free: 11.92 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002284/1.396, allocations: 275.8 kB / 1.258 GB, free: 11.65 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.201e-05/1.396, allocations: 19.92 kB / 1.258 GB, free: 11.63 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002728/1.399, allocations: 160.5 kB / 1.259 GB, free: 11.47 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001778/1.399, allocations: 51.98 kB / 1.259 GB, free: 11.42 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.001351/1.401, allocations: 0.5415 MB / 1.259 GB, free: 10.87 MB / 0.7917 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004593/1.401, allocations: 185.6 kB / 1.259 GB, free: 10.69 MB / 0.7917 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004725/1.406, allocations: 1.212 MB / 1.261 GB, free: 9.465 MB / 0.7917 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.51e-05/1.406, allocations: 8 kB / 1.261 GB, free: 9.457 MB / 0.7917 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.146e-05/1.406, allocations: 4 kB / 1.261 GB, free: 9.453 MB / 0.7917 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004098/1.41, allocations: 1.281 MB / 1.262 GB, free: 8.078 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.009284/1.419, allocations: 2.968 MB / 1.265 GB, free: 4.996 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.077e-05/1.419, allocations: 4 kB / 1.265 GB, free: 4.992 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001897/1.421, allocations: 199.9 kB / 1.265 GB, free: 4.797 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003264/1.422, allocations: 48.77 kB / 1.265 GB, free: 4.746 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000104/1.422, allocations: 31.98 kB / 1.265 GB, free: 4.715 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001886/1.424, allocations: 1.425 MB / 1.266 GB, free: 3.156 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/1.424, allocations: 4 kB / 1.266 GB, free: 3.152 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006605/1.43, allocations: 1.854 MB / 1.268 GB, free: 1.266 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001163/1.432, allocations: 342.7 kB / 1.269 GB, free: 0.9102 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003435/1.432, allocations: 23.98 kB / 1.269 GB, free: 0.8867 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00228/1.434, allocations: 155.7 kB / 1.269 GB, free: 0.7344 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/1.434, allocations: 60.56 kB / 1.269 GB, free: 0.6758 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/1.435, allocations: 35.98 kB / 1.269 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.002468/1.437, allocations: 1.089 MB / 1.27 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4.5e-07/1.437, allocations: 0 / 1.27 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.004374/1.441, allocations: 1.009 MB / 1.271 GB, free: 14.52 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.009072/1.451, allocations: 2.931 MB / 1.274 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.006883/1.458, allocations: 1.942 MB / 1.276 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/1.458, allocations: 0 / 1.276 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.002279/1.46, allocations: 0.6279 MB / 1.276 GB, free: 9.07 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006777/1.467, allocations: 0.8209 MB / 1.277 GB, free: 8.246 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03921/1.506, allocations: 12.01 MB / 1.289 GB, free: 11.41 MB / 0.823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001604/1.508, allocations: 1.499 MB / 1.29 GB, free: 9.875 MB / 0.823 GB Notification: Performance of simCode: alias equations: time 0.003233/1.511, allocations: 458.7 kB / 1.291 GB, free: 9.422 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001755/1.513, allocations: 0.7843 MB / 1.291 GB, free: 8.637 MB / 0.823 GB Notification: Performance of SimCode: time 1.022e-06/1.513, allocations: 0 / 1.291 GB, free: 8.637 MB / 0.823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1652/1.678, allocations: 48.99 MB / 1.339 GB, free: 8.125 MB / 0.8698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003293/1.678, allocations: 250.5 kB / 1.34 GB, free: 7.789 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.674/6.352, allocations: 0 / 1.34 GB, free: 7.789 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)