Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.52/2.52, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.001524/0.001524, allocations: 181.1 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.175/2.175, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001073/0.001073, allocations: 92.53 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006596/0.0006597, allocations: 12.78 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.205/0.2057, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.797/7.003, allocations: 2.121 GB / 3.1 GB, free: 146 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003419/7.003, allocations: 96.77 kB / 3.1 GB, free: 145.9 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.54/17.54, allocations: 1.985 GB / 5.085 GB, free: 0.9062 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.053e-06/17.54, allocations: 0 / 5.085 GB, free: 0.9062 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0003599/17.54, allocations: 67.92 kB / 5.085 GB, free: 0.8398 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.0131/17.55, allocations: 3.145 MB / 5.088 GB, free: 13.62 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.731e-05/17.55, allocations: 8.031 kB / 5.088 GB, free: 13.61 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001224/17.55, allocations: 223.5 kB / 5.088 GB, free: 13.38 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008864/17.56, allocations: 0.7892 MB / 5.089 GB, free: 12.59 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01017/17.57, allocations: 2.364 MB / 5.091 GB, free: 10.17 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001731/17.57, allocations: 123 kB / 5.091 GB, free: 10.05 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005744/17.57, allocations: 167.9 kB / 5.092 GB, free: 9.887 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005776/17.58, allocations: 1.787 MB / 5.093 GB, free: 8.02 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-05/17.58, allocations: 0 / 5.093 GB, free: 8.02 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000274/17.58, allocations: 67.98 kB / 5.093 GB, free: 7.953 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.641e-05/17.58, allocations: 54.91 kB / 5.093 GB, free: 7.898 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005393/17.59, allocations: 1.456 MB / 5.095 GB, free: 6.438 MB / 0.9948 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.8498/18.44, allocations: 8.04 MB / 5.103 GB, free: 121.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004383/18.44, allocations: 1.748 MB / 5.104 GB, free: 120.8 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007387/18.44, allocations: 222.2 kB / 5.105 GB, free: 120.6 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002463/18.44, allocations: 0.6377 MB / 5.105 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001652/18.45, allocations: 117.7 kB / 5.105 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=102): time 7.444e-06/18.45, allocations: 0.5312 kB / 5.105 GB, free: 120.5 MB / 0.9948 GB Notification: Performance of matching and sorting (n=105): time 0.01569/18.46, allocations: 3.473 MB / 5.109 GB, free: 119.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.849e-05/18.46, allocations: 166.9 kB / 5.109 GB, free: 119.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003843/18.46, allocations: 1.337 MB / 5.11 GB, free: 119.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004194/18.47, allocations: 52.61 kB / 5.11 GB, free: 119.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001454/18.47, allocations: 0.9683 MB / 5.111 GB, free: 119.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007385/18.47, allocations: 369.8 kB / 5.112 GB, free: 119 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001466/18.47, allocations: 21.22 kB / 5.112 GB, free: 119 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001417/18.47, allocations: 359.5 kB / 5.112 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002007/18.47, allocations: 0.4902 MB / 5.112 GB, free: 118.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002409/18.47, allocations: 0.8615 MB / 5.113 GB, free: 118.3 MB / 0.9948 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.01861/18.49, allocations: 2.321 MB / 5.116 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.531e-05/18.49, allocations: 4.875 kB / 5.116 GB, free: 118.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.006268/18.5, allocations: 1.591 MB / 5.117 GB, free: 117.9 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008028/18.5, allocations: 3.05 MB / 5.12 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.838e-05/18.5, allocations: 12.39 kB / 5.12 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003522/18.5, allocations: 52.72 kB / 5.12 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002633/18.5, allocations: 281.2 kB / 5.12 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/18.5, allocations: 1.574 MB / 5.122 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003681/18.51, allocations: 159.6 kB / 5.122 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004195/18.51, allocations: 62.2 kB / 5.122 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/18.51, allocations: 7 kB / 5.122 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005204/18.51, allocations: 1.397 MB / 5.124 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.848e-05/18.51, allocations: 12.8 kB / 5.124 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002259/18.51, allocations: 51.33 kB / 5.124 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002518/18.52, allocations: 276.6 kB / 5.124 GB, free: 113.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001767/18.52, allocations: 1.57 MB / 5.125 GB, free: 112 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003624/18.52, allocations: 155.6 kB / 5.126 GB, free: 112 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004269/18.52, allocations: 55.84 kB / 5.126 GB, free: 112 MB / 0.9948 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * 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%) 4} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002154/18.52, allocations: 0.5939 MB / 5.126 GB, free: 111.8 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007517/18.52, allocations: 197.9 kB / 5.126 GB, free: 111.7 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005531/18.53, allocations: 1.365 MB / 5.128 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.112e-05/18.53, allocations: 11.53 kB / 5.128 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.336e-06/18.53, allocations: 5.078 kB / 5.128 GB, free: 111.6 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004239/18.53, allocations: 1.116 MB / 5.129 GB, free: 111.5 MB / 0.9948 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.01138/18.55, allocations: 3.429 MB / 5.132 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/18.55, allocations: 1.094 kB / 5.132 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002257/18.55, allocations: 230.7 kB / 5.132 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004264/18.55, allocations: 79.94 kB / 5.132 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002157/18.55, allocations: 33.56 kB / 5.132 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002788/18.55, allocations: 2.938 MB / 5.135 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.741e-06/18.55, allocations: 6.938 kB / 5.135 GB, free: 108.3 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006884/18.56, allocations: 2.142 MB / 5.137 GB, free: 107.9 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001604/18.56, allocations: 374.8 kB / 5.138 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006245/18.56, allocations: 32.11 kB / 5.138 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003065/18.56, allocations: 148 kB / 5.138 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003809/18.56, allocations: 77.44 kB / 5.138 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001539/18.56, allocations: 45.08 kB / 5.138 GB, free: 107.7 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002557/18.57, allocations: 1.025 MB / 5.139 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of sort global known variables: time 5.91e-07/18.57, allocations: 0 / 5.139 GB, free: 107.5 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007586/18.57, allocations: 1.308 MB / 5.14 GB, free: 107.5 MB / 0.9948 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 98 * 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%) 3,(1,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.014/18.59, allocations: 6.344 MB / 5.147 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.00834/18.6, allocations: 2.36 MB / 5.149 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.145e-05/18.6, allocations: 1.062 kB / 5.149 GB, free: 104.7 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.002639/18.6, allocations: 0.8254 MB / 5.15 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008552/18.61, allocations: 0.9628 MB / 5.151 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02038/18.63, allocations: 11.25 MB / 5.162 GB, free: 96.54 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002553/18.63, allocations: 1.633 MB / 5.163 GB, free: 95.81 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004363/18.64, allocations: 0.5131 MB / 5.164 GB, free: 95.79 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002339/18.64, allocations: 0.845 MB / 5.165 GB, free: 95.78 MB / 0.9948 GB Notification: Performance of SimCode: time 1.613e-06/18.64, allocations: 0 / 5.165 GB, free: 95.78 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2324/18.87, allocations: 95.43 MB / 5.258 GB, free: 93.38 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000238/18.87, allocations: 252.2 kB / 5.258 GB, free: 93.13 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.05/25.92, allocations: 3.938 kB / 5.258 GB, free: 93.13 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)