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.514/2.514, allocations: 248.7 MB / 256.2 MB, free: 7.09 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.001516/0.001516, allocations: 182.3 kB / 315.4 MB, free: 4.016 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.071/2.071, allocations: 205.3 MB / 0.5662 GB, free: 0.625 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001165/0.001165, allocations: 92.7 kB / 0.6704 GB, free: 5.832 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.745e-05/2.746e-05, allocations: 0 / 0.7803 GB, free: 103.3 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2116/0.2117, allocations: 106.2 MB / 0.8841 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8652/1.077, allocations: 137.3 MB / 1.018 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/1.077, allocations: 86.62 kB / 1.018 GB, free: 1.586 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.05706/1.134, allocations: 14.28 MB / 1.032 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.013e-06/1.134, allocations: 0 / 1.032 GB, free: 5.734 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.447e-05/1.135, allocations: 19.94 kB / 1.032 GB, free: 5.715 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.003096/1.138, allocations: 1.065 MB / 1.033 GB, free: 4.645 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.138, allocations: 8.031 kB / 1.033 GB, free: 4.637 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003229/1.138, allocations: 102.7 kB / 1.033 GB, free: 4.535 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00117/1.139, allocations: 0.538 MB / 1.034 GB, free: 4.074 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.854e-05/1.139, allocations: 27.98 kB / 1.034 GB, free: 4.047 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/1.139, allocations: 47.98 kB / 1.034 GB, free: 4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001424/1.141, allocations: 489.6 kB / 1.034 GB, free: 3.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001645/1.143, allocations: 0.6443 MB / 1.035 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/1.143, allocations: 0 / 1.035 GB, free: 3.23 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.495e-05/1.143, allocations: 4 kB / 1.035 GB, free: 3.227 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/1.143, allocations: 20 kB / 1.035 GB, free: 3.207 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006121/1.149, allocations: 2.748 MB / 1.038 GB, free: 0.9883 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001757/1.151, allocations: 0.5741 MB / 1.038 GB, free: 0.6289 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/1.151, allocations: 263.8 kB / 1.039 GB, free: 480 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 7.344e-05/1.151, allocations: 8.547 kB / 1.039 GB, free: 472 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007373/1.152, allocations: 291.2 kB / 1.039 GB, free: 256 kB / 0.6511 GB Notification: Performance of pre-optimization done (n=57): time 4.248e-06/1.152, allocations: 0 / 1.039 GB, free: 256 kB / 0.6511 GB Notification: Performance of matching and sorting (n=57): time 0.001354/1.154, allocations: 471.4 kB / 1.039 GB, free: 15.91 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.647e-05/1.154, allocations: 137.1 kB / 1.039 GB, free: 15.75 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000871/1.155, allocations: 443.8 kB / 1.04 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-05/1.155, allocations: 25.7 kB / 1.04 GB, free: 15.39 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.000421/1.155, allocations: 377 kB / 1.04 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002234/1.155, allocations: 178.6 kB / 1.04 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.892e-05/1.155, allocations: 8 kB / 1.04 GB, free: 14.96 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.000219/1.156, allocations: 370.6 kB / 1.041 GB, free: 14.62 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005006/1.156, allocations: 178.6 kB / 1.041 GB, free: 14.53 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006061/1.157, allocations: 281.4 kB / 1.041 GB, free: 14.31 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005265/1.157, allocations: 202.7 kB / 1.041 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/1.157, allocations: 0 / 1.041 GB, free: 14.2 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001497/1.159, allocations: 0.5274 MB / 1.042 GB, free: 13.82 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.000243/1.159, allocations: 424.5 kB / 1.042 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/1.159, allocations: 0 / 1.042 GB, free: 13.37 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.552e-05/1.159, allocations: 4 kB / 1.042 GB, free: 13.36 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/1.16, allocations: 159.8 kB / 1.042 GB, free: 13.21 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.294e-05/1.16, allocations: 7.938 kB / 1.042 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/1.162, allocations: 131.4 kB / 1.043 GB, free: 13.07 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.518e-05/1.162, allocations: 27.25 kB / 1.043 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/1.162, allocations: 4 kB / 1.043 GB, free: 13.05 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001184/1.163, allocations: 433 kB / 1.043 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/1.163, allocations: 0 / 1.043 GB, free: 12.78 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/1.163, allocations: 4 kB / 1.043 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001037/1.164, allocations: 135.5 kB / 1.043 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.164, allocations: 0 / 1.043 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009096/1.165, allocations: 99.14 kB / 1.043 GB, free: 12.55 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-05/1.165, allocations: 19.94 kB / 1.043 GB, free: 12.54 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.0002157/1.165, allocations: 108.9 kB / 1.043 GB, free: 12.42 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001173/1.166, allocations: 470.4 kB / 1.044 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001299/1.167, allocations: 67.25 kB / 1.044 GB, free: 12.02 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001299/1.168, allocations: 491.9 kB / 1.044 GB, free: 11.69 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.149e-05/1.168, allocations: 4 kB / 1.044 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.098e-06/1.168, allocations: 4 kB / 1.044 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/1.168, allocations: 7.969 kB / 1.044 GB, free: 11.67 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002377/1.17, allocations: 1.222 MB / 1.046 GB, free: 10.75 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/1.17, allocations: 8.094 kB / 1.046 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.172, allocations: 146.8 kB / 1.046 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.255e-05/1.172, allocations: 4 kB / 1.046 GB, free: 10.6 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.451e-05/1.172, allocations: 7.984 kB / 1.046 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.254e-06/1.172, allocations: 3.984 kB / 1.046 GB, free: 10.59 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/1.172, allocations: 4 kB / 1.046 GB, free: 10.58 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001897/1.174, allocations: 0.883 MB / 1.047 GB, free: 9.934 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001926/1.174, allocations: 154.3 kB / 1.047 GB, free: 9.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001438/1.174, allocations: 7.125 kB / 1.047 GB, free: 9.766 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009657/1.175, allocations: 83.86 kB / 1.047 GB, free: 9.684 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001904/1.175, allocations: 54.48 kB / 1.047 GB, free: 9.641 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.595e-05/1.175, allocations: 15.44 kB / 1.047 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0005939/1.176, allocations: 336.4 kB / 1.047 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of sort global known variables: time 5.31e-07/1.176, allocations: 4 kB / 1.047 GB, free: 9.387 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001066/1.177, allocations: 246.8 kB / 1.047 GB, free: 9.145 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.002373/1.179, allocations: 1.651 MB / 1.049 GB, free: 7.727 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001997/1.181, allocations: 0.9217 MB / 1.05 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.181, allocations: 0 / 1.05 GB, free: 7.02 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0006725/1.182, allocations: 246.1 kB / 1.05 GB, free: 6.863 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001136/1.183, allocations: 142 kB / 1.05 GB, free: 6.754 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003074/1.186, allocations: 0.9931 MB / 1.051 GB, free: 5.84 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/1.187, allocations: 0.9507 MB / 1.052 GB, free: 4.863 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008707/1.188, allocations: 100.9 kB / 1.052 GB, free: 4.766 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005368/1.189, allocations: 276.8 kB / 1.053 GB, free: 4.703 MB / 0.6667 GB Notification: Performance of SimCode: time 9.51e-07/1.189, allocations: 4 kB / 1.053 GB, free: 4.699 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06388/1.252, allocations: 13.29 MB / 1.066 GB, free: 7.504 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003472/1.253, allocations: 154.4 kB / 1.066 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.054/4.306, allocations: 4 kB / 1.066 GB, free: 7.312 MB / 0.6823 GB