Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.748/1.748, allocations: 289.7 MB / 302.2 MB, free: 2.152 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.001169/0.001169, allocations: 183.1 kB / 371.6 MB, free: 3.324 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.1 MB / 0.6309 GB, free: 11.75 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.0009008/0.0009009, allocations: 93.03 kB / 0.745 GB, free: 54.52 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.746e-05/4.782e-05, allocations: 4 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2968/0.2969, allocations: 116.3 MB / 0.9799 GB, free: 10.48 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9564/1.253, allocations: 143.4 MB / 1.12 GB, free: 41.36 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002057/1.254, allocations: 85.89 kB / 1.12 GB, free: 41.33 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.02865/1.282, allocations: 12.35 MB / 1.132 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.614e-06/1.282, allocations: 0 / 1.132 GB, free: 35.05 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.222e-05/1.282, allocations: 23.94 kB / 1.132 GB, free: 35.02 MB / 0.7448 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.001762/1.284, allocations: 1.047 MB / 1.133 GB, free: 34.1 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/1.284, allocations: 12.03 kB / 1.133 GB, free: 34.09 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001363/1.284, allocations: 115 kB / 1.133 GB, free: 34.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001451/1.285, allocations: 100.2 kB / 1.133 GB, free: 33.93 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007292/1.285, allocations: 0.5013 MB / 1.134 GB, free: 33.54 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.743e-05/1.285, allocations: 69.52 kB / 1.134 GB, free: 33.5 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001013/1.285, allocations: 70.19 kB / 1.134 GB, free: 33.46 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001171/1.287, allocations: 0.7157 MB / 1.135 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/1.287, allocations: 0 / 1.135 GB, free: 33.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.176e-05/1.287, allocations: 27.47 kB / 1.135 GB, free: 33.04 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.686e-05/1.287, allocations: 20 kB / 1.135 GB, free: 33.02 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008354/1.288, allocations: 0.5029 MB / 1.135 GB, free: 32.73 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/1.291, allocations: 2.44 MB / 1.138 GB, free: 31.37 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00103/1.292, allocations: 0.5795 MB / 1.138 GB, free: 31.02 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003532/1.292, allocations: 255.9 kB / 1.138 GB, free: 30.88 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 5.492e-05/1.292, allocations: 17.08 kB / 1.138 GB, free: 30.86 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000648/1.293, allocations: 308.4 kB / 1.139 GB, free: 30.69 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=57): time 3.857e-06/1.293, allocations: 0 / 1.139 GB, free: 30.69 MB / 0.7448 GB Notification: Performance of matching and sorting (n=57): time 0.001364/1.295, allocations: 500 kB / 1.139 GB, free: 30.36 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.592e-05/1.295, allocations: 138.3 kB / 1.139 GB, free: 30.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001123/1.296, allocations: 0.5683 MB / 1.14 GB, free: 29.8 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 8.802e-05/1.296, allocations: 40.61 kB / 1.14 GB, free: 29.77 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.000473/1.296, allocations: 355.7 kB / 1.14 GB, free: 29.58 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/1.297, allocations: 181.8 kB / 1.14 GB, free: 29.44 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/1.297, allocations: 10.88 kB / 1.14 GB, free: 29.43 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002196/1.297, allocations: 382.2 kB / 1.141 GB, free: 29.11 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005185/1.297, allocations: 178.8 kB / 1.141 GB, free: 29.01 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006256/1.298, allocations: 285.4 kB / 1.141 GB, free: 28.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005827/1.299, allocations: 254.5 kB / 1.141 GB, free: 28.63 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.051e-06/1.299, allocations: 4 kB / 1.141 GB, free: 28.62 MB / 0.7448 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001583/1.3, allocations: 0.614 MB / 1.142 GB, free: 28.19 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002922/1.301, allocations: 424.5 kB / 1.142 GB, free: 27.74 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.328e-05/1.301, allocations: 0 / 1.142 GB, free: 27.74 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.81e-05/1.301, allocations: 4 kB / 1.143 GB, free: 27.74 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001304/1.302, allocations: 162.5 kB / 1.143 GB, free: 27.61 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.656e-05/1.302, allocations: 9.453 kB / 1.143 GB, free: 27.61 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/1.303, allocations: 149.4 kB / 1.143 GB, free: 27.5 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.651e-05/1.303, allocations: 20.58 kB / 1.143 GB, free: 27.48 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/1.303, allocations: 4 kB / 1.143 GB, free: 27.48 MB / 0.7448 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001303/1.305, allocations: 0.5252 MB / 1.143 GB, free: 27.13 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/1.305, allocations: 0 / 1.143 GB, free: 27.13 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/1.305, allocations: 4 kB / 1.143 GB, free: 27.13 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008888/1.306, allocations: 127.4 kB / 1.143 GB, free: 27.03 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.008e-05/1.306, allocations: 8.828 kB / 1.143 GB, free: 27.02 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008573/1.306, allocations: 112.2 kB / 1.144 GB, free: 26.94 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.806e-05/1.306, allocations: 23.39 kB / 1.144 GB, free: 26.92 MB / 0.7448 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 () * 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.0002576/1.307, allocations: 134.6 kB / 1.144 GB, free: 26.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001644/1.307, allocations: 75.81 kB / 1.144 GB, free: 26.73 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001584/1.309, allocations: 0.5285 MB / 1.144 GB, free: 26.43 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/1.309, allocations: 8 kB / 1.144 GB, free: 26.42 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/1.309, allocations: 0.7969 kB / 1.144 GB, free: 26.42 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.503e-05/1.309, allocations: 3.562 kB / 1.144 GB, free: 26.42 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003197/1.312, allocations: 1.333 MB / 1.146 GB, free: 25.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/1.312, allocations: 0 / 1.146 GB, free: 25.65 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001022/1.313, allocations: 146.9 kB / 1.146 GB, free: 25.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.166e-05/1.313, allocations: 0 / 1.146 GB, free: 25.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.667e-05/1.313, allocations: 12.66 kB / 1.146 GB, free: 25.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.943e-06/1.313, allocations: 4 kB / 1.146 GB, free: 25.53 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/1.313, allocations: 0 / 1.146 GB, free: 25.53 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/1.315, allocations: 0.8642 MB / 1.147 GB, free: 24.96 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002325/1.315, allocations: 161.3 kB / 1.147 GB, free: 24.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/1.315, allocations: 23.73 kB / 1.147 GB, free: 24.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008871/1.316, allocations: 89.34 kB / 1.147 GB, free: 24.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002492/1.317, allocations: 51.12 kB / 1.147 GB, free: 24.71 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.962e-05/1.317, allocations: 16.94 kB / 1.147 GB, free: 24.7 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0009384/1.318, allocations: 456.6 kB / 1.147 GB, free: 24.4 MB / 0.7448 GB Notification: Performance of sort global known variables: time 3.01e-07/1.318, allocations: 0 / 1.147 GB, free: 24.4 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.001266/1.319, allocations: 256.6 kB / 1.148 GB, free: 24.18 MB / 0.7448 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) * 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.002697/1.322, allocations: 1.452 MB / 1.149 GB, free: 23.02 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.002465/1.324, allocations: 0.9405 MB / 1.15 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/1.324, allocations: 0 / 1.15 GB, free: 22.29 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0007027/1.325, allocations: 249.2 kB / 1.15 GB, free: 22.14 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001236/1.326, allocations: 113.9 kB / 1.15 GB, free: 22.08 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/1.329, allocations: 1.019 MB / 1.151 GB, free: 21.29 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006473/1.33, allocations: 0.9429 MB / 1.152 GB, free: 20.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0008852/1.331, allocations: 111.9 kB / 1.152 GB, free: 20.34 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005797/1.332, allocations: 278 kB / 1.153 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of SimCode: time 1.172e-06/1.332, allocations: 0 / 1.153 GB, free: 20.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04229/1.374, allocations: 14.63 MB / 1.167 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001538/1.374, allocations: 167.2 kB / 1.167 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.84/4.214, allocations: 0 / 1.167 GB, free: 11.46 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)