Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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_T,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.499/1.499, allocations: 249.3 MB / 261.8 MB, free: 5.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001227/0.001227, allocations: 174.6 kB / 321.3 MB, free: 14.63 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.564/1.564, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.0009131/0.0009132, allocations: 92.94 kB / 0.6764 GB, free: 15.62 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.69e-05/3.693e-05, allocations: 4 kB / 0.788 GB, free: 96.99 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2472, allocations: 106.3 MB / 0.8919 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.326/6.573, allocations: 2.246 GB / 3.138 GB, free: 135.5 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000239/6.574, allocations: 91.95 kB / 3.138 GB, free: 135.4 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 8.399/14.97, allocations: 2.004 GB / 5.143 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of FrontEnd: time 2.344e-06/14.97, allocations: 0 / 5.143 GB, free: 105.5 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 0.0002867/14.97, allocations: 60.67 kB / 5.143 GB, free: 105.5 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: 336 * Number of variables: 336 Notification: Performance of Generate backend data structure: time 0.007815/14.98, allocations: 2.455 MB / 5.145 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 5.132e-05/14.98, allocations: 6.75 kB / 5.145 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004836/14.98, allocations: 197.9 kB / 5.145 GB, free: 104.4 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005161/14.99, allocations: 0.7672 MB / 5.146 GB, free: 104.2 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00676/14.99, allocations: 2.21 MB / 5.148 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/14.99, allocations: 109.2 kB / 5.148 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003743/14.99, allocations: 150.8 kB / 5.148 GB, free: 103.8 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003006/15, allocations: 1.52 MB / 5.15 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.995e-05/15, allocations: 5.656 kB / 5.15 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001567/15, allocations: 58.95 kB / 5.15 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.321e-05/15, allocations: 46.05 kB / 5.15 GB, free: 103.5 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00221/15, allocations: 1.136 MB / 5.151 GB, free: 103.5 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.01158/15.01, allocations: 7.411 MB / 5.158 GB, free: 99.5 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001553/15.01, allocations: 1.35 MB / 5.16 GB, free: 98.81 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006179/15.01, allocations: 413.3 kB / 5.16 GB, free: 98.8 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001032/15.01, allocations: 0.7547 MB / 5.161 GB, free: 98.05 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007123/15.01, allocations: 480.6 kB / 5.161 GB, free: 97.98 MB / 0.9167 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001243/15.02, allocations: 128.6 kB / 5.161 GB, free: 97.95 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=84): time 4.669e-06/15.02, allocations: 0 / 5.161 GB, free: 97.95 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84): time 0.001847/15.02, allocations: 0.9112 MB / 5.162 GB, free: 97.8 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.469e-05/15.02, allocations: 176.3 kB / 5.162 GB, free: 97.61 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/15.02, allocations: 1.346 MB / 5.164 GB, free: 97.38 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001073/15.02, allocations: 48.28 kB / 5.164 GB, free: 97.34 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007921/15.02, allocations: 0.9362 MB / 5.165 GB, free: 97.03 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002184/15.02, allocations: 294 kB / 5.165 GB, free: 96.84 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.459e-05/15.02, allocations: 27.58 kB / 5.165 GB, free: 96.84 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001061/15.02, allocations: 346.4 kB / 5.165 GB, free: 96.54 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005497/15.02, allocations: 343.4 kB / 5.166 GB, free: 96.54 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007343/15.02, allocations: 0.7324 MB / 5.166 GB, free: 96.07 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006768/15.02, allocations: 480.2 kB / 5.167 GB, free: 96.01 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.033e-06/15.02, allocations: 3.688 kB / 5.167 GB, free: 96.01 MB / 0.9167 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.002056/15.03, allocations: 1.233 MB / 5.168 GB, free: 95.79 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008259/15.03, allocations: 3.489 MB / 5.171 GB, free: 92.15 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.029e-05/15.03, allocations: 15.53 kB / 5.171 GB, free: 92.15 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.865e-05/15.03, allocations: 15.16 kB / 5.171 GB, free: 92.15 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/15.03, allocations: 253.7 kB / 5.172 GB, free: 92.13 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.502e-05/15.03, allocations: 23.81 kB / 5.172 GB, free: 92.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/15.03, allocations: 154.8 kB / 5.172 GB, free: 92.12 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/15.03, allocations: 49.33 kB / 5.172 GB, free: 92.12 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/15.03, allocations: 3.781 kB / 5.172 GB, free: 92.12 MB / 0.9167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001916/15.03, allocations: 1.058 MB / 5.173 GB, free: 92.01 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.837e-05/15.03, allocations: 7.688 kB / 5.173 GB, free: 92.01 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.473e-05/15.03, allocations: 18.73 kB / 5.173 GB, free: 92.01 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001/15.03, allocations: 261.5 kB / 5.173 GB, free: 91.99 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.262e-05/15.03, allocations: 19.67 kB / 5.173 GB, free: 91.99 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002133/15.03, allocations: 146.2 kB / 5.173 GB, free: 91.98 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001211/15.04, allocations: 58.33 kB / 5.173 GB, free: 91.97 MB / 0.9167 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 () * 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.0004267/15.04, allocations: 178.5 kB / 5.174 GB, free: 91.85 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003153/15.04, allocations: 180.8 kB / 5.174 GB, free: 91.75 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002153/15.04, allocations: 0.9883 MB / 5.175 GB, free: 91.66 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/15.04, allocations: 10.97 kB / 5.175 GB, free: 91.66 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/15.04, allocations: 0 / 5.175 GB, free: 91.66 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001166/15.04, allocations: 1.048 MB / 5.176 GB, free: 91.19 MB / 0.9167 GB Warning: The model contains alias variables with conflicting start and/or 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.004709/15.04, allocations: 2.671 MB / 5.178 GB, free: 90.61 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.412e-06/15.04, allocations: 3.703 kB / 5.178 GB, free: 90.61 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000849/15.04, allocations: 178.2 kB / 5.179 GB, free: 90.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002104/15.05, allocations: 46.69 kB / 5.179 GB, free: 90.59 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.373e-05/15.05, allocations: 23.06 kB / 5.179 GB, free: 90.59 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00105/15.05, allocations: 1.418 MB / 5.18 GB, free: 89.32 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.876e-06/15.05, allocations: 2.969 kB / 5.18 GB, free: 89.32 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002235/15.05, allocations: 1.56 MB / 5.182 GB, free: 88.91 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008552/15.05, allocations: 340 kB / 5.182 GB, free: 88.73 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001869/15.05, allocations: 28.09 kB / 5.182 GB, free: 88.72 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001112/15.05, allocations: 148 kB / 5.182 GB, free: 88.71 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001398/15.05, allocations: 56.2 kB / 5.182 GB, free: 88.71 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.451e-05/15.05, allocations: 32.28 kB / 5.182 GB, free: 88.71 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.001706/15.05, allocations: 1.033 MB / 5.183 GB, free: 88.55 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.3e-07/15.05, allocations: 0 / 5.183 GB, free: 88.55 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.005242/15.06, allocations: 1.322 MB / 5.184 GB, free: 88.38 MB / 0.9167 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) * 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.009766/15.07, allocations: 5.852 MB / 5.19 GB, free: 85.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003306/15.07, allocations: 1.646 MB / 5.192 GB, free: 85.52 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.518e-06/15.07, allocations: 2.953 kB / 5.192 GB, free: 85.52 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.000897/15.07, allocations: 0.518 MB / 5.192 GB, free: 85.39 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004069/15.08, allocations: 0.7785 MB / 5.193 GB, free: 85.35 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008628/15.08, allocations: 3.395 MB / 5.196 GB, free: 84.46 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/15.09, allocations: 1.547 MB / 5.198 GB, free: 83.73 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.003091/15.09, allocations: 0.6578 MB / 5.199 GB, free: 83.68 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009475/15.09, allocations: 0.7506 MB / 5.199 GB, free: 83.27 MB / 0.9167 GB Notification: Performance of SimCode: time 1.352e-06/15.09, allocations: 3.938 kB / 5.199 GB, free: 83.27 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1583/15.25, allocations: 98.6 MB / 5.296 GB, free: 4.566 MB / 0.9167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001704/15.25, allocations: 224.5 kB / 5.296 GB, free: 4.34 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.496/20.74, allocations: 0 / 5.296 GB, free: 4.34 MB / 0.9167 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)