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.302/2.302, allocations: 248.5 MB / 261.1 MB, free: 6.039 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001492/0.001492, allocations: 174.5 kB / 320.4 MB, free: 15.32 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.028/2.028, allocations: 205.1 MB / 0.571 GB, free: 11.71 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.00119/0.00119, allocations: 98.41 kB / 0.6754 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.748e-05/3.76e-05, allocations: 4 kB / 0.7869 GB, free: 97.78 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2184/0.2185, allocations: 106.3 MB / 0.8907 GB, free: 7.438 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8729/1.091, allocations: 137 MB / 1.024 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003175/1.092, allocations: 88.38 kB / 1.025 GB, free: 14.22 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.0587/1.151, allocations: 14.39 MB / 1.039 GB, free: 2.102 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.633e-06/1.151, allocations: 3.938 kB / 1.039 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.331e-05/1.151, allocations: 16 kB / 1.039 GB, free: 2.082 MB / 0.6511 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.00326/1.154, allocations: 1.064 MB / 1.04 GB, free: 1.008 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 9.162e-05/1.154, allocations: 8.031 kB / 1.04 GB, free: 1 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002871/1.154, allocations: 114.8 kB / 1.04 GB, free: 0.9219 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003217/1.155, allocations: 106.8 kB / 1.04 GB, free: 0.8164 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001192/1.156, allocations: 0.5384 MB / 1.04 GB, free: 364 kB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.033e-05/1.156, allocations: 62.69 kB / 1.04 GB, free: 328 kB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001704/1.156, allocations: 69.12 kB / 1.041 GB, free: 280 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002136/1.158, allocations: 0.748 MB / 1.041 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.244e-05/1.158, allocations: 0 / 1.041 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001057/1.159, allocations: 29.25 kB / 1.041 GB, free: 15.73 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.257e-05/1.159, allocations: 20 kB / 1.041 GB, free: 15.71 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001738/1.16, allocations: 0.525 MB / 1.042 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007288/1.168, allocations: 2.909 MB / 1.045 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002104/1.17, allocations: 0.6094 MB / 1.045 GB, free: 12.66 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008075/1.171, allocations: 268.2 kB / 1.046 GB, free: 12.5 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 8.643e-05/1.171, allocations: 16.38 kB / 1.046 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008673/1.172, allocations: 306.6 kB / 1.046 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 4.449e-06/1.172, allocations: 0 / 1.046 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.001499/1.173, allocations: 0.4897 MB / 1.046 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/1.173, allocations: 137.1 kB / 1.046 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001206/1.175, allocations: 0.5656 MB / 1.047 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0001836/1.175, allocations: 40.08 kB / 1.047 GB, free: 11.28 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003973/1.175, allocations: 360.8 kB / 1.047 GB, free: 11.05 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002635/1.176, allocations: 184.3 kB / 1.048 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.6e-05/1.176, allocations: 12.56 kB / 1.048 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001442/1.176, allocations: 326.5 kB / 1.048 GB, free: 10.57 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005855/1.176, allocations: 187.8 kB / 1.048 GB, free: 10.47 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006765/1.177, allocations: 300 kB / 1.048 GB, free: 10.24 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006052/1.178, allocations: 254.3 kB / 1.049 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.17e-06/1.178, allocations: 0 / 1.049 GB, free: 10.06 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001771/1.18, allocations: 0.6365 MB / 1.049 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/1.18, allocations: 427.6 kB / 1.05 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.087e-06/1.18, allocations: 0 / 1.05 GB, free: 9.125 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/1.18, allocations: 4 kB / 1.05 GB, free: 9.121 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001307/1.181, allocations: 163.2 kB / 1.05 GB, free: 8.965 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.788e-05/1.181, allocations: 11.95 kB / 1.05 GB, free: 8.953 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001244/1.182, allocations: 145.6 kB / 1.05 GB, free: 8.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-05/1.183, allocations: 24.92 kB / 1.05 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.243e-05/1.183, allocations: 0 / 1.05 GB, free: 8.801 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001385/1.184, allocations: 0.5306 MB / 1.05 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/1.184, allocations: 3.984 kB / 1.05 GB, free: 8.422 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.242e-05/1.184, allocations: 4 kB / 1.05 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001076/1.185, allocations: 142.5 kB / 1.051 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.668e-06/1.185, allocations: 0 / 1.051 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/1.186, allocations: 117 kB / 1.051 GB, free: 8.18 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.159e-05/1.186, allocations: 19.42 kB / 1.051 GB, free: 8.164 MB / 0.6667 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 () * 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.0002689/1.187, allocations: 145.4 kB / 1.051 GB, free: 8.031 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001752/1.187, allocations: 78.8 kB / 1.051 GB, free: 7.957 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/1.188, allocations: 0.5311 MB / 1.051 GB, free: 7.605 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/1.188, allocations: 8 kB / 1.051 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/1.188, allocations: 0 / 1.051 GB, free: 7.598 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.443e-05/1.188, allocations: 3.984 kB / 1.051 GB, free: 7.594 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002759/1.191, allocations: 1.365 MB / 1.053 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/1.191, allocations: 8.094 kB / 1.053 GB, free: 6.555 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001257/1.192, allocations: 147.4 kB / 1.053 GB, free: 6.414 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/1.192, allocations: 4 kB / 1.053 GB, free: 6.41 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.025e-05/1.193, allocations: 10.5 kB / 1.053 GB, free: 6.406 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.372e-05/1.193, allocations: 7.938 kB / 1.053 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/1.193, allocations: 0 / 1.053 GB, free: 6.398 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00219/1.195, allocations: 0.9344 MB / 1.054 GB, free: 5.707 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002565/1.195, allocations: 165.5 kB / 1.054 GB, free: 5.539 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001423/1.195, allocations: 19.02 kB / 1.054 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001025/1.196, allocations: 90.16 kB / 1.054 GB, free: 5.445 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002015/1.196, allocations: 54.36 kB / 1.054 GB, free: 5.402 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.331e-05/1.197, allocations: 18.92 kB / 1.054 GB, free: 5.387 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008772/1.197, allocations: 456.5 kB / 1.055 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.42e-07/1.197, allocations: 0 / 1.055 GB, free: 5.062 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001143/1.199, allocations: 265.8 kB / 1.055 GB, free: 4.824 MB / 0.6667 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) * 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.002624/1.201, allocations: 1.705 MB / 1.057 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002285/1.204, allocations: 0.9625 MB / 1.058 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 8.026e-06/1.204, allocations: 384 / 1.058 GB, free: 2.617 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007413/1.204, allocations: 267.9 kB / 1.058 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001227/1.206, allocations: 152.2 kB / 1.058 GB, free: 2.332 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003264/1.209, allocations: 1.057 MB / 1.059 GB, free: 1.387 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006639/1.21, allocations: 0.9555 MB / 1.06 GB, free: 412 kB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009381/1.211, allocations: 120.1 kB / 1.06 GB, free: 288 kB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005618/1.211, allocations: 284.1 kB / 1.06 GB, free: 220 kB / 0.6667 GB Notification: Performance of SimCode: time 1.323e-06/1.211, allocations: 0 / 1.06 GB, free: 220 kB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07253/1.284, allocations: 15.37 MB / 1.075 GB, free: 1.07 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00229/1.286, allocations: 182.5 kB / 1.075 GB, free: 0.8359 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.073/4.36, allocations: 1.719 kB / 1.075 GB, free: 0.8359 MB / 0.6823 GB