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 1.74/1.74, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001088/0.001089, allocations: 185 kB / 377.1 MB, free: 1.504 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.743/1.743, allocations: 205.4 MB / 0.6366 GB, free: 8.621 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.0009403/0.0009401, allocations: 96.52 kB / 0.7509 GB, free: 62.98 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004042/0.0004044, allocations: 15.98 kB / 0.8749 GB, free: 11.09 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2996/0.3001, allocations: 116.3 MB / 0.9884 GB, free: 6.637 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.588/5.888, allocations: 2.129 GB / 3.117 GB, free: 49.57 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/5.889, allocations: 99.95 kB / 3.117 GB, free: 49.47 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.623/14.51, allocations: 2.072 GB / 5.189 GB, free: 107 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.863e-06/14.51, allocations: 0 / 5.189 GB, free: 107 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0002498/14.51, allocations: 63.14 kB / 5.189 GB, free: 107 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: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.008732/14.52, allocations: 2.954 MB / 5.192 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.924e-05/14.52, allocations: 7.125 kB / 5.192 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004826/14.52, allocations: 199.3 kB / 5.192 GB, free: 105.8 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00514/14.53, allocations: 0.7812 MB / 5.193 GB, free: 105.6 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006444/14.53, allocations: 2.237 MB / 5.195 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.098e-05/14.53, allocations: 110.3 kB / 5.195 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002382/14.53, allocations: 141.6 kB / 5.196 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003039/14.54, allocations: 1.597 MB / 5.197 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.718e-05/14.54, allocations: 0 / 5.197 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001378/14.54, allocations: 58.94 kB / 5.197 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.753e-05/14.54, allocations: 45.03 kB / 5.197 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002499/14.54, allocations: 1.274 MB / 5.199 GB, free: 104.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.009775/14.55, allocations: 7.407 MB / 5.206 GB, free: 100.9 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001985/14.55, allocations: 1.503 MB / 5.207 GB, free: 100.2 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001036/14.55, allocations: 0.7519 MB / 5.208 GB, free: 99.49 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009679/14.55, allocations: 0.5244 MB / 5.208 GB, free: 99.42 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001068/14.55, allocations: 121.2 kB / 5.209 GB, free: 99.39 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 3.456e-06/14.55, allocations: 0 / 5.209 GB, free: 99.39 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.003413/14.56, allocations: 1.507 MB / 5.21 GB, free: 99.13 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.694e-05/14.56, allocations: 165.3 kB / 5.21 GB, free: 98.95 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001868/14.56, allocations: 1.356 MB / 5.212 GB, free: 98.73 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 9.064e-05/14.56, allocations: 48.88 kB / 5.212 GB, free: 98.7 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007907/14.56, allocations: 0.9382 MB / 5.213 GB, free: 98.38 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002247/14.56, allocations: 295.8 kB / 5.213 GB, free: 98.2 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.455e-05/14.56, allocations: 20.16 kB / 5.213 GB, free: 98.2 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 9.457e-05/14.56, allocations: 356 kB / 5.213 GB, free: 97.89 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007809/14.56, allocations: 409.5 kB / 5.214 GB, free: 97.88 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/14.56, allocations: 0.799 MB / 5.214 GB, free: 97.43 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009207/14.56, allocations: 0.5154 MB / 5.215 GB, free: 97.39 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/14.56, allocations: 2.625 kB / 5.215 GB, free: 97.39 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002401/14.57, allocations: 1.364 MB / 5.216 GB, free: 97.21 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007437/14.57, allocations: 3.49 MB / 5.22 GB, free: 93.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.596e-05/14.57, allocations: 12.44 kB / 5.22 GB, free: 93.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.411e-05/14.57, allocations: 16.31 kB / 5.22 GB, free: 93.57 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/14.57, allocations: 256.7 kB / 5.22 GB, free: 93.57 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.67e-05/14.57, allocations: 22.03 kB / 5.22 GB, free: 93.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/14.57, allocations: 139 kB / 5.22 GB, free: 93.57 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000139/14.57, allocations: 55.02 kB / 5.22 GB, free: 93.57 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/14.57, allocations: 5.406 kB / 5.22 GB, free: 93.57 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002247/14.57, allocations: 1.179 MB / 5.221 GB, free: 93.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.336e-05/14.57, allocations: 14.02 kB / 5.221 GB, free: 93.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.681e-05/14.57, allocations: 16.12 kB / 5.221 GB, free: 93.52 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001004/14.57, allocations: 254.5 kB / 5.221 GB, free: 93.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.205e-05/14.57, allocations: 18 kB / 5.221 GB, free: 93.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001793/14.58, allocations: 149.9 kB / 5.222 GB, free: 93.51 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/14.58, allocations: 51.75 kB / 5.222 GB, free: 93.51 MB / 0.9948 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 () * Number of clocked 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.001701/14.58, allocations: 0.5465 MB / 5.222 GB, free: 93.3 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003097/14.58, allocations: 176.5 kB / 5.222 GB, free: 93.21 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002525/14.58, allocations: 1.119 MB / 5.223 GB, free: 93.11 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.177e-05/14.58, allocations: 11.64 kB / 5.223 GB, free: 93.11 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/14.58, allocations: 0 / 5.223 GB, free: 93.11 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001811/14.58, allocations: 1.185 MB / 5.225 GB, free: 92.62 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.005405/14.59, allocations: 2.69 MB / 5.227 GB, free: 92.15 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.244e-06/14.59, allocations: 0 / 5.227 GB, free: 92.15 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008946/14.59, allocations: 175.4 kB / 5.227 GB, free: 92.14 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002532/14.59, allocations: 50.08 kB / 5.227 GB, free: 92.13 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.536e-05/14.59, allocations: 31.41 kB / 5.228 GB, free: 92.13 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/14.59, allocations: 1.428 MB / 5.229 GB, free: 90.86 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/14.59, allocations: 2.656 kB / 5.229 GB, free: 90.86 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003041/14.59, allocations: 1.737 MB / 5.231 GB, free: 90.45 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000906/14.59, allocations: 341.1 kB / 5.231 GB, free: 90.27 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/14.59, allocations: 26.64 kB / 5.231 GB, free: 90.26 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/14.59, allocations: 139.2 kB / 5.231 GB, free: 90.25 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001407/14.59, allocations: 61 kB / 5.231 GB, free: 90.25 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.081e-05/14.59, allocations: 36.97 kB / 5.231 GB, free: 90.25 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001594/14.6, allocations: 1.042 MB / 5.232 GB, free: 90.11 MB / 0.9948 GB Notification: Performance of sort global known variables: time 3e-07/14.6, allocations: 0 / 5.232 GB, free: 90.11 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004753/14.6, allocations: 1.327 MB / 5.234 GB, free: 89.94 MB / 0.9948 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) * Number of clocked states: 0 () * 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.009124/14.61, allocations: 6.065 MB / 5.239 GB, free: 87.4 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.003504/14.61, allocations: 1.764 MB / 5.241 GB, free: 87.13 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 7.555e-06/14.61, allocations: 0 / 5.241 GB, free: 87.13 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001114/14.62, allocations: 0.5833 MB / 5.242 GB, free: 86.99 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003859/14.62, allocations: 0.7886 MB / 5.242 GB, free: 86.95 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01153/14.63, allocations: 11.46 MB / 5.254 GB, free: 78.38 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001023/14.63, allocations: 1.54 MB / 5.255 GB, free: 77.66 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002336/14.63, allocations: 452.2 kB / 5.256 GB, free: 77.63 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009546/14.63, allocations: 0.7737 MB / 5.256 GB, free: 77.62 MB / 0.9948 GB Notification: Performance of SimCode: time 1.452e-06/14.63, allocations: 0 / 5.256 GB, free: 77.62 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1401/14.78, allocations: 87.88 MB / 5.342 GB, free: 34.35 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001571/14.78, allocations: 235 kB / 5.342 GB, free: 34.11 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.216/19.99, allocations: 7.234 kB / 5.342 GB, free: 34.11 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)