Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 289.7 MB / 302.2 MB, free: 2.148 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.001167/0.001167, allocations: 178.1 kB / 371.6 MB, free: 3.355 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.746/1.746, allocations: 205.1 MB / 0.6309 GB, free: 11.75 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001056/0.001056, allocations: 94.84 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.868e-05/5.871e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3068/0.3068, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.5/6.807, allocations: 2.129 GB / 3.109 GB, free: 64.78 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/6.807, allocations: 96.05 kB / 3.109 GB, free: 64.73 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 9.221/16.03, allocations: 2.07 GB / 5.179 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.375e-06/16.03, allocations: 0 / 5.179 GB, free: 103.5 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002857/16.03, allocations: 64.28 kB / 5.179 GB, free: 103.5 MB / 0.9948 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.008476/16.04, allocations: 2.441 MB / 5.181 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/16.04, allocations: 13.94 kB / 5.181 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005604/16.04, allocations: 198.6 kB / 5.181 GB, free: 102.4 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005449/16.04, allocations: 0.779 MB / 5.182 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006283/16.05, allocations: 2.211 MB / 5.184 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.332e-05/16.05, allocations: 106.8 kB / 5.184 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002663/16.05, allocations: 149.3 kB / 5.184 GB, free: 101.9 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00258/16.05, allocations: 1.512 MB / 5.186 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.29e-05/16.05, allocations: 3.562 kB / 5.186 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000127/16.05, allocations: 60.27 kB / 5.186 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.279e-05/16.05, allocations: 44.72 kB / 5.186 GB, free: 101.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001788/16.05, allocations: 1.13 MB / 5.187 GB, free: 101.6 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.009315/16.06, allocations: 7.412 MB / 5.194 GB, free: 97.74 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001311/16.06, allocations: 1.359 MB / 5.196 GB, free: 97.05 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/16.07, allocations: 427.1 kB / 5.196 GB, free: 97.04 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009769/16.07, allocations: 0.7508 MB / 5.197 GB, free: 96.29 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007001/16.07, allocations: 478.6 kB / 5.197 GB, free: 96.22 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001038/16.07, allocations: 123.5 kB / 5.197 GB, free: 96.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 4.188e-06/16.07, allocations: 2.969 kB / 5.197 GB, free: 96.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.001832/16.07, allocations: 0.926 MB / 5.198 GB, free: 96.05 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.15e-05/16.07, allocations: 166.2 kB / 5.198 GB, free: 95.86 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001944/16.07, allocations: 1.344 MB / 5.2 GB, free: 95.64 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001001/16.07, allocations: 52.83 kB / 5.2 GB, free: 95.61 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007763/16.07, allocations: 0.9306 MB / 5.201 GB, free: 95.3 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/16.07, allocations: 292.8 kB / 5.201 GB, free: 95.12 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.499e-05/16.07, allocations: 21.69 kB / 5.201 GB, free: 95.12 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.32e-05/16.07, allocations: 355.3 kB / 5.201 GB, free: 94.81 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005212/16.07, allocations: 344.6 kB / 5.202 GB, free: 94.81 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007223/16.07, allocations: 0.7344 MB / 5.202 GB, free: 94.36 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006657/16.07, allocations: 477.4 kB / 5.203 GB, free: 94.31 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.492e-06/16.07, allocations: 0 / 5.203 GB, free: 94.31 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.001898/16.08, allocations: 1.248 MB / 5.204 GB, free: 94.14 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006876/16.08, allocations: 3.486 MB / 5.207 GB, free: 90.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.688e-05/16.08, allocations: 14.41 kB / 5.207 GB, free: 90.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.282e-05/16.08, allocations: 15.78 kB / 5.207 GB, free: 90.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001077/16.08, allocations: 259.4 kB / 5.208 GB, free: 90.5 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.284e-05/16.08, allocations: 21.98 kB / 5.208 GB, free: 90.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001717/16.08, allocations: 144.3 kB / 5.208 GB, free: 90.49 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/16.08, allocations: 50.2 kB / 5.208 GB, free: 90.49 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/16.08, allocations: 9.812 kB / 5.208 GB, free: 90.48 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001819/16.08, allocations: 1.063 MB / 5.209 GB, free: 90.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.8e-05/16.08, allocations: 7.062 kB / 5.209 GB, free: 90.43 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.728e-05/16.08, allocations: 17.81 kB / 5.209 GB, free: 90.43 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009431/16.08, allocations: 255.3 kB / 5.209 GB, free: 90.43 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.883e-05/16.08, allocations: 25.86 kB / 5.209 GB, free: 90.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00164/16.09, allocations: 145.2 kB / 5.209 GB, free: 90.43 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001014/16.09, allocations: 57.47 kB / 5.209 GB, free: 90.43 MB / 0.9948 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 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conPI.I.trigger_internal) * Number of discrete 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.0002903/16.09, allocations: 180.5 kB / 5.21 GB, free: 90.31 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002432/16.09, allocations: 184 kB / 5.21 GB, free: 90.21 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002012/16.09, allocations: 0.9891 MB / 5.211 GB, free: 90.12 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.186e-06/16.09, allocations: 11.09 kB / 5.211 GB, free: 90.12 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.146e-06/16.09, allocations: 3.953 kB / 5.211 GB, free: 90.12 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001181/16.09, allocations: 1.051 MB / 5.212 GB, free: 89.66 MB / 0.9948 GB Warning: The model contains alias variables with conflicting start and/or 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.004627/16.09, allocations: 2.678 MB / 5.214 GB, free: 89.09 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.969e-06/16.09, allocations: 0 / 5.214 GB, free: 89.09 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008802/16.09, allocations: 178.6 kB / 5.215 GB, free: 89.09 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002049/16.09, allocations: 50.08 kB / 5.215 GB, free: 89.08 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.558e-05/16.09, allocations: 24.25 kB / 5.215 GB, free: 89.08 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001032/16.1, allocations: 1.41 MB / 5.216 GB, free: 87.82 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.835e-06/16.1, allocations: 1.406 kB / 5.216 GB, free: 87.82 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002262/16.1, allocations: 1.565 MB / 5.218 GB, free: 87.41 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000849/16.1, allocations: 339.6 kB / 5.218 GB, free: 87.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001923/16.1, allocations: 27.42 kB / 5.218 GB, free: 87.22 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/16.1, allocations: 143.6 kB / 5.218 GB, free: 87.21 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/16.1, allocations: 68.33 kB / 5.218 GB, free: 87.21 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.892e-05/16.1, allocations: 30.25 kB / 5.218 GB, free: 87.21 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001568/16.1, allocations: 1.024 MB / 5.219 GB, free: 87.05 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.61e-07/16.1, allocations: 2.062 kB / 5.219 GB, free: 87.05 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004663/16.11, allocations: 1.323 MB / 5.22 GB, free: 86.88 MB / 0.9948 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) * 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.008387/16.12, allocations: 5.873 MB / 5.226 GB, free: 84.38 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.002865/16.12, allocations: 1.647 MB / 5.228 GB, free: 84.16 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.067e-06/16.12, allocations: 3.562 kB / 5.228 GB, free: 84.16 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0008828/16.12, allocations: 0.5213 MB / 5.228 GB, free: 84.05 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004219/16.12, allocations: 0.7762 MB / 5.229 GB, free: 84.01 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008626/16.13, allocations: 3.395 MB / 5.232 GB, free: 83.13 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003121/16.14, allocations: 1.548 MB / 5.234 GB, free: 98.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.003206/16.14, allocations: 0.6582 MB / 5.235 GB, free: 98.38 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009663/16.14, allocations: 0.7422 MB / 5.235 GB, free: 98.37 MB / 1.01 GB Notification: Performance of SimCode: time 1.814e-06/16.14, allocations: 2.062 kB / 5.235 GB, free: 98.37 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1637/16.3, allocations: 98.66 MB / 5.332 GB, free: 73.74 MB / 1.01 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/16.3, allocations: 214 kB / 5.332 GB, free: 73.51 MB / 1.01 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.003/22.31, allocations: 3.375 kB / 5.332 GB, free: 73.51 MB / 1.01 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)