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.502/2.502, allocations: 284.9 MB / 292.4 MB, free: 10.53 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.001405/0.001405, allocations: 176.9 kB / 360.6 MB, free: 7.27 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.034/2.034, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001092/0.001092, allocations: 87.39 kB / 0.7321 GB, free: 44.74 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.115e-05/3.126e-05, allocations: 8 kB / 0.8509 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7996/0.7997, allocations: 115.3 MB / 0.9634 GB, free: 78.52 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.835/7.635, allocations: 2.127 GB / 3.09 GB, free: 280.4 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002828/7.635, allocations: 95.36 kB / 3.091 GB, free: 280.4 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 10.98/18.61, allocations: 2.048 GB / 5.138 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of FrontEnd: time 2.545e-06/18.61, allocations: 0 / 5.138 GB, free: 114.5 MB / 0.9792 GB Notification: Performance of Transformations before backend: time 0.0005194/18.61, allocations: 58.27 kB / 5.138 GB, free: 114.5 MB / 0.9792 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.01146/18.62, allocations: 2.444 MB / 5.141 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of prepare preOptimizeDAE: time 6.429e-05/18.62, allocations: 9.594 kB / 5.141 GB, free: 113.2 MB / 0.9792 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01191/18.63, allocations: 0.7784 MB / 5.142 GB, free: 113.1 MB / 0.9792 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01337/18.65, allocations: 2.222 MB / 5.144 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001758/18.65, allocations: 44.72 kB / 5.144 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007634/18.65, allocations: 83.72 kB / 5.144 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005245/18.65, allocations: 1.077 MB / 5.145 GB, free: 112.6 MB / 0.9792 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006016/18.66, allocations: 1.321 MB / 5.146 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.548e-05/18.66, allocations: 3.438 kB / 5.146 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002991/18.66, allocations: 0 / 5.146 GB, free: 112.3 MB / 0.9792 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.79e-05/18.66, allocations: 46.53 kB / 5.146 GB, free: 112.3 MB / 0.9792 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.02195/18.68, allocations: 7.173 MB / 5.153 GB, free: 108.4 MB / 0.9792 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003073/18.69, allocations: 1.352 MB / 5.155 GB, free: 107.6 MB / 0.9792 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001501/18.69, allocations: 406.1 kB / 5.155 GB, free: 107.4 MB / 0.9792 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002182/18.69, allocations: 0.7576 MB / 5.156 GB, free: 106.7 MB / 0.9792 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001732/18.69, allocations: 447.3 kB / 5.156 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001787/18.69, allocations: 102.5 kB / 5.156 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of pre-optimization done (n=84): time 9.328e-06/18.69, allocations: 2.844 kB / 5.156 GB, free: 106.5 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84): time 0.01372/18.71, allocations: 1.504 MB / 5.158 GB, free: 106 MB / 0.9792 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.676e-05/18.71, allocations: 165.6 kB / 5.158 GB, free: 105.9 MB / 0.9792 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003889/18.71, allocations: 1.24 MB / 5.159 GB, free: 105.4 MB / 0.9792 GB Notification: Performance of collectPreVariables (initialization): time 0.0003876/18.71, allocations: 28.58 kB / 5.159 GB, free: 105.3 MB / 0.9792 GB Notification: Performance of collectInitialEqns (initialization): time 0.001487/18.71, allocations: 0.936 MB / 5.16 GB, free: 104.6 MB / 0.9792 GB Notification: Performance of collectInitialBindings (initialization): time 0.000644/18.71, allocations: 281.7 kB / 5.16 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001159/18.71, allocations: 0 / 5.16 GB, free: 104.4 MB / 0.9792 GB Notification: Performance of setup shared object (initialization): time 0.0001444/18.71, allocations: 347.4 kB / 5.161 GB, free: 104.1 MB / 0.9792 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001239/18.72, allocations: 336.1 kB / 5.161 GB, free: 103.9 MB / 0.9792 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001693/18.72, allocations: 0.7124 MB / 5.162 GB, free: 103.3 MB / 0.9792 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01085/18.73, allocations: 1.028 MB / 5.163 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.922e-05/18.73, allocations: 3.938 kB / 5.163 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of matching and sorting (n=138) (initialization): time 0.01409/18.74, allocations: 1.741 MB / 5.164 GB, free: 102.6 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 0.001082/18.74, allocations: 3.481 MB / 5.168 GB, free: 98.89 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.161e-05/18.74, allocations: 10.78 kB / 5.168 GB, free: 98.89 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.543e-05/18.74, allocations: 15.53 kB / 5.168 GB, free: 98.89 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003138/18.75, allocations: 261.1 kB / 5.168 GB, free: 98.87 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.802e-05/18.75, allocations: 21.88 kB / 5.168 GB, free: 98.86 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003803/18.75, allocations: 118 kB / 5.168 GB, free: 98.86 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003161/18.75, allocations: 57.81 kB / 5.168 GB, free: 98.84 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/18.75, allocations: 5.969 kB / 5.168 GB, free: 98.84 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0118/18.76, allocations: 1.51 MB / 5.17 GB, free: 98.48 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.491e-05/18.76, allocations: 12 kB / 5.17 GB, free: 98.48 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.467e-05/18.76, allocations: 15.09 kB / 5.17 GB, free: 98.48 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002528/18.77, allocations: 255.2 kB / 5.17 GB, free: 98.46 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.352e-05/18.77, allocations: 23.09 kB / 5.17 GB, free: 98.45 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003584/18.77, allocations: 129.3 kB / 5.17 GB, free: 98.44 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002993/18.77, allocations: 57.8 kB / 5.17 GB, free: 98.43 MB / 0.9792 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.0005144/18.77, allocations: 133.3 kB / 5.17 GB, free: 98.3 MB / 0.9792 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01143/18.78, allocations: 1.436 MB / 5.172 GB, free: 97.9 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005313/18.78, allocations: 178.8 kB / 5.172 GB, free: 97.8 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01191/18.79, allocations: 1.518 MB / 5.173 GB, free: 97.38 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-05/18.79, allocations: 7.125 kB / 5.173 GB, free: 97.38 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.557e-05/18.79, allocations: 2.5 kB / 5.173 GB, free: 97.38 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01078/18.81, allocations: 1.604 MB / 5.175 GB, free: 96.66 MB / 0.9792 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.01777/18.82, allocations: 3.069 MB / 5.178 GB, free: 95.42 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.166e-05/18.82, allocations: 3.938 kB / 5.178 GB, free: 95.41 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002088/18.83, allocations: 174.8 kB / 5.178 GB, free: 95.4 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000343/18.83, allocations: 43.05 kB / 5.178 GB, free: 95.39 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/18.83, allocations: 14.5 kB / 5.178 GB, free: 95.38 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002147/18.83, allocations: 1.377 MB / 5.179 GB, free: 94.08 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/18.83, allocations: 3.844 kB / 5.179 GB, free: 94.08 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01339/18.84, allocations: 2.12 MB / 5.182 GB, free: 93.23 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001786/18.84, allocations: 331.4 kB / 5.182 GB, free: 93 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006827/18.84, allocations: 11.17 kB / 5.182 GB, free: 92.99 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003592/18.85, allocations: 130.6 kB / 5.182 GB, free: 92.98 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003594/18.85, allocations: 61.75 kB / 5.182 GB, free: 92.98 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001724/18.85, allocations: 29.22 kB / 5.182 GB, free: 92.97 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.002735/18.85, allocations: 0.9241 MB / 5.183 GB, free: 92.59 MB / 0.9792 GB Notification: Performance of sort global known variables: time 8.91e-07/18.85, allocations: 0 / 5.183 GB, free: 92.59 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.006773/18.86, allocations: 1.199 MB / 5.184 GB, free: 92.24 MB / 0.9792 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.01787/18.88, allocations: 6.57 MB / 5.191 GB, free: 88.84 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.003705/18.88, allocations: 1.577 MB / 5.192 GB, free: 87.32 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.106e-05/18.88, allocations: 0.75 kB / 5.192 GB, free: 87.32 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.001235/18.88, allocations: 0.4944 MB / 5.193 GB, free: 86.84 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006349/18.89, allocations: 0.7572 MB / 5.193 GB, free: 86.28 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01256/18.9, allocations: 3.313 MB / 5.197 GB, free: 83.35 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001335/18.9, allocations: 1.543 MB / 5.198 GB, free: 82.09 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.005019/18.91, allocations: 0.6463 MB / 5.199 GB, free: 81.64 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001639/18.91, allocations: 0.7469 MB / 5.199 GB, free: 80.96 MB / 0.9792 GB Notification: Performance of SimCode: time 1.272e-06/18.91, allocations: 4 kB / 5.199 GB, free: 80.96 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1782/19.09, allocations: 68.46 MB / 5.266 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002581/19.09, allocations: 166 kB / 5.266 GB, free: 14.65 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.093/25.18, allocations: 0 / 5.266 GB, free: 14.65 MB / 0.9792 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)