Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 251.9 MB / 266.9 MB, free: 10.98 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001182/0.001182, allocations: 187 kB / 326.5 MB, free: 2.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.935/1.935, allocations: 205.4 MB / 0.5775 GB, free: 20.49 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009905/0.0009906, allocations: 97 kB / 0.6821 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003525/0.0003527, allocations: 10.47 kB / 0.7963 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2248, allocations: 106.3 MB / 0.9002 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.27/5.495, allocations: 2.24 GB / 3.14 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002604/5.495, allocations: 99.3 kB / 3.14 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 6.672/12.17, allocations: 1.926 GB / 5.066 GB, free: 62.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 3.376e-06/12.17, allocations: 0 / 5.066 GB, free: 62.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0003376/12.17, allocations: 63.98 kB / 5.066 GB, free: 62.44 MB / 0.9167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 382 * Number of variables: 382 Notification: Performance of Generate backend data structure: time 0.01142/12.18, allocations: 3.156 MB / 5.069 GB, free: 59.21 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.178e-05/12.18, allocations: 8.031 kB / 5.069 GB, free: 59.2 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008727/12.18, allocations: 227.6 kB / 5.07 GB, free: 58.96 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005734/12.19, allocations: 0.7847 MB / 5.07 GB, free: 58.18 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008312/12.19, allocations: 2.376 MB / 5.073 GB, free: 55.75 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001323/12.19, allocations: 119 kB / 5.073 GB, free: 55.64 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000391/12.19, allocations: 164 kB / 5.073 GB, free: 55.48 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00338/12.2, allocations: 1.815 MB / 5.075 GB, free: 53.59 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.447e-05/12.2, allocations: 0 / 5.075 GB, free: 53.59 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/12.2, allocations: 64 kB / 5.075 GB, free: 53.52 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.797e-05/12.2, allocations: 54.94 kB / 5.075 GB, free: 53.47 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002649/12.2, allocations: 1.464 MB / 5.076 GB, free: 52 MB / 0.9167 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.01065/12.21, allocations: 8.074 MB / 5.084 GB, free: 43.33 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001986/12.21, allocations: 1.737 MB / 5.086 GB, free: 41.45 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004166/12.21, allocations: 215.1 kB / 5.086 GB, free: 41.2 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001088/12.22, allocations: 0.6453 MB / 5.087 GB, free: 40.54 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001198/12.22, allocations: 115.2 kB / 5.087 GB, free: 40.43 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=102): time 4.628e-06/12.22, allocations: 0 / 5.087 GB, free: 40.43 MB / 0.9167 GB Notification: Performance of matching and sorting (n=105): time 0.007454/12.22, allocations: 3.459 MB / 5.09 GB, free: 36.89 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.39e-05/12.22, allocations: 171.2 kB / 5.09 GB, free: 36.69 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001917/12.23, allocations: 1.338 MB / 5.092 GB, free: 35.31 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.000168/12.23, allocations: 57.7 kB / 5.092 GB, free: 35.25 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007319/12.23, allocations: 0.9795 MB / 5.093 GB, free: 34.26 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002687/12.23, allocations: 370.6 kB / 5.093 GB, free: 33.89 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/12.23, allocations: 24 kB / 5.093 GB, free: 33.87 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.843e-05/12.23, allocations: 353.9 kB / 5.093 GB, free: 33.52 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008591/12.23, allocations: 494.3 kB / 5.094 GB, free: 33.04 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/12.23, allocations: 0.8664 MB / 5.095 GB, free: 32.01 MB / 0.9167 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.00929/12.24, allocations: 2.298 MB / 5.097 GB, free: 29.69 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.588e-06/12.24, allocations: 4 kB / 5.097 GB, free: 29.68 MB / 0.9167 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.003208/12.24, allocations: 1.583 MB / 5.098 GB, free: 28.09 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006536/12.24, allocations: 3.044 MB / 5.101 GB, free: 24.81 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.38e-05/12.24, allocations: 8 kB / 5.101 GB, free: 24.8 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001866/12.24, allocations: 52.83 kB / 5.101 GB, free: 24.75 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/12.24, allocations: 283.6 kB / 5.102 GB, free: 24.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001124/12.24, allocations: 1.569 MB / 5.103 GB, free: 22.76 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002159/12.25, allocations: 159.7 kB / 5.103 GB, free: 22.61 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/12.25, allocations: 59.98 kB / 5.103 GB, free: 22.55 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 8.465e-06/12.25, allocations: 3.953 kB / 5.103 GB, free: 22.54 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002359/12.25, allocations: 1.393 MB / 5.105 GB, free: 21.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.19e-05/12.25, allocations: 8.125 kB / 5.105 GB, free: 21.13 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001387/12.25, allocations: 56.84 kB / 5.105 GB, free: 21.07 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001047/12.25, allocations: 275.5 kB / 5.105 GB, free: 20.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001068/12.25, allocations: 1.573 MB / 5.107 GB, free: 19.1 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002304/12.25, allocations: 167.7 kB / 5.107 GB, free: 18.94 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/12.25, allocations: 55.98 kB / 5.107 GB, free: 18.88 MB / 0.9167 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.001413/12.26, allocations: 0.5982 MB / 5.107 GB, free: 18.27 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003657/12.26, allocations: 197.6 kB / 5.108 GB, free: 18.08 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002513/12.26, allocations: 1.358 MB / 5.109 GB, free: 16.7 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.117e-06/12.26, allocations: 16.06 kB / 5.109 GB, free: 16.68 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.28e-06/12.26, allocations: 4 kB / 5.109 GB, free: 16.68 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001793/12.26, allocations: 1.106 MB / 5.11 GB, free: 15.55 MB / 0.9167 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.005798/12.27, allocations: 3.426 MB / 5.113 GB, free: 12.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.434e-06/12.27, allocations: 4 kB / 5.113 GB, free: 12 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001054/12.27, allocations: 223.7 kB / 5.114 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002338/12.27, allocations: 89.56 kB / 5.114 GB, free: 11.7 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.332e-05/12.27, allocations: 31.98 kB / 5.114 GB, free: 11.66 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001681/12.27, allocations: 2.931 MB / 5.117 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-06/12.27, allocations: 0 / 5.117 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003379/12.27, allocations: 2.134 MB / 5.119 GB, free: 6.266 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001111/12.27, allocations: 386.5 kB / 5.119 GB, free: 5.867 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002211/12.27, allocations: 24 kB / 5.119 GB, free: 5.844 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001343/12.28, allocations: 163.7 kB / 5.119 GB, free: 5.684 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001592/12.28, allocations: 72.89 kB / 5.119 GB, free: 5.613 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.308e-05/12.28, allocations: 43.94 kB / 5.119 GB, free: 5.57 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001498/12.28, allocations: 1.044 MB / 5.12 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.5e-07/12.28, allocations: 0 / 5.12 GB, free: 4.504 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.004682/12.28, allocations: 1.296 MB / 5.122 GB, free: 3.207 MB / 0.9167 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.009073/12.29, allocations: 6.319 MB / 5.128 GB, free: 12.58 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004733/12.3, allocations: 2.347 MB / 5.13 GB, free: 10.18 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 9.838e-06/12.3, allocations: 4 kB / 5.13 GB, free: 10.17 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001424/12.3, allocations: 0.8241 MB / 5.131 GB, free: 9.324 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004868/12.3, allocations: 0.9706 MB / 5.132 GB, free: 8.359 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6147/12.92, allocations: 11.27 MB / 5.143 GB, free: 118.9 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001388/12.92, allocations: 1.64 MB / 5.145 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.003025/12.92, allocations: 0.5014 MB / 5.145 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00135/12.92, allocations: 0.8485 MB / 5.146 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of SimCode: time 8.92e-07/12.92, allocations: 1.75 kB / 5.146 GB, free: 118.2 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1722/13.09, allocations: 95.55 MB / 5.239 GB, free: 116.3 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001617/13.1, allocations: 248 kB / 5.239 GB, free: 116 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.361/18.46, allocations: 0 / 5.239 GB, free: 116 MB / 0.9323 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1)