Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.868/2.868, allocations: 287.3 MB / 302.3 MB, free: 8.23 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.001595/0.001595, allocations: 186.6 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.143/2.143, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001065/0.001065, allocations: 90.3 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.00106/0.00106, allocations: 16.78 kB / 0.8657 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2476/0.2487, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.761/7.01, allocations: 2.128 GB / 3.106 GB, free: 139.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/7.011, allocations: 100.3 kB / 3.106 GB, free: 139.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 11.45/18.46, allocations: 2.072 GB / 5.178 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of FrontEnd: time 2.775e-06/18.46, allocations: 0 / 5.178 GB, free: 123.3 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 0.0004032/18.46, allocations: 61.91 kB / 5.178 GB, free: 123.3 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.0142/18.48, allocations: 2.961 MB / 5.181 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 7.434e-05/18.48, allocations: 11.69 kB / 5.181 GB, free: 122.4 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001252/18.48, allocations: 193.3 kB / 5.181 GB, free: 122.3 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009942/18.49, allocations: 0.7784 MB / 5.182 GB, free: 122.2 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009285/18.5, allocations: 2.225 MB / 5.184 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001636/18.5, allocations: 113 kB / 5.184 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004183/18.5, allocations: 145 kB / 5.184 GB, free: 121.8 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005052/18.51, allocations: 1.603 MB / 5.186 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/18.51, allocations: 2.812 kB / 5.186 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004471/18.51, allocations: 56.25 kB / 5.186 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001167/18.51, allocations: 44.72 kB / 5.186 GB, free: 121.6 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005735/18.51, allocations: 1.276 MB / 5.187 GB, free: 121.5 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.01507/18.53, allocations: 7.394 MB / 5.195 GB, free: 117.7 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003496/18.53, allocations: 1.495 MB / 5.196 GB, free: 117 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001644/18.53, allocations: 0.7577 MB / 5.197 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/18.53, allocations: 0.5228 MB / 5.197 GB, free: 116.2 MB / 0.9948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001418/18.54, allocations: 126.9 kB / 5.197 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=84): time 5.129e-06/18.54, allocations: 3.75 kB / 5.197 GB, free: 116.1 MB / 0.9948 GB Notification: Performance of matching and sorting (n=84): time 0.005925/18.54, allocations: 1.496 MB / 5.199 GB, free: 115.9 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.072e-05/18.54, allocations: 169.4 kB / 5.199 GB, free: 115.7 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00292/18.54, allocations: 1.361 MB / 5.2 GB, free: 115.5 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 0.000306/18.54, allocations: 47.56 kB / 5.2 GB, free: 115.5 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009828/18.55, allocations: 0.9352 MB / 5.201 GB, free: 115.2 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000377/18.55, allocations: 296.4 kB / 5.202 GB, free: 115.1 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001122/18.55, allocations: 24.97 kB / 5.202 GB, free: 115.1 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001065/18.55, allocations: 349.3 kB / 5.202 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001488/18.55, allocations: 407.5 kB / 5.202 GB, free: 114.8 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001684/18.55, allocations: 0.7908 MB / 5.203 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/18.55, allocations: 0.5257 MB / 5.204 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.024e-05/18.55, allocations: 5.156 kB / 5.204 GB, free: 114.3 MB / 0.9948 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.004274/18.56, allocations: 1.364 MB / 5.205 GB, free: 114.1 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008579/18.56, allocations: 3.49 MB / 5.208 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.908e-05/18.56, allocations: 10.94 kB / 5.208 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.681e-05/18.56, allocations: 16.06 kB / 5.208 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002088/18.56, allocations: 252.2 kB / 5.209 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.948e-05/18.56, allocations: 23.95 kB / 5.209 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002736/18.56, allocations: 148.2 kB / 5.209 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/18.56, allocations: 56.11 kB / 5.209 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/18.56, allocations: 6.75 kB / 5.209 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00369/18.57, allocations: 1.181 MB / 5.21 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.874e-05/18.57, allocations: 9.219 kB / 5.21 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.194e-05/18.57, allocations: 16.47 kB / 5.21 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001866/18.57, allocations: 258.1 kB / 5.21 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.409e-05/18.57, allocations: 21.25 kB / 5.21 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/18.57, allocations: 143.4 kB / 5.21 GB, free: 110.4 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001459/18.57, allocations: 52.25 kB / 5.21 GB, free: 110.4 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.001534/18.57, allocations: 0.549 MB / 5.211 GB, free: 110.2 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004343/18.57, allocations: 179.9 kB / 5.211 GB, free: 110.1 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00395/18.58, allocations: 1.109 MB / 5.212 GB, free: 110 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-05/18.58, allocations: 10.06 kB / 5.212 GB, free: 110 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.094e-05/18.58, allocations: 3.812 kB / 5.212 GB, free: 110 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003103/18.58, allocations: 1.172 MB / 5.213 GB, free: 109.5 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.007845/18.59, allocations: 2.704 MB / 5.216 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.394e-06/18.59, allocations: 0 / 5.216 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00163/18.59, allocations: 182.1 kB / 5.216 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003011/18.59, allocations: 45.12 kB / 5.216 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.865e-05/18.59, allocations: 25.48 kB / 5.216 GB, free: 109.1 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001452/18.59, allocations: 1.421 MB / 5.218 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/18.59, allocations: 7.312 kB / 5.218 GB, free: 107.8 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005097/18.6, allocations: 1.735 MB / 5.219 GB, free: 107.4 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/18.6, allocations: 339.3 kB / 5.22 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000309/18.6, allocations: 19.88 kB / 5.22 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002008/18.6, allocations: 146.8 kB / 5.22 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002049/18.6, allocations: 66.73 kB / 5.22 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001011/18.6, allocations: 36.06 kB / 5.22 GB, free: 107.2 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.002173/18.6, allocations: 1.038 MB / 5.221 GB, free: 107.1 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.11e-07/18.6, allocations: 2.594 kB / 5.221 GB, free: 107.1 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.005924/18.61, allocations: 1.325 MB / 5.222 GB, free: 107 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.01217/18.62, allocations: 6.088 MB / 5.228 GB, free: 104.5 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.005554/18.63, allocations: 1.761 MB / 5.23 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.177e-06/18.63, allocations: 0 / 5.23 GB, free: 104.3 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.001768/18.63, allocations: 0.5811 MB / 5.23 GB, free: 104.2 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005983/18.63, allocations: 0.7862 MB / 5.231 GB, free: 104.1 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01586/18.65, allocations: 11.47 MB / 5.242 GB, free: 95.62 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001299/18.65, allocations: 1.538 MB / 5.244 GB, free: 94.88 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.00339/18.65, allocations: 465.7 kB / 5.244 GB, free: 94.86 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001477/18.66, allocations: 0.7778 MB / 5.245 GB, free: 94.85 MB / 0.9948 GB Notification: Performance of SimCode: time 1.332e-06/18.66, allocations: 0 / 5.245 GB, free: 94.85 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1901/18.85, allocations: 87.84 MB / 5.331 GB, free: 91.32 MB / 0.9948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002654/18.85, allocations: 249.8 kB / 5.331 GB, free: 91.08 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.608/25.45, allocations: 0 / 5.331 GB, free: 91.08 MB / 0.9948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T_fmu --startTime=0 --stopTime=172800 --timeout=50 --tolerance=1e-08 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1)