Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.8/1.8, allocations: 288.2 MB / 303.2 MB, free: 8.059 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.001166/0.001166, allocations: 179.1 kB / 371.8 MB, free: 10.14 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.011/2.011, allocations: 205.4 MB / 0.6305 GB, free: 10 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.001022/0.001023, allocations: 92.23 kB / 0.7439 GB, free: 5.938 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003945/0.0003945, allocations: 11.12 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2361/0.2365, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7657/1.002, allocations: 142.5 MB / 1.119 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000216/1.003, allocations: 90.34 kB / 1.119 GB, free: 15.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02825/1.031, allocations: 12.38 MB / 1.131 GB, free: 29.25 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.804e-06/1.031, allocations: 0 / 1.131 GB, free: 29.25 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.327e-05/1.031, allocations: 15.19 kB / 1.131 GB, free: 29.25 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 179 * Number of variables: 179 Notification: Performance of Generate backend data structure: time 0.00203/1.033, allocations: 1.17 MB / 1.132 GB, free: 28.41 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/1.033, allocations: 15.47 kB / 1.132 GB, free: 28.41 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001365/1.033, allocations: 112.2 kB / 1.132 GB, free: 28.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001407/1.033, allocations: 101 kB / 1.132 GB, free: 28.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000639/1.034, allocations: 0.522 MB / 1.133 GB, free: 27.95 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.539e-05/1.034, allocations: 55.53 kB / 1.133 GB, free: 27.95 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.22e-05/1.034, allocations: 73.47 kB / 1.133 GB, free: 27.95 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001507/1.036, allocations: 0.8536 MB / 1.134 GB, free: 27.7 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/1.036, allocations: 0 / 1.134 GB, free: 27.7 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.041e-05/1.036, allocations: 31.19 kB / 1.134 GB, free: 27.7 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.553e-05/1.036, allocations: 19.28 kB / 1.134 GB, free: 27.7 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/1.037, allocations: 0.7783 MB / 1.134 GB, free: 27.56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003215/1.041, allocations: 2.427 MB / 1.137 GB, free: 26.35 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00186/1.043, allocations: 0.8906 MB / 1.138 GB, free: 26.17 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.958e-05/1.043, allocations: 12.33 kB / 1.138 GB, free: 26.16 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009032/1.044, allocations: 447.7 kB / 1.138 GB, free: 26 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 3.697e-06/1.044, allocations: 3.719 kB / 1.138 GB, free: 26 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.002278/1.046, allocations: 1.043 MB / 1.139 GB, free: 25.77 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.886e-05/1.046, allocations: 140.6 kB / 1.139 GB, free: 25.61 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000644/1.047, allocations: 0.5722 MB / 1.14 GB, free: 25.42 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 5.927e-05/1.047, allocations: 44.42 kB / 1.14 GB, free: 25.38 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002509/1.047, allocations: 359.8 kB / 1.14 GB, free: 25.2 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001087/1.047, allocations: 178 kB / 1.14 GB, free: 25.07 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.79e-05/1.047, allocations: 11.25 kB / 1.14 GB, free: 25.07 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001679/1.047, allocations: 380.9 kB / 1.141 GB, free: 24.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006829/1.048, allocations: 322.6 kB / 1.141 GB, free: 24.67 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007206/1.049, allocations: 428.4 kB / 1.142 GB, free: 24.51 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007037/1.049, allocations: 389.6 kB / 1.142 GB, free: 24.39 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.247e-06/1.049, allocations: 0 / 1.142 GB, free: 24.39 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001674/1.051, allocations: 0.8835 MB / 1.143 GB, free: 24.13 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002259/1.051, allocations: 422.3 kB / 1.143 GB, free: 23.7 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.287e-06/1.051, allocations: 3.844 kB / 1.143 GB, free: 23.7 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.451e-05/1.051, allocations: 3.844 kB / 1.143 GB, free: 23.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006204/1.052, allocations: 160.5 kB / 1.143 GB, free: 23.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.39e-05/1.052, allocations: 7.672 kB / 1.143 GB, free: 23.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005701/1.053, allocations: 139.6 kB / 1.143 GB, free: 23.59 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/1.053, allocations: 22.3 kB / 1.143 GB, free: 23.59 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/1.053, allocations: 3.844 kB / 1.143 GB, free: 23.59 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001251/1.054, allocations: 0.6864 MB / 1.144 GB, free: 23.43 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/1.054, allocations: 3.906 kB / 1.144 GB, free: 23.43 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.52e-06/1.054, allocations: 7.75 kB / 1.144 GB, free: 23.42 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004671/1.054, allocations: 120.1 kB / 1.144 GB, free: 23.4 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/1.054, allocations: 7.875 kB / 1.144 GB, free: 23.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004984/1.055, allocations: 123 kB / 1.144 GB, free: 23.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.679e-05/1.055, allocations: 19.3 kB / 1.144 GB, free: 23.34 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.TRoo.T_start,TRoo.T_start,$PRE.TRoo.count,TRoo.count,$PRE.m_flow.T_start,m_flow.T_start,$PRE.m_flow.count,m_flow.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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.0007184/1.056, allocations: 309.9 kB / 1.145 GB, free: 23.13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001086/1.056, allocations: 69.59 kB / 1.145 GB, free: 23.1 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001811/1.058, allocations: 0.789 MB / 1.146 GB, free: 22.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.819e-06/1.058, allocations: 7.688 kB / 1.146 GB, free: 22.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.917e-06/1.058, allocations: 0 / 1.146 GB, free: 22.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.058, allocations: 3.984 kB / 1.146 GB, free: 22.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00251/1.06, allocations: 1.592 MB / 1.147 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/1.06, allocations: 0 / 1.147 GB, free: 22.26 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006318/1.061, allocations: 150.3 kB / 1.147 GB, free: 22.22 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.093e-05/1.061, allocations: 3.969 kB / 1.147 GB, free: 22.22 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.665e-05/1.061, allocations: 15.48 kB / 1.147 GB, free: 22.21 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.911e-06/1.061, allocations: 0 / 1.147 GB, free: 22.21 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/1.061, allocations: 0 / 1.147 GB, free: 22.21 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002593/1.064, allocations: 1.261 MB / 1.149 GB, free: 21.86 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002524/1.064, allocations: 159.2 kB / 1.149 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.036e-05/1.064, allocations: 12.84 kB / 1.149 GB, free: 21.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/1.064, allocations: 86.23 kB / 1.149 GB, free: 21.69 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001658/1.065, allocations: 52.55 kB / 1.149 GB, free: 21.67 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.393e-05/1.065, allocations: 18.61 kB / 1.149 GB, free: 21.66 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.000707/1.065, allocations: 464.1 kB / 1.149 GB, free: 21.51 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.92e-07/1.065, allocations: 3.812 kB / 1.149 GB, free: 21.51 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0009277/1.066, allocations: 261.3 kB / 1.15 GB, free: 21.46 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 9 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,TRoo.T_start,TRoo.count,m_flow.T_start,m_flow.count) * Number of discrete states: 2 (m_flow.count,TRoo.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003093/1.069, allocations: 1.835 MB / 1.151 GB, free: 20.55 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.00277/1.072, allocations: 1.279 MB / 1.153 GB, free: 20.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/1.072, allocations: 3.844 kB / 1.153 GB, free: 20.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0008083/1.073, allocations: 373.7 kB / 1.153 GB, free: 20.03 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008329/1.074, allocations: 106.9 kB / 1.153 GB, free: 20.01 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008328/1.082, allocations: 5.005 MB / 1.158 GB, free: 17.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005773/1.083, allocations: 0.9426 MB / 1.159 GB, free: 16.09 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004144/1.083, allocations: 77.22 kB / 1.159 GB, free: 16.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003928/1.084, allocations: 284.3 kB / 1.159 GB, free: 15.93 MB / 0.698 GB Notification: Performance of SimCode: time 2.404e-06/1.084, allocations: 0 / 1.159 GB, free: 15.93 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02924/1.113, allocations: 13.8 MB / 1.173 GB, free: 2.359 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002313/1.113, allocations: 207.5 kB / 1.173 GB, free: 2.117 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.485/3.598, allocations: 0 / 1.173 GB, free: 2.117 MB / 0.698 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)