Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json 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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_7_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 7.0.1/package.mo): time 2.548/2.548, allocations: 251 MB / 265.9 MB, free: 11.71 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001577/0.001577, allocations: 187.3 kB / 325.5 MB, free: 2.914 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.366/2.366, allocations: 205.4 MB / 0.5764 GB, free: 21.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001171/0.001171, allocations: 87.3 kB / 0.6809 GB, free: 14.1 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.00065/0.0006501, allocations: 14.19 kB / 0.795 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2238/0.2245, allocations: 106.3 MB / 0.8988 GB, free: 65.97 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2417/0.4662, allocations: 137.1 MB / 1.033 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003522/0.4666, allocations: 83.94 kB / 1.033 GB, free: 8.637 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0604/0.5271, allocations: 14.42 MB / 1.047 GB, free: 10.19 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.006e-06/0.5271, allocations: 0 / 1.047 GB, free: 10.19 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.336e-05/0.5272, allocations: 19.94 kB / 1.047 GB, free: 10.17 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.003999/0.5312, allocations: 1.193 MB / 1.048 GB, free: 8.91 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.262e-05/0.5313, allocations: 8.031 kB / 1.048 GB, free: 8.902 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003914/0.5317, allocations: 118.5 kB / 1.048 GB, free: 8.777 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003644/0.5321, allocations: 102.7 kB / 1.048 GB, free: 8.676 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001339/0.5334, allocations: 0.5414 MB / 1.049 GB, free: 8.094 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.418e-05/0.5335, allocations: 58 kB / 1.049 GB, free: 8.039 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001934/0.5337, allocations: 76 kB / 1.049 GB, free: 7.965 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003179/0.5369, allocations: 0.8824 MB / 1.05 GB, free: 7.043 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.217e-05/0.537, allocations: 4 kB / 1.05 GB, free: 7.039 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001094/0.5371, allocations: 28 kB / 1.05 GB, free: 7.012 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.5372, allocations: 16 kB / 1.05 GB, free: 6.996 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003726/0.5409, allocations: 0.7924 MB / 1.051 GB, free: 6.207 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007078/0.5481, allocations: 2.915 MB / 1.053 GB, free: 3.199 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004393/0.5525, allocations: 0.9323 MB / 1.054 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001052/0.5527, allocations: 12.55 kB / 1.054 GB, free: 2.242 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001893/0.5546, allocations: 439.4 kB / 1.055 GB, free: 1.801 MB / 0.698 GB Notification: Performance of pre-optimization done (n=57): time 3.707e-06/0.5546, allocations: 0 / 1.055 GB, free: 1.801 MB / 0.698 GB Notification: Performance of matching and sorting (n=57): time 0.004999/0.5596, allocations: 1.06 MB / 1.056 GB, free: 0.7344 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000115/0.5598, allocations: 137.1 kB / 1.056 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.5612, allocations: 0.5661 MB / 1.056 GB, free: 0 / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.6056/1.167, allocations: 40.05 kB / 1.057 GB, free: 147.1 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005442/1.167, allocations: 360.7 kB / 1.057 GB, free: 147.1 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.000224/1.168, allocations: 190.2 kB / 1.057 GB, free: 147 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.491e-05/1.168, allocations: 11.62 kB / 1.057 GB, free: 147 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.483e-05/1.168, allocations: 326.2 kB / 1.057 GB, free: 146.7 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00163/1.169, allocations: 324.6 kB / 1.058 GB, free: 146.7 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001708/1.171, allocations: 433.1 kB / 1.058 GB, free: 146.6 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001592/1.173, allocations: 398.6 kB / 1.058 GB, free: 146.5 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.891e-06/1.173, allocations: 0 / 1.058 GB, free: 146.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003501/1.176, allocations: 0.9037 MB / 1.059 GB, free: 146.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001644/1.177, allocations: 423.3 kB / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/1.177, allocations: 0 / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.867e-05/1.177, allocations: 3.062 kB / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001343/1.178, allocations: 166.8 kB / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.481e-05/1.178, allocations: 4.156 kB / 1.06 GB, free: 146 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001268/1.179, allocations: 146.3 kB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-05/1.179, allocations: 19.84 kB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/1.179, allocations: 2.906 kB / 1.06 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002502/1.182, allocations: 0.7033 MB / 1.061 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/1.182, allocations: 3.469 kB / 1.061 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/1.182, allocations: 4.844 kB / 1.061 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00104/1.183, allocations: 133.1 kB / 1.061 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/1.183, allocations: 5.469 kB / 1.061 GB, free: 145.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.184, allocations: 121.9 kB / 1.061 GB, free: 145.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.112e-05/1.184, allocations: 25.11 kB / 1.061 GB, free: 145.8 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 ($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,conMix.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 67 * 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.0005931/1.185, allocations: 296.2 kB / 1.061 GB, free: 145.7 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001678/1.185, allocations: 69.94 kB / 1.061 GB, free: 145.6 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/1.188, allocations: 0.8015 MB / 1.062 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/1.188, allocations: 9.031 kB / 1.062 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.839e-06/1.188, allocations: 0.6562 kB / 1.062 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/1.188, allocations: 2.484 kB / 1.062 GB, free: 145.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004909/1.193, allocations: 1.63 MB / 1.064 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.768e-06/1.193, allocations: 2.5 kB / 1.064 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001282/1.195, allocations: 149.3 kB / 1.064 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.31e-05/1.195, allocations: 2.781 kB / 1.064 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.141e-05/1.195, allocations: 14.94 kB / 1.064 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.778e-06/1.195, allocations: 11.77 kB / 1.064 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.195, allocations: 3.031 kB / 1.064 GB, free: 145.2 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005578/1.2, allocations: 1.327 MB / 1.065 GB, free: 144.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003612/1.201, allocations: 159.8 kB / 1.065 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/1.201, allocations: 15.45 kB / 1.065 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.202, allocations: 93.05 kB / 1.066 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002657/1.202, allocations: 50.44 kB / 1.066 GB, free: 144.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.815e-05/1.202, allocations: 21.22 kB / 1.066 GB, free: 144.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001094/1.204, allocations: 462.6 kB / 1.066 GB, free: 144.7 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.204, allocations: 0 / 1.066 GB, free: 144.7 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001344/1.205, allocations: 263.6 kB / 1.066 GB, free: 144.6 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (conMix.conHea.I.y,conMix.conCoo.I.y,conMix.conFloRat.I.y) * Number of discrete variables: 6 ($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.006173/1.211, allocations: 2.094 MB / 1.068 GB, free: 143.6 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.005526/1.217, allocations: 1.29 MB / 1.07 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.054e-05/1.217, allocations: 0.5938 kB / 1.07 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/1.219, allocations: 396.9 kB / 1.07 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/1.22, allocations: 153.1 kB / 1.07 GB, free: 143.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01593/1.236, allocations: 5.072 MB / 1.075 GB, free: 141.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006479/1.237, allocations: 0.9467 MB / 1.076 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008459/1.238, allocations: 88 kB / 1.076 GB, free: 140.7 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000803/1.239, allocations: 298.5 kB / 1.076 GB, free: 140.7 MB / 0.698 GB Notification: Performance of SimCode: time 1.482e-06/1.239, allocations: 0 / 1.076 GB, free: 140.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05264/1.291, allocations: 14.5 MB / 1.091 GB, free: 138.7 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002513/1.292, allocations: 208.8 kB / 1.091 GB, free: 138.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.033/4.325, allocations: 0 / 1.091 GB, free: 138.5 MB / 0.698 GB