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.665/1.665, allocations: 288.2 MB / 303.2 MB, free: 8.168 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.001318/0.001318, allocations: 189.5 kB / 371.8 MB, free: 10.27 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.748/1.748, allocations: 205.4 MB / 0.6305 GB, free: 10.03 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.00101/0.00101, allocations: 86.92 kB / 0.7439 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004295/0.0004295, allocations: 16.41 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2529, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.85/5.103, allocations: 2.122 GB / 3.101 GB, free: 141.6 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002982/5.103, allocations: 101.2 kB / 3.101 GB, free: 141.6 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 7.112/12.21, allocations: 1.985 GB / 5.086 GB, free: 9.809 MB / 0.9948 GB Notification: Performance of FrontEnd: time 3.356e-06/12.21, allocations: 4 kB / 5.086 GB, free: 9.805 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004886/12.22, allocations: 63.86 kB / 5.086 GB, free: 9.742 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: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 0.01283/12.23, allocations: 3.143 MB / 5.089 GB, free: 6.523 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/12.23, allocations: 8.031 kB / 5.089 GB, free: 6.516 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001132/12.23, allocations: 227.5 kB / 5.09 GB, free: 6.281 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006567/12.24, allocations: 0.7892 MB / 5.09 GB, free: 5.488 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009529/12.25, allocations: 2.368 MB / 5.093 GB, free: 3.07 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002229/12.25, allocations: 123 kB / 5.093 GB, free: 2.949 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008416/12.25, allocations: 171.9 kB / 5.093 GB, free: 2.781 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005952/12.25, allocations: 1.783 MB / 5.095 GB, free: 0.918 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.385e-05/12.25, allocations: 4 kB / 5.095 GB, free: 0.9141 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004242/12.25, allocations: 67.94 kB / 5.095 GB, free: 0.8477 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.779e-05/12.25, allocations: 50.91 kB / 5.095 GB, free: 0.7969 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.759/13.01, allocations: 1.456 MB / 5.096 GB, free: 122.9 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.01489/13.03, allocations: 8.047 MB / 5.104 GB, free: 119.3 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002647/13.03, allocations: 1.747 MB / 5.106 GB, free: 118.5 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00047/13.03, allocations: 213 kB / 5.106 GB, free: 118.3 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001392/13.03, allocations: 0.6302 MB / 5.107 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001376/13.03, allocations: 125.1 kB / 5.107 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=102): time 5.32e-06/13.03, allocations: 1 kB / 5.107 GB, free: 118.2 MB / 0.9948 GB Notification: Performance of matching and sorting (n=105): time 0.009705/13.04, allocations: 3.47 MB / 5.11 GB, free: 117.4 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.381e-05/13.04, allocations: 168.1 kB / 5.11 GB, free: 117.2 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/13.05, allocations: 1.336 MB / 5.112 GB, free: 117 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002911/13.05, allocations: 52.3 kB / 5.112 GB, free: 117 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.00103/13.05, allocations: 0.975 MB / 5.113 GB, free: 116.8 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004658/13.05, allocations: 369 kB / 5.113 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.757e-05/13.05, allocations: 26.06 kB / 5.113 GB, free: 116.6 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001097/13.05, allocations: 357.3 kB / 5.113 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001183/13.05, allocations: 496.5 kB / 5.114 GB, free: 116.3 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001362/13.05, allocations: 0.8619 MB / 5.115 GB, free: 115.9 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.01093/13.06, allocations: 2.327 MB / 5.117 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.308e-05/13.06, allocations: 2.281 kB / 5.117 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004485/13.07, allocations: 1.59 MB / 5.118 GB, free: 115.5 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007378/13.07, allocations: 3.046 MB / 5.121 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.15e-05/13.07, allocations: 11.28 kB / 5.121 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002686/13.07, allocations: 50.59 kB / 5.121 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001528/13.07, allocations: 283.9 kB / 5.122 GB, free: 112.3 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00148/13.07, allocations: 1.571 MB / 5.123 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002732/13.07, allocations: 162.1 kB / 5.123 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002919/13.07, allocations: 58.09 kB / 5.124 GB, free: 111 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/13.07, allocations: 3.719 kB / 5.124 GB, free: 111 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00355/13.08, allocations: 1.405 MB / 5.125 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.976e-05/13.08, allocations: 11.86 kB / 5.125 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001832/13.08, allocations: 52.95 kB / 5.125 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001318/13.08, allocations: 281 kB / 5.125 GB, free: 110.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/13.08, allocations: 1.574 MB / 5.127 GB, free: 109.6 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002581/13.08, allocations: 158.9 kB / 5.127 GB, free: 109.6 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002706/13.08, allocations: 60.44 kB / 5.127 GB, free: 109.6 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.002003/13.08, allocations: 0.5872 MB / 5.128 GB, free: 109.4 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007756/13.09, allocations: 195.5 kB / 5.128 GB, free: 109.3 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00435/13.09, allocations: 1.368 MB / 5.129 GB, free: 109.2 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-05/13.09, allocations: 11.19 kB / 5.129 GB, free: 109.2 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.123e-05/13.09, allocations: 0 / 5.129 GB, free: 109.2 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002784/13.09, allocations: 1.114 MB / 5.13 GB, free: 109.1 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.009845/13.1, allocations: 3.432 MB / 5.134 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/13.1, allocations: 3.938 kB / 5.134 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001192/13.1, allocations: 228.9 kB / 5.134 GB, free: 108.5 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002827/13.1, allocations: 80.59 kB / 5.134 GB, free: 108.4 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001133/13.1, allocations: 26.16 kB / 5.134 GB, free: 108.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002014/13.11, allocations: 2.942 MB / 5.137 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.967e-06/13.11, allocations: 3.953 kB / 5.137 GB, free: 105.9 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004182/13.11, allocations: 2.151 MB / 5.139 GB, free: 105.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001518/13.11, allocations: 372.5 kB / 5.139 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006207/13.11, allocations: 27.53 kB / 5.139 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00206/13.11, allocations: 151 kB / 5.139 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000199/13.11, allocations: 79.27 kB / 5.139 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001151/13.12, allocations: 33.02 kB / 5.139 GB, free: 105.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002301/13.12, allocations: 1.034 MB / 5.14 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2.8e-07/13.12, allocations: 0 / 5.14 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.007029/13.12, allocations: 1.307 MB / 5.142 GB, free: 105.1 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.01123/13.14, allocations: 6.353 MB / 5.148 GB, free: 102.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005984/13.14, allocations: 2.355 MB / 5.15 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/13.14, allocations: 0 / 5.15 GB, free: 102.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001823/13.14, allocations: 0.8223 MB / 5.151 GB, free: 102 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005903/13.15, allocations: 0.9606 MB / 5.152 GB, free: 102 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01874/13.17, allocations: 11.25 MB / 5.163 GB, free: 94.09 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00289/13.17, allocations: 1.637 MB / 5.165 GB, free: 93.36 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.004332/13.18, allocations: 0.5089 MB / 5.165 GB, free: 93.34 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002165/13.18, allocations: 0.8435 MB / 5.166 GB, free: 93.33 MB / 0.9948 GB Notification: Performance of SimCode: time 1.523e-06/13.18, allocations: 0 / 5.166 GB, free: 93.33 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1616/13.34, allocations: 95.46 MB / 5.259 GB, free: 90.84 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001798/13.34, allocations: 243.5 kB / 5.259 GB, free: 90.51 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.43/18.77, allocations: 3.938 kB / 5.259 GB, free: 90.51 MB / 0.9948 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)