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 2.197/2.197, allocations: 289.9 MB / 297.4 MB, free: 6.355 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.002073/0.002073, allocations: 180.8 kB / 366.7 MB, free: 1.691 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.944/1.944, allocations: 205.3 MB / 0.626 GB, free: 7.172 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.00108/0.00108, allocations: 80.33 kB / 0.74 GB, free: 39.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.663e-05/3.655e-05, allocations: 8 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8067/0.8068, allocations: 116.3 MB / 0.9733 GB, free: 76.41 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.34/7.147, allocations: 2.128 GB / 3.102 GB, free: 273.2 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/7.147, allocations: 96.91 kB / 3.102 GB, free: 273.2 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.094/15.24, allocations: 2.048 GB / 5.149 GB, free: 84.68 MB / 0.9792 GB Notification: Performance of FrontEnd: time 1.312e-06/15.24, allocations: 0 / 5.149 GB, free: 84.68 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0002604/15.24, allocations: 59.91 kB / 5.149 GB, free: 84.62 MB / 0.9792 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.006957/15.25, allocations: 2.452 MB / 5.152 GB, free: 82.14 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/15.25, allocations: 8.031 kB / 5.152 GB, free: 82.13 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005468/15.25, allocations: 0.7804 MB / 5.153 GB, free: 81.35 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006409/15.26, allocations: 2.203 MB / 5.155 GB, free: 79.14 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.98e-05/15.26, allocations: 44 kB / 5.155 GB, free: 79.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003032/15.26, allocations: 91.91 kB / 5.155 GB, free: 79.01 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002097/15.26, allocations: 1.075 MB / 5.156 GB, free: 77.93 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002073/15.26, allocations: 1.327 MB / 5.157 GB, free: 76.52 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.895e-05/15.26, allocations: 3.938 kB / 5.157 GB, free: 76.52 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000119/15.26, allocations: 11.94 kB / 5.157 GB, free: 76.5 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.932e-05/15.26, allocations: 46.53 kB / 5.157 GB, free: 76.46 MB / 0.9792 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.01018/15.28, allocations: 7.161 MB / 5.164 GB, free: 68.82 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001253/15.28, allocations: 1.355 MB / 5.166 GB, free: 67.34 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005663/15.28, allocations: 403.6 kB / 5.166 GB, free: 66.94 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001048/15.28, allocations: 0.7533 MB / 5.167 GB, free: 66.05 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006427/15.28, allocations: 444.5 kB / 5.167 GB, free: 65.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001119/15.28, allocations: 103.3 kB / 5.167 GB, free: 65.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=84): time 5.33e-06/15.28, allocations: 0 / 5.167 GB, free: 65.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84): time 0.005667/15.29, allocations: 1.505 MB / 5.169 GB, free: 63.98 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.942e-05/15.29, allocations: 167 kB / 5.169 GB, free: 63.78 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002596/15.29, allocations: 1.232 MB / 5.17 GB, free: 62.55 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0001592/15.29, allocations: 29.7 kB / 5.17 GB, free: 62.52 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009738/15.29, allocations: 0.9357 MB / 5.171 GB, free: 61.57 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.00028/15.29, allocations: 283.8 kB / 5.171 GB, free: 61.29 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.266e-05/15.29, allocations: 0 / 5.171 GB, free: 61.29 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001045/15.29, allocations: 345.9 kB / 5.172 GB, free: 60.95 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005183/15.29, allocations: 338.5 kB / 5.172 GB, free: 60.61 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007388/15.29, allocations: 0.7171 MB / 5.173 GB, free: 59.73 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004237/15.3, allocations: 1.033 MB / 5.174 GB, free: 58.7 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.381e-05/15.3, allocations: 0 / 5.174 GB, free: 58.7 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.005961/15.3, allocations: 1.738 MB / 5.175 GB, free: 56.95 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001023/15.3, allocations: 3.481 MB / 5.179 GB, free: 53.19 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.223e-05/15.3, allocations: 15.98 kB / 5.179 GB, free: 53.18 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.286e-05/15.3, allocations: 12 kB / 5.179 GB, free: 53.16 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/15.3, allocations: 259.6 kB / 5.179 GB, free: 52.91 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.639e-05/15.3, allocations: 23.92 kB / 5.179 GB, free: 52.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002099/15.31, allocations: 115.7 kB / 5.179 GB, free: 52.77 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001809/15.31, allocations: 55.98 kB / 5.179 GB, free: 52.72 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/15.31, allocations: 8 kB / 5.179 GB, free: 52.71 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005042/15.31, allocations: 1.511 MB / 5.181 GB, free: 51.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.062e-05/15.31, allocations: 12 kB / 5.181 GB, free: 51.19 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/15.31, allocations: 16 kB / 5.181 GB, free: 51.18 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001044/15.31, allocations: 256.3 kB / 5.181 GB, free: 50.93 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.263e-05/15.31, allocations: 27.88 kB / 5.181 GB, free: 50.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001996/15.31, allocations: 115.7 kB / 5.181 GB, free: 50.79 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001447/15.31, allocations: 59.97 kB / 5.181 GB, free: 50.73 MB / 0.9792 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.0003495/15.31, allocations: 136.7 kB / 5.181 GB, free: 50.59 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.005216/15.32, allocations: 1.436 MB / 5.183 GB, free: 49.14 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005682/15.32, allocations: 177.8 kB / 5.183 GB, free: 48.96 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005393/15.33, allocations: 1.506 MB / 5.184 GB, free: 47.45 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.009e-05/15.33, allocations: 8 kB / 5.184 GB, free: 47.44 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.047e-05/15.33, allocations: 4 kB / 5.184 GB, free: 47.44 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004488/15.33, allocations: 1.604 MB / 5.186 GB, free: 45.75 MB / 0.9792 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.009211/15.34, allocations: 3.079 MB / 5.189 GB, free: 42.61 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.487e-06/15.34, allocations: 4 kB / 5.189 GB, free: 42.6 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009234/15.34, allocations: 175.8 kB / 5.189 GB, free: 42.43 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002375/15.34, allocations: 44.95 kB / 5.189 GB, free: 42.38 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-05/15.34, allocations: 15.98 kB / 5.189 GB, free: 42.37 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001248/15.34, allocations: 1.385 MB / 5.191 GB, free: 40.87 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.057e-06/15.34, allocations: 0 / 5.191 GB, free: 40.87 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/15.35, allocations: 2.114 MB / 5.193 GB, free: 38.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001124/15.35, allocations: 334.7 kB / 5.193 GB, free: 38.35 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005491/15.35, allocations: 7.984 kB / 5.193 GB, free: 38.34 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001636/15.35, allocations: 131.7 kB / 5.193 GB, free: 38.21 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/15.35, allocations: 60.66 kB / 5.193 GB, free: 38.16 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.833e-05/15.35, allocations: 35.97 kB / 5.193 GB, free: 38.12 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.001888/15.35, allocations: 0.913 MB / 5.194 GB, free: 37.22 MB / 0.9792 GB Notification: Performance of sort global known variables: time 7.72e-07/15.35, allocations: 4 kB / 5.194 GB, free: 37.21 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.005534/15.36, allocations: 1.208 MB / 5.195 GB, free: 36 MB / 0.9792 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.01254/15.37, allocations: 6.563 MB / 5.202 GB, free: 29.58 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003016/15.37, allocations: 1.571 MB / 5.203 GB, free: 27.97 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 7.784e-06/15.37, allocations: 0.875 kB / 5.203 GB, free: 27.97 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.0008908/15.38, allocations: 0.5037 MB / 5.204 GB, free: 27.46 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004356/15.38, allocations: 0.7584 MB / 5.204 GB, free: 26.73 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01179/15.39, allocations: 3.312 MB / 5.208 GB, free: 23.36 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001659/15.39, allocations: 1.541 MB / 5.209 GB, free: 21.79 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.003614/15.4, allocations: 0.645 MB / 5.21 GB, free: 21.17 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001064/15.4, allocations: 0.7492 MB / 5.21 GB, free: 20.42 MB / 0.9792 GB Notification: Performance of SimCode: time 9.41e-07/15.4, allocations: 0 / 5.21 GB, free: 20.42 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8202/16.22, allocations: 68.47 MB / 5.277 GB, free: 123.2 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001481/16.22, allocations: 168.1 kB / 5.278 GB, free: 123 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.023/21.24, allocations: 0 / 5.278 GB, free: 123 MB / 0.9948 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)