Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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_u,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.896/1.896, allocations: 292.6 MB / 307.5 MB, free: 5.211 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.001251/0.001251, allocations: 188.2 kB / 377.1 MB, free: 1.539 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.838/1.838, allocations: 205.4 MB / 0.6366 GB, free: 8.633 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.0009303/0.0009302, allocations: 85.34 kB / 0.7509 GB, free: 62.94 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004093/0.0004093, allocations: 12 kB / 0.8749 GB, free: 11.12 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2814, allocations: 116.3 MB / 0.9884 GB, free: 6.668 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.516/5.798, allocations: 2.123 GB / 3.111 GB, free: 93.21 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002839/5.798, allocations: 100.5 kB / 3.111 GB, free: 93.11 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 8.692/14.49, allocations: 1.985 GB / 5.096 GB, free: 106 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.084e-06/14.49, allocations: 0 / 5.096 GB, free: 106 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004931/14.49, allocations: 65.48 kB / 5.096 GB, free: 106 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.01224/14.5, allocations: 3.141 MB / 5.099 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/14.5, allocations: 8.844 kB / 5.099 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001063/14.5, allocations: 223.8 kB / 5.099 GB, free: 105.1 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006441/14.51, allocations: 0.7904 MB / 5.1 GB, free: 104.9 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008593/14.52, allocations: 2.361 MB / 5.103 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002064/14.52, allocations: 123.2 kB / 5.103 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008102/14.52, allocations: 167.1 kB / 5.103 GB, free: 104.6 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005415/14.53, allocations: 1.789 MB / 5.105 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.594e-05/14.53, allocations: 2.875 kB / 5.105 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/14.53, allocations: 62.75 kB / 5.105 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.231e-05/14.53, allocations: 64.27 kB / 5.105 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003253/14.53, allocations: 1.45 MB / 5.106 GB, free: 104.3 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.01172/14.54, allocations: 8.058 MB / 5.114 GB, free: 100.5 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002163/14.54, allocations: 1.747 MB / 5.116 GB, free: 99.69 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004461/14.54, allocations: 214.4 kB / 5.116 GB, free: 99.5 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001131/14.54, allocations: 0.6397 MB / 5.117 GB, free: 99.44 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001325/14.55, allocations: 126.9 kB / 5.117 GB, free: 99.42 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=102): time 3.476e-06/14.55, allocations: 0 / 5.117 GB, free: 99.42 MB / 0.9948 GB Notification: Performance of matching and sorting (n=105): time 0.008377/14.55, allocations: 3.469 MB / 5.12 GB, free: 98.64 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.368e-05/14.55, allocations: 174 kB / 5.12 GB, free: 98.45 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002071/14.56, allocations: 1.334 MB / 5.121 GB, free: 98.25 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001609/14.56, allocations: 56.86 kB / 5.122 GB, free: 98.21 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009139/14.56, allocations: 0.9657 MB / 5.122 GB, free: 97.96 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003683/14.56, allocations: 371.5 kB / 5.123 GB, free: 97.78 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.184e-05/14.56, allocations: 24.19 kB / 5.123 GB, free: 97.78 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001021/14.56, allocations: 352.8 kB / 5.123 GB, free: 97.47 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009089/14.56, allocations: 0.4905 MB / 5.124 GB, free: 97.47 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001132/14.56, allocations: 0.861 MB / 5.125 GB, free: 97.05 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.009703/14.57, allocations: 2.328 MB / 5.127 GB, free: 96.88 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.005e-05/14.57, allocations: 5.281 kB / 5.127 GB, free: 96.88 MB / 0.9948 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003329/14.57, allocations: 1.589 MB / 5.128 GB, free: 96.68 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006964/14.57, allocations: 3.047 MB / 5.131 GB, free: 93.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.892e-05/14.57, allocations: 15.62 kB / 5.131 GB, free: 93.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001977/14.57, allocations: 51.53 kB / 5.131 GB, free: 93.51 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/14.58, allocations: 281.8 kB / 5.132 GB, free: 93.51 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/14.58, allocations: 1.569 MB / 5.133 GB, free: 92.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00246/14.58, allocations: 157.4 kB / 5.133 GB, free: 92.18 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/14.58, allocations: 57.66 kB / 5.133 GB, free: 92.18 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/14.58, allocations: 5.406 kB / 5.133 GB, free: 92.18 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002563/14.58, allocations: 1.402 MB / 5.135 GB, free: 92.11 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.708e-05/14.58, allocations: 6.656 kB / 5.135 GB, free: 92.11 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001371/14.58, allocations: 61.56 kB / 5.135 GB, free: 92.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/14.58, allocations: 277.1 kB / 5.135 GB, free: 92.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001084/14.58, allocations: 1.574 MB / 5.137 GB, free: 90.77 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002365/14.59, allocations: 164.2 kB / 5.137 GB, free: 90.77 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000116/14.59, allocations: 52.39 kB / 5.137 GB, free: 90.77 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.001557/14.59, allocations: 0.592 MB / 5.137 GB, free: 90.58 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004198/14.59, allocations: 191.4 kB / 5.138 GB, free: 90.48 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002749/14.59, allocations: 1.372 MB / 5.139 GB, free: 90.37 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.33e-05/14.59, allocations: 12.22 kB / 5.139 GB, free: 90.37 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/14.59, allocations: 3.828 kB / 5.139 GB, free: 90.37 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002013/14.59, allocations: 1.114 MB / 5.14 GB, free: 90.27 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.006477/14.6, allocations: 3.42 MB / 5.143 GB, free: 89.66 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/14.6, allocations: 5.562 kB / 5.143 GB, free: 89.66 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001109/14.6, allocations: 230.7 kB / 5.144 GB, free: 89.66 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002451/14.6, allocations: 79.2 kB / 5.144 GB, free: 89.64 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001021/14.6, allocations: 27.97 kB / 5.144 GB, free: 89.64 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001734/14.6, allocations: 2.939 MB / 5.147 GB, free: 87.06 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/14.6, allocations: 0 / 5.147 GB, free: 87.06 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004029/14.61, allocations: 2.149 MB / 5.149 GB, free: 86.64 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/14.61, allocations: 376.7 kB / 5.149 GB, free: 86.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/14.61, allocations: 29.28 kB / 5.149 GB, free: 86.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001451/14.61, allocations: 149.9 kB / 5.149 GB, free: 86.44 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/14.61, allocations: 80.38 kB / 5.149 GB, free: 86.44 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.316e-05/14.61, allocations: 39.64 kB / 5.149 GB, free: 86.44 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.00169/14.61, allocations: 1.032 MB / 5.15 GB, free: 86.29 MB / 0.9948 GB Notification: Performance of sort global known variables: time 1.6e-07/14.61, allocations: 2.656 kB / 5.15 GB, free: 86.29 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.004883/14.62, allocations: 1.313 MB / 5.152 GB, free: 86.25 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.009891/14.63, allocations: 6.336 MB / 5.158 GB, free: 83.81 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.004469/14.63, allocations: 2.355 MB / 5.16 GB, free: 83.38 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/14.63, allocations: 1.25 kB / 5.16 GB, free: 83.38 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001447/14.63, allocations: 0.826 MB / 5.161 GB, free: 83.15 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005074/14.64, allocations: 0.9729 MB / 5.162 GB, free: 83.12 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01381/14.65, allocations: 11.25 MB / 5.173 GB, free: 75.15 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00139/14.65, allocations: 1.638 MB / 5.174 GB, free: 74.41 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.002928/14.66, allocations: 0.5066 MB / 5.175 GB, free: 74.39 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001173/14.66, allocations: 0.8473 MB / 5.176 GB, free: 74.39 MB / 0.9948 GB Notification: Performance of SimCode: time 1.713e-06/14.66, allocations: 0 / 5.176 GB, free: 74.39 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1535/14.81, allocations: 95.44 MB / 5.269 GB, free: 70.83 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001685/14.81, allocations: 241.7 kB / 5.269 GB, free: 70.59 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.245/20.06, allocations: 0 / 5.269 GB, free: 70.59 MB / 0.9948 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)