Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.613/1.613, allocations: 249.3 MB / 261.8 MB, free: 5.863 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 178.1 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.568/1.568, allocations: 205.2 MB / 0.572 GB, free: 10.67 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008797/0.0008798, allocations: 90.45 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.166e-05/3.168e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.236, allocations: 106.3 MB / 0.8919 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.206/6.442, allocations: 2.24 GB / 3.132 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002837/6.443, allocations: 95.77 kB / 3.132 GB, free: 103.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.314/14.76, allocations: 1.924 GB / 5.056 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.833e-06/14.76, allocations: 1.625 kB / 5.056 GB, free: 106.4 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003154/14.76, allocations: 64.77 kB / 5.056 GB, free: 106.4 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.008913/14.77, allocations: 2.617 MB / 5.058 GB, free: 105.3 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.446e-05/14.77, allocations: 8.969 kB / 5.058 GB, free: 105.3 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006123/14.77, allocations: 219.1 kB / 5.059 GB, free: 105.2 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005846/14.77, allocations: 0.7876 MB / 5.059 GB, free: 105.1 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007568/14.78, allocations: 2.363 MB / 5.062 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/14.78, allocations: 129.6 kB / 5.062 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004014/14.78, allocations: 163.7 kB / 5.062 GB, free: 104.7 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003324/14.78, allocations: 1.73 MB / 5.064 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 6e-05/14.78, allocations: 2.375 kB / 5.064 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001636/14.78, allocations: 66.88 kB / 5.064 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.299e-05/14.78, allocations: 57.06 kB / 5.064 GB, free: 104.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002265/14.79, allocations: 1.334 MB / 5.065 GB, free: 104.5 MB / 0.9167 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.01153/14.8, allocations: 8.064 MB / 5.073 GB, free: 100.6 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00156/14.8, allocations: 1.61 MB / 5.075 GB, free: 99.85 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008014/14.8, allocations: 0.5482 MB / 5.075 GB, free: 99.84 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004196/14.8, allocations: 217.1 kB / 5.075 GB, free: 99.66 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008861/14.8, allocations: 0.5833 MB / 5.076 GB, free: 99.59 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001363/14.8, allocations: 122 kB / 5.076 GB, free: 99.56 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=102): time 6.081e-06/14.8, allocations: 0 / 5.076 GB, free: 99.56 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.006388/14.81, allocations: 2.672 MB / 5.079 GB, free: 98.84 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.399e-05/14.81, allocations: 171.9 kB / 5.079 GB, free: 98.65 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002054/14.81, allocations: 1.318 MB / 5.08 GB, free: 98.43 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001713/14.81, allocations: 55.77 kB / 5.08 GB, free: 98.4 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008295/14.81, allocations: 0.9755 MB / 5.081 GB, free: 98.07 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003041/14.81, allocations: 369.4 kB / 5.081 GB, free: 97.83 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.174e-05/14.81, allocations: 21.62 kB / 5.081 GB, free: 97.83 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 9.942e-05/14.81, allocations: 356.8 kB / 5.082 GB, free: 97.53 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006351/14.81, allocations: 433.3 kB / 5.082 GB, free: 97.52 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008144/14.81, allocations: 0.7979 MB / 5.083 GB, free: 97.11 MB / 0.9167 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.008133/14.82, allocations: 2.166 MB / 5.085 GB, free: 96.92 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.196e-05/14.82, allocations: 3.906 kB / 5.085 GB, free: 96.92 MB / 0.9167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00269/14.83, allocations: 1.451 MB / 5.086 GB, free: 96.73 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007348/14.83, allocations: 3.041 MB / 5.089 GB, free: 93.57 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.714e-05/14.83, allocations: 8.594 kB / 5.089 GB, free: 93.57 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000184/14.83, allocations: 52.27 kB / 5.09 GB, free: 93.56 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001133/14.83, allocations: 279 kB / 5.09 GB, free: 93.56 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001064/14.83, allocations: 1.509 MB / 5.091 GB, free: 92.22 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002239/14.83, allocations: 159.7 kB / 5.091 GB, free: 92.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/14.83, allocations: 52.45 kB / 5.091 GB, free: 92.21 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/14.83, allocations: 6.312 kB / 5.091 GB, free: 92.21 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001998/14.83, allocations: 1.261 MB / 5.093 GB, free: 92.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.119e-05/14.83, allocations: 8.281 kB / 5.093 GB, free: 92.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001299/14.83, allocations: 47.12 kB / 5.093 GB, free: 92.14 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/14.83, allocations: 280.7 kB / 5.093 GB, free: 92.14 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009176/14.84, allocations: 1.503 MB / 5.094 GB, free: 90.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00219/14.84, allocations: 163 kB / 5.095 GB, free: 90.8 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/14.84, allocations: 50.59 kB / 5.095 GB, free: 90.8 MB / 0.9167 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (148): * Single equations (assignments): 143 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 3} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004798/14.84, allocations: 193.2 kB / 5.095 GB, free: 90.69 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006001/14.84, allocations: 189.1 kB / 5.095 GB, free: 90.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002818/14.84, allocations: 1.243 MB / 5.096 GB, free: 90.48 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.107e-05/14.84, allocations: 10.56 kB / 5.096 GB, free: 90.48 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.017e-06/14.84, allocations: 3.438 kB / 5.096 GB, free: 90.48 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001548/14.84, allocations: 0.9773 MB / 5.097 GB, free: 90.38 MB / 0.9167 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.007436/14.85, allocations: 3.355 MB / 5.101 GB, free: 89.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.344e-06/14.85, allocations: 1.344 kB / 5.101 GB, free: 89.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001082/14.85, allocations: 226.3 kB / 5.101 GB, free: 89.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002722/14.85, allocations: 72.72 kB / 5.101 GB, free: 89.68 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001051/14.85, allocations: 35.53 kB / 5.101 GB, free: 89.68 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001652/14.85, allocations: 2.739 MB / 5.104 GB, free: 87.17 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/14.85, allocations: 2.656 kB / 5.104 GB, free: 87.17 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003124/14.86, allocations: 1.957 MB / 5.105 GB, free: 86.75 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001452/14.86, allocations: 386 kB / 5.106 GB, free: 86.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006592/14.86, allocations: 31.89 kB / 5.106 GB, free: 86.55 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001981/14.86, allocations: 153 kB / 5.106 GB, free: 86.54 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002003/14.86, allocations: 77.52 kB / 5.106 GB, free: 86.54 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001132/14.86, allocations: 37.48 kB / 5.106 GB, free: 86.54 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001732/14.86, allocations: 1.02 MB / 5.107 GB, free: 86.38 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.6e-07/14.86, allocations: 3.844 kB / 5.107 GB, free: 86.38 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005463/14.87, allocations: 1.296 MB / 5.108 GB, free: 86.32 MB / 0.9167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 9 (vol.dynBal.U,vol.dynBal.mXi[1],mov.filter.x[1],mov.filter.x[2],conPI.I.y,THeaOut.T,hea.vol.dynBal.U,hea.vol.dynBal.m,hea.vol.dynBal.mXi[1]) * 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 (103): * Single equations (assignments): 99 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 2,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00876/14.88, allocations: 6.136 MB / 5.114 GB, free: 83.83 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004469/14.88, allocations: 2.217 MB / 5.117 GB, free: 83.38 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/14.88, allocations: 0 / 5.117 GB, free: 83.38 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001194/14.88, allocations: 0.7477 MB / 5.117 GB, free: 83.16 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005614/14.89, allocations: 0.9639 MB / 5.118 GB, free: 83.12 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01265/14.9, allocations: 3.774 MB / 5.122 GB, free: 82.18 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001891/14.9, allocations: 1.643 MB / 5.123 GB, free: 81.45 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.004281/14.91, allocations: 0.6921 MB / 5.124 GB, free: 81.43 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001456/14.91, allocations: 0.825 MB / 5.125 GB, free: 81.42 MB / 0.9167 GB Notification: Performance of SimCode: time 1.172e-06/14.91, allocations: 0 / 5.125 GB, free: 81.42 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1892/15.1, allocations: 106.6 MB / 5.229 GB, free: 32.44 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/15.1, allocations: 223 kB / 5.229 GB, free: 32.21 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.966/21.07, allocations: 3.938 kB / 5.229 GB, free: 32.21 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)