Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.598/1.598, allocations: 285.4 MB / 298 MB, free: 5.992 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.001087/0.001087, allocations: 180.8 kB / 366.4 MB, free: 2.094 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.685/1.685, allocations: 205.1 MB / 0.6248 GB, free: 7.766 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.001244/0.001244, allocations: 90.58 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.194e-05/4.208e-05, allocations: 7.938 kB / 0.8584 GB, free: 13.02 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7978/0.7978, allocations: 115.3 MB / 0.971 GB, free: 77.79 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.738/6.536, allocations: 2.121 GB / 3.092 GB, free: 336.1 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002961/6.537, allocations: 93.97 kB / 3.093 GB, free: 336.1 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.243/14.78, allocations: 1.983 GB / 5.076 GB, free: 123.9 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.866e-06/14.78, allocations: 3.281 kB / 5.076 GB, free: 123.9 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0004326/14.78, allocations: 63.3 kB / 5.076 GB, free: 123.8 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: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.01128/14.79, allocations: 2.61 MB / 5.078 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.659e-05/14.79, allocations: 13.38 kB / 5.078 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000876/14.79, allocations: 217.1 kB / 5.078 GB, free: 122.7 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008695/14.8, allocations: 0.798 MB / 5.079 GB, free: 122.5 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01046/14.81, allocations: 2.341 MB / 5.082 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002043/14.81, allocations: 130.9 kB / 5.082 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006584/14.81, allocations: 159.1 kB / 5.082 GB, free: 122.1 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004605/14.82, allocations: 1.716 MB / 5.083 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.278e-05/14.82, allocations: 2.344 kB / 5.083 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002371/14.82, allocations: 68.36 kB / 5.084 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.39e-05/14.82, allocations: 57.98 kB / 5.084 GB, free: 121.9 MB / 0.9792 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003546/14.82, allocations: 1.319 MB / 5.085 GB, free: 121.9 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.01724/14.84, allocations: 8.061 MB / 5.093 GB, free: 118 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002573/14.84, allocations: 1.62 MB / 5.094 GB, free: 117.2 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001252/14.84, allocations: 0.5525 MB / 5.095 GB, free: 117.2 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005941/14.84, allocations: 213.6 kB / 5.095 GB, free: 117 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00139/14.84, allocations: 0.5712 MB / 5.096 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001951/14.85, allocations: 120.3 kB / 5.096 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=102): time 7.815e-06/14.85, allocations: 0 / 5.096 GB, free: 116.9 MB / 0.9792 GB Notification: Performance of matching and sorting (n=105): time 0.00872/14.86, allocations: 2.692 MB / 5.098 GB, free: 116.2 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.638e-05/14.86, allocations: 172.5 kB / 5.099 GB, free: 116 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002976/14.86, allocations: 1.319 MB / 5.1 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0002403/14.86, allocations: 58.11 kB / 5.1 GB, free: 115.8 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001126/14.86, allocations: 0.9687 MB / 5.101 GB, free: 115.4 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004818/14.86, allocations: 364 kB / 5.101 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.975e-05/14.86, allocations: 28.73 kB / 5.101 GB, free: 115.2 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001237/14.86, allocations: 354.6 kB / 5.102 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/14.86, allocations: 436.2 kB / 5.102 GB, free: 114.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001274/14.86, allocations: 0.8018 MB / 5.103 GB, free: 114.5 MB / 0.9792 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.01214/14.88, allocations: 2.185 MB / 5.105 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/14.88, allocations: 3.969 kB / 5.105 GB, free: 114.3 MB / 0.9792 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003938/14.88, allocations: 1.464 MB / 5.106 GB, free: 114.1 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007707/14.88, allocations: 3.034 MB / 5.109 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.993e-05/14.88, allocations: 7.625 kB / 5.109 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002465/14.88, allocations: 48.7 kB / 5.109 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001708/14.88, allocations: 283.6 kB / 5.11 GB, free: 110.9 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001422/14.88, allocations: 1.494 MB / 5.111 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003337/14.89, allocations: 170 kB / 5.111 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002014/14.89, allocations: 59.31 kB / 5.111 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/14.89, allocations: 3.281 kB / 5.111 GB, free: 109.6 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003039/14.89, allocations: 1.271 MB / 5.113 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.676e-05/14.89, allocations: 8.312 kB / 5.113 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00018/14.89, allocations: 46.06 kB / 5.113 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001629/14.89, allocations: 278.2 kB / 5.113 GB, free: 109.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001309/14.89, allocations: 1.499 MB / 5.114 GB, free: 108.2 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003446/14.9, allocations: 167.7 kB / 5.114 GB, free: 108.1 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002137/14.9, allocations: 56.98 kB / 5.115 GB, free: 108.1 MB / 0.9792 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.0005762/14.9, allocations: 181.5 kB / 5.115 GB, free: 108 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004843/14.9, allocations: 195.3 kB / 5.115 GB, free: 107.9 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00347/14.9, allocations: 1.252 MB / 5.116 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/14.9, allocations: 11.25 kB / 5.116 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.615e-06/14.9, allocations: 0 / 5.116 GB, free: 107.8 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002189/14.9, allocations: 0.988 MB / 5.117 GB, free: 107.7 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.01019/14.91, allocations: 3.349 MB / 5.12 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/14.91, allocations: 5.281 kB / 5.12 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001556/14.92, allocations: 232 kB / 5.121 GB, free: 107.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003351/14.92, allocations: 72.97 kB / 5.121 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001173/14.92, allocations: 28.02 kB / 5.121 GB, free: 107 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002214/14.92, allocations: 2.746 MB / 5.123 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/14.92, allocations: 3.062 kB / 5.123 GB, free: 104.5 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004363/14.92, allocations: 1.967 MB / 5.125 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001732/14.92, allocations: 375.1 kB / 5.126 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003809/14.93, allocations: 27.62 kB / 5.126 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001975/14.93, allocations: 157.3 kB / 5.126 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000261/14.93, allocations: 81.11 kB / 5.126 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001251/14.93, allocations: 39.95 kB / 5.126 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002404/14.93, allocations: 1.013 MB / 5.127 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of sort global known variables: time 2.81e-07/14.93, allocations: 0 / 5.127 GB, free: 103.7 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.007998/14.94, allocations: 1.299 MB / 5.128 GB, free: 103.7 MB / 0.9792 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.01279/14.95, allocations: 6.155 MB / 5.134 GB, free: 101.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.005524/14.96, allocations: 2.233 MB / 5.136 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.144e-05/14.96, allocations: 3.188 kB / 5.136 GB, free: 100.7 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.00154/14.96, allocations: 0.7511 MB / 5.137 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007151/14.97, allocations: 0.9537 MB / 5.138 GB, free: 100.5 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01625/14.98, allocations: 3.748 MB / 5.142 GB, free: 99.55 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/14.98, allocations: 1.639 MB / 5.143 GB, free: 98.81 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.004288/14.99, allocations: 0.6985 MB / 5.144 GB, free: 98.79 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/14.99, allocations: 0.8159 MB / 5.145 GB, free: 98.78 MB / 0.9792 GB Notification: Performance of SimCode: time 8.21e-07/14.99, allocations: 0 / 5.145 GB, free: 98.78 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1798/15.17, allocations: 106.5 MB / 5.249 GB, free: 27.56 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002076/15.17, allocations: 216.2 kB / 5.249 GB, free: 27.34 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.125/21.29, allocations: 4 kB / 5.249 GB, free: 27.34 MB / 0.9792 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)