Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.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.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.75/2.75, allocations: 287.3 MB / 302.3 MB, free: 8.273 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.002325/0.002325, allocations: 186.8 kB / 370.8 MB, free: 10.82 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.352/2.352, allocations: 205.4 MB / 0.6295 GB, free: 10.57 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.001081/0.00108, allocations: 89.03 kB / 0.7428 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006509/0.0006512, allocations: 19.67 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2274, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9453/1.173, allocations: 142.4 MB / 1.117 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002784/1.173, allocations: 90.45 kB / 1.117 GB, free: 15.19 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04756/1.221, allocations: 12.37 MB / 1.129 GB, free: 29.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.485e-06/1.221, allocations: 0 / 1.129 GB, free: 29.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.668e-05/1.221, allocations: 19.19 kB / 1.129 GB, free: 29.37 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.00346/1.224, allocations: 1.17 MB / 1.131 GB, free: 28.52 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.294e-05/1.224, allocations: 15.55 kB / 1.131 GB, free: 28.52 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002688/1.225, allocations: 114.1 kB / 1.131 GB, free: 28.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002201/1.225, allocations: 97.06 kB / 1.131 GB, free: 28.41 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009968/1.226, allocations: 0.5208 MB / 1.131 GB, free: 28.07 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.957e-05/1.226, allocations: 54.62 kB / 1.131 GB, free: 28.07 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001547/1.226, allocations: 74.22 kB / 1.131 GB, free: 28.07 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002747/1.229, allocations: 0.8608 MB / 1.132 GB, free: 27.81 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.25e-05/1.229, allocations: 0 / 1.132 GB, free: 27.81 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001069/1.229, allocations: 30.19 kB / 1.132 GB, free: 27.81 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.906e-05/1.229, allocations: 15.34 kB / 1.132 GB, free: 27.81 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00325/1.232, allocations: 0.7711 MB / 1.133 GB, free: 27.67 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005706/1.238, allocations: 2.442 MB / 1.136 GB, free: 26.45 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003738/1.242, allocations: 0.8834 MB / 1.136 GB, free: 26.27 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 8.324e-05/1.242, allocations: 12.25 kB / 1.136 GB, free: 26.27 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001757/1.244, allocations: 447.3 kB / 1.137 GB, free: 26.11 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 4.378e-06/1.244, allocations: 4 kB / 1.137 GB, free: 26.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.004519/1.248, allocations: 1.046 MB / 1.138 GB, free: 25.87 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001389/1.249, allocations: 140.6 kB / 1.138 GB, free: 25.71 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001243/1.25, allocations: 0.5749 MB / 1.139 GB, free: 25.53 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002334/1.25, allocations: 40.48 kB / 1.139 GB, free: 25.5 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003787/1.251, allocations: 357.1 kB / 1.139 GB, free: 25.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002531/1.251, allocations: 187.2 kB / 1.139 GB, free: 25.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.209e-05/1.251, allocations: 9.312 kB / 1.139 GB, free: 25.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002587/1.251, allocations: 384.2 kB / 1.139 GB, free: 24.84 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001458/1.253, allocations: 322 kB / 1.14 GB, free: 24.78 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001514/1.254, allocations: 423.5 kB / 1.14 GB, free: 24.62 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001449/1.256, allocations: 384.5 kB / 1.141 GB, free: 24.51 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/1.256, allocations: 0 / 1.141 GB, free: 24.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.003296/1.259, allocations: 0.8928 MB / 1.141 GB, free: 24.24 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002656/1.259, allocations: 412.4 kB / 1.142 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.064e-05/1.259, allocations: 0 / 1.142 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.814e-05/1.259, allocations: 7.859 kB / 1.142 GB, free: 23.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/1.261, allocations: 165.9 kB / 1.142 GB, free: 23.77 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/1.261, allocations: 7.875 kB / 1.142 GB, free: 23.76 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/1.262, allocations: 139.6 kB / 1.142 GB, free: 23.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.371e-05/1.262, allocations: 21.78 kB / 1.142 GB, free: 23.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/1.262, allocations: 3.812 kB / 1.142 GB, free: 23.7 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002464/1.265, allocations: 0.6801 MB / 1.143 GB, free: 23.54 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.265, allocations: 0 / 1.143 GB, free: 23.54 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.123e-05/1.265, allocations: 7.688 kB / 1.143 GB, free: 23.54 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009965/1.266, allocations: 131.2 kB / 1.143 GB, free: 23.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.175e-05/1.266, allocations: 7.797 kB / 1.143 GB, free: 23.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001018/1.267, allocations: 116.5 kB / 1.143 GB, free: 23.46 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.736e-05/1.267, allocations: 22.47 kB / 1.143 GB, free: 23.45 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.0006877/1.267, allocations: 304.8 kB / 1.143 GB, free: 23.25 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001901/1.268, allocations: 73.78 kB / 1.143 GB, free: 23.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003209/1.271, allocations: 0.7879 MB / 1.144 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-05/1.271, allocations: 7.406 kB / 1.144 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.271, allocations: 0 / 1.144 GB, free: 23.02 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.227e-05/1.271, allocations: 7.984 kB / 1.144 GB, free: 23.01 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004496/1.275, allocations: 1.586 MB / 1.146 GB, free: 22.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.125e-06/1.276, allocations: 0 / 1.146 GB, free: 22.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/1.277, allocations: 149.5 kB / 1.146 GB, free: 22.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-05/1.277, allocations: 3.656 kB / 1.146 GB, free: 22.34 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.397e-05/1.277, allocations: 17.81 kB / 1.146 GB, free: 22.33 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.951e-06/1.277, allocations: 0 / 1.146 GB, free: 22.33 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/1.277, allocations: 0 / 1.146 GB, free: 22.33 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004693/1.282, allocations: 1.264 MB / 1.147 GB, free: 21.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003548/1.282, allocations: 157.5 kB / 1.147 GB, free: 21.83 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001726/1.282, allocations: 18.42 kB / 1.147 GB, free: 21.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009714/1.283, allocations: 90.92 kB / 1.147 GB, free: 21.79 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002019/1.283, allocations: 50.48 kB / 1.147 GB, free: 21.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.58e-05/1.283, allocations: 19.36 kB / 1.147 GB, free: 21.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0008441/1.284, allocations: 461 kB / 1.148 GB, free: 21.62 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.1e-07/1.284, allocations: 0 / 1.148 GB, free: 21.62 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001075/1.285, allocations: 269 kB / 1.148 GB, free: 21.57 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.00539/1.291, allocations: 1.836 MB / 1.15 GB, free: 20.66 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004522/1.295, allocations: 1.275 MB / 1.151 GB, free: 20.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/1.295, allocations: 0 / 1.151 GB, free: 20.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001523/1.297, allocations: 376 kB / 1.152 GB, free: 20.14 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001065/1.298, allocations: 108.9 kB / 1.152 GB, free: 20.12 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01336/1.311, allocations: 5.005 MB / 1.157 GB, free: 17.8 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006121/1.312, allocations: 0.9409 MB / 1.157 GB, free: 16.99 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0006951/1.313, allocations: 79.53 kB / 1.158 GB, free: 16.96 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006245/1.313, allocations: 287.4 kB / 1.158 GB, free: 16.92 MB / 0.698 GB Notification: Performance of SimCode: time 2.916e-06/1.313, allocations: 0 / 1.158 GB, free: 16.92 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05358/1.367, allocations: 13.78 MB / 1.171 GB, free: 3.434 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003485/1.367, allocations: 205.9 kB / 1.171 GB, free: 3.191 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.081/4.448, allocations: 0 / 1.171 GB, free: 3.191 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)