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.431/1.431, allocations: 251.9 MB / 266.8 MB, free: 11.02 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.00143/0.00143, allocations: 182.4 kB / 326.5 MB, free: 2.242 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.975/1.975, allocations: 205.4 MB / 0.5775 GB, free: 20.54 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.0009863/0.0009863, allocations: 89.66 kB / 0.6821 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003425/0.0003424, allocations: 9.719 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2422/0.2425, allocations: 106.3 MB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.389/5.632, allocations: 2.246 GB / 3.146 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000277/5.632, allocations: 102.4 kB / 3.146 GB, free: 221.2 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 7.768/13.4, allocations: 2.007 GB / 5.153 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of FrontEnd: time 2.915e-06/13.4, allocations: 0 / 5.153 GB, free: 128.8 MB / 0.9323 GB Notification: Performance of Transformations before backend: time 0.0005317/13.4, allocations: 61.22 kB / 5.153 GB, free: 128.8 MB / 0.9323 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.01273/13.41, allocations: 2.968 MB / 5.156 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 6.51e-05/13.41, allocations: 8.625 kB / 5.156 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001117/13.41, allocations: 196.1 kB / 5.156 GB, free: 128.1 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006381/13.42, allocations: 0.7698 MB / 5.157 GB, free: 127.9 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009516/13.43, allocations: 2.229 MB / 5.159 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000265/13.43, allocations: 110.1 kB / 5.159 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008497/13.43, allocations: 152.2 kB / 5.159 GB, free: 127.6 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005694/13.44, allocations: 1.608 MB / 5.161 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.735e-05/13.44, allocations: 3.844 kB / 5.161 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003599/13.44, allocations: 56.78 kB / 5.161 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.295e-05/13.44, allocations: 46.33 kB / 5.161 GB, free: 127.3 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003577/13.44, allocations: 1.28 MB / 5.162 GB, free: 127.3 MB / 0.9323 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.01351/13.45, allocations: 7.394 MB / 5.169 GB, free: 123.4 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/13.46, allocations: 1.497 MB / 5.171 GB, free: 122.7 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001124/13.46, allocations: 0.7534 MB / 5.172 GB, free: 122 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001127/13.46, allocations: 0.5255 MB / 5.172 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001446/13.46, allocations: 127.5 kB / 5.172 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=84): time 1.083e-05/13.46, allocations: 0 / 5.172 GB, free: 121.9 MB / 0.9323 GB Notification: Performance of matching and sorting (n=84): time 0.004042/13.46, allocations: 1.492 MB / 5.174 GB, free: 121.6 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.514e-05/13.46, allocations: 166.8 kB / 5.174 GB, free: 121.5 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003343/13.47, allocations: 1.366 MB / 5.175 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 0.0002023/13.47, allocations: 53.92 kB / 5.175 GB, free: 121.2 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.001206/13.47, allocations: 0.9413 MB / 5.176 GB, free: 121 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/13.47, allocations: 293.7 kB / 5.177 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.301e-05/13.47, allocations: 19.81 kB / 5.177 GB, free: 120.8 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001284/13.47, allocations: 346.8 kB / 5.177 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009537/13.47, allocations: 406.7 kB / 5.177 GB, free: 120.5 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001174/13.47, allocations: 0.7888 MB / 5.178 GB, free: 120.1 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001126/13.47, allocations: 0.5265 MB / 5.179 GB, free: 120 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.152e-05/13.47, allocations: 7.406 kB / 5.179 GB, free: 120 MB / 0.9323 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.003274/13.48, allocations: 1.357 MB / 5.18 GB, free: 119.8 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009936/13.48, allocations: 3.485 MB / 5.183 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.447e-05/13.48, allocations: 10.12 kB / 5.183 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.337e-05/13.48, allocations: 23.45 kB / 5.183 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001139/13.48, allocations: 258.5 kB / 5.184 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.08e-05/13.48, allocations: 15.47 kB / 5.184 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/13.48, allocations: 149.9 kB / 5.184 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001718/13.48, allocations: 57.28 kB / 5.184 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.34e-05/13.48, allocations: 3.125 kB / 5.184 GB, free: 116.2 MB / 0.9323 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002465/13.48, allocations: 1.179 MB / 5.185 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.045e-05/13.48, allocations: 10.66 kB / 5.185 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.143e-05/13.48, allocations: 15.84 kB / 5.185 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001031/13.49, allocations: 255.7 kB / 5.185 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.104e-05/13.49, allocations: 26.47 kB / 5.185 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00211/13.49, allocations: 139.9 kB / 5.185 GB, free: 116.1 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001418/13.49, allocations: 55.5 kB / 5.185 GB, free: 116.1 MB / 0.9323 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.001409/13.49, allocations: 0.5452 MB / 5.186 GB, free: 115.9 MB / 0.9323 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005871/13.49, allocations: 178.7 kB / 5.186 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00286/13.49, allocations: 1.104 MB / 5.187 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.113e-05/13.49, allocations: 10.84 kB / 5.187 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.076e-05/13.49, allocations: 3.75 kB / 5.187 GB, free: 115.8 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001887/13.49, allocations: 1.177 MB / 5.188 GB, free: 115.3 MB / 0.9323 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.006928/13.5, allocations: 2.694 MB / 5.191 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/13.5, allocations: 0 / 5.191 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009056/13.5, allocations: 177.9 kB / 5.191 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002426/13.5, allocations: 43.19 kB / 5.191 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.791e-05/13.5, allocations: 25.95 kB / 5.191 GB, free: 114.8 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001239/13.5, allocations: 1.426 MB / 5.193 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/13.5, allocations: 6.672 kB / 5.193 GB, free: 113.6 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00387/13.51, allocations: 1.728 MB / 5.194 GB, free: 113.2 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001547/13.51, allocations: 341.8 kB / 5.195 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007195/13.51, allocations: 24.38 kB / 5.195 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001972/13.51, allocations: 144.2 kB / 5.195 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001911/13.51, allocations: 64.17 kB / 5.195 GB, free: 113 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.158e-05/13.51, allocations: 35.77 kB / 5.195 GB, free: 113 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.002659/13.52, allocations: 1.047 MB / 5.196 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of sort global known variables: time 3.81e-07/13.52, allocations: 0 / 5.196 GB, free: 112.8 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.008724/13.52, allocations: 1.313 MB / 5.197 GB, free: 112.7 MB / 0.9323 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.01179/13.54, allocations: 6.072 MB / 5.203 GB, free: 110.3 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.004505/13.54, allocations: 1.754 MB / 5.205 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.153e-05/13.54, allocations: 2.812 kB / 5.205 GB, free: 110.1 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.001382/13.54, allocations: 0.571 MB / 5.205 GB, free: 110 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004809/13.55, allocations: 0.7956 MB / 5.206 GB, free: 110 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01598/13.56, allocations: 11.49 MB / 5.217 GB, free: 101.4 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001883/13.56, allocations: 1.542 MB / 5.219 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.00288/13.57, allocations: 463.4 kB / 5.219 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001461/13.57, allocations: 0.7729 MB / 5.22 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of SimCode: time 1.252e-06/13.57, allocations: 2.594 kB / 5.22 GB, free: 100.7 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1524/13.72, allocations: 87.79 MB / 5.306 GB, free: 98.06 MB / 0.9323 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000164/13.72, allocations: 261.9 kB / 5.306 GB, free: 97.72 MB / 0.9323 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.265/18.99, allocations: 0 / 5.306 GB, free: 97.72 MB / 0.9323 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)