Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009903/0.0009902, allocations: 97.72 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006242/0.006242, allocations: 171.1 kB / 16.27 MB, free: 6.648 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.343/2.343, allocations: 390.9 MB / 0.6664 GB, free: 2.367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002944, allocations: 8 kB / 0.8161 GB, free: 13.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5769/0.5772, allocations: 142.4 MB / 0.9552 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2233/0.8005, allocations: 230.6 MB / 1.18 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02034/0.8209, allocations: 15.72 MB / 1.196 GB, free: 8.176 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002346/0.8233, allocations: 75.5 kB / 1.196 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002793/0.8261, allocations: 1.145 MB / 1.197 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.007272/0.8333, allocations: 3.183 MB / 1.2 GB, free: 3.762 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004995/0.8384, allocations: 2.227 MB / 1.202 GB, free: 1.547 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.006595/0.845, allocations: 6.556 MB / 1.209 GB, free: 10.98 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001961/0.8469, allocations: 1.589 MB / 1.21 GB, free: 9.34 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004119/0.8511, allocations: 2.346 MB / 1.212 GB, free: 6.984 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002453/0.8535, allocations: 1.534 MB / 1.214 GB, free: 5.449 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0002013/0.8537, allocations: 80 kB / 1.214 GB, free: 5.371 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005755/0.8595, allocations: 3.741 MB / 1.218 GB, free: 1.621 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0006495/0.8602, allocations: 0.615 MB / 1.218 GB, free: 1.004 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.00112/0.8613, allocations: 1.078 MB / 1.219 GB, free: 15.91 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.005307/0.8666, allocations: 4.291 MB / 1.224 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.8666, allocations: 0 / 1.224 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.853e-06/0.8666, allocations: 0 / 1.224 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.499e-05/0.8667, allocations: 0 / 1.224 GB, free: 11.61 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.003798/0.8705, allocations: 2.422 MB / 1.226 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.742e-05/0.8705, allocations: 8.031 kB / 1.226 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002257/0.8708, allocations: 206.3 kB / 1.226 GB, free: 8.902 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005087/0.8758, allocations: 0.9024 MB / 1.227 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002756/0.8786, allocations: 1.688 MB / 1.229 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000367/0.879, allocations: 170.5 kB / 1.229 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002048/0.8792, allocations: 136 kB / 1.229 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002999/0.8822, allocations: 1.708 MB / 1.231 GB, free: 4.18 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.709e-05/0.8822, allocations: 3.938 kB / 1.231 GB, free: 4.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001312/0.8824, allocations: 59.98 kB / 1.231 GB, free: 4.117 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.788e-05/0.8824, allocations: 54.5 kB / 1.231 GB, free: 4.062 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003437/0.8859, allocations: 1.536 MB / 1.232 GB, free: 2.52 MB / 0.9825 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.009946/0.8958, allocations: 7.665 MB / 1.24 GB, free: 10.3 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002873/0.8987, allocations: 1.691 MB / 1.241 GB, free: 8.477 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001183/0.8999, allocations: 0.5582 MB / 1.242 GB, free: 7.918 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001284/0.9012, allocations: 0.8141 MB / 1.243 GB, free: 6.953 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001287/0.9025, allocations: 0.6064 MB / 1.243 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006577/0.9032, allocations: 115.3 kB / 1.243 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 2.665e-06/0.9032, allocations: 0 / 1.243 GB, free: 6.219 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.004114/0.9073, allocations: 1.73 MB / 1.245 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.956e-05/0.9074, allocations: 68.39 kB / 1.245 GB, free: 4.383 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001908/0.9093, allocations: 1.563 MB / 1.247 GB, free: 2.82 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.237e-05/0.9094, allocations: 45.7 kB / 1.247 GB, free: 2.77 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008268/0.9103, allocations: 0.9202 MB / 1.248 GB, free: 1.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.9105, allocations: 299.7 kB / 1.248 GB, free: 1.543 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001284/0.9107, allocations: 97.66 kB / 1.248 GB, free: 1.441 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.9108, allocations: 349.9 kB / 1.248 GB, free: 1.094 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001108/0.9119, allocations: 490.3 kB / 1.249 GB, free: 0.6172 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4187/1.331, allocations: 0.8136 MB / 1.25 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002877/1.334, allocations: 1.307 MB / 1.251 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/1.334, allocations: 2.469 kB / 1.251 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.003784/1.337, allocations: 1.517 MB / 1.252 GB, free: 282 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001707/1.338, allocations: 386.9 kB / 1.253 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/1.338, allocations: 9.062 kB / 1.253 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.024e-05/1.338, allocations: 13.44 kB / 1.253 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001243/1.339, allocations: 291.4 kB / 1.253 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.492e-05/1.339, allocations: 19.5 kB / 1.253 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001722/1.341, allocations: 184.7 kB / 1.253 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001164/1.341, allocations: 51.31 kB / 1.253 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/1.341, allocations: 4.656 kB / 1.253 GB, free: 281.5 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002857/1.344, allocations: 1.31 MB / 1.255 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.566e-05/1.344, allocations: 7.812 kB / 1.255 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.81e-05/1.344, allocations: 14.44 kB / 1.255 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.345, allocations: 290 kB / 1.255 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.441e-05/1.345, allocations: 21.55 kB / 1.255 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/1.347, allocations: 178.1 kB / 1.255 GB, free: 281 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/1.347, allocations: 49.91 kB / 1.255 GB, free: 281 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (133): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.0009837/1.348, allocations: 0.5373 MB / 1.256 GB, free: 280.6 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004117/1.348, allocations: 180.4 kB / 1.256 GB, free: 280.6 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003659/1.352, allocations: 1.257 MB / 1.257 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/1.352, allocations: 13.25 kB / 1.257 GB, free: 280.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.307e-05/1.352, allocations: 5.438 kB / 1.257 GB, free: 280.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002967/1.355, allocations: 1.322 MB / 1.258 GB, free: 279.4 MB / 0.9981 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.006911/1.362, allocations: 3.067 MB / 1.261 GB, free: 278 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.282e-06/1.362, allocations: 3.828 kB / 1.261 GB, free: 278 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/1.363, allocations: 210 kB / 1.261 GB, free: 278 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002241/1.363, allocations: 45.19 kB / 1.262 GB, free: 278 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.094e-05/1.363, allocations: 30.25 kB / 1.262 GB, free: 278 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009702/1.364, allocations: 1.421 MB / 1.263 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.124e-06/1.364, allocations: 1.375 kB / 1.263 GB, free: 276.6 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003944/1.368, allocations: 1.883 MB / 1.265 GB, free: 275.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007611/1.369, allocations: 341.3 kB / 1.265 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001936/1.369, allocations: 26.05 kB / 1.265 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001247/1.37, allocations: 147.1 kB / 1.265 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001554/1.371, allocations: 64.39 kB / 1.265 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/1.371, allocations: 36.5 kB / 1.265 GB, free: 275.6 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001449/1.372, allocations: 1.052 MB / 1.266 GB, free: 275.2 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.7e-07/1.372, allocations: 0 / 1.266 GB, free: 275.2 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002855/1.375, allocations: 0.9614 MB / 1.267 GB, free: 275.1 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[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 (85): * Single equations (assignments): 82 * 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.005084/1.38, allocations: 2.944 MB / 1.27 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004053/1.384, allocations: 1.921 MB / 1.272 GB, free: 272.7 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.66e-06/1.384, allocations: 1.156 kB / 1.272 GB, free: 272.7 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001415/1.386, allocations: 0.6647 MB / 1.273 GB, free: 272.4 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004053/1.39, allocations: 0.7724 MB / 1.273 GB, free: 272 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02244/1.412, allocations: 14.88 MB / 1.288 GB, free: 261.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007448/1.413, allocations: 1.488 MB / 1.289 GB, free: 260.8 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001825/1.415, allocations: 456.9 kB / 1.29 GB, free: 260.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/1.415, allocations: 0.7635 MB / 1.291 GB, free: 259.9 MB / 0.9981 GB Notification: Performance of SimCode: time 6.31e-07/1.415, allocations: 0 / 1.291 GB, free: 259.9 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.221/2.637, allocations: 43.66 MB / 1.333 GB, free: 217 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002486/2.637, allocations: 268 kB / 1.334 GB, free: 216.7 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.678/6.315, allocations: 0 / 1.334 GB, free: 216.7 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)