Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_7_0_x_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.3-maint.7.0.x/package.mo): time 1.394/1.394, allocations: 249.5 MB / 257 MB, free: 7.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.001003/0.001003, allocations: 180.9 kB / 316.3 MB, free: 3.223 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.693/1.693, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0008785/0.0008784, allocations: 101.7 kB / 0.6714 GB, free: 4.938 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.882e-05/1.863e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2129, allocations: 106.3 MB / 0.8853 GB, free: 12.14 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.761/0.9739, allocations: 137.5 MB / 1.02 GB, free: 308 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002596/0.9742, allocations: 84.12 kB / 1.02 GB, free: 256 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.03704/1.011, allocations: 14.28 MB / 1.034 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.957e-06/1.011, allocations: 0 / 1.034 GB, free: 4.402 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.673e-05/1.011, allocations: 19.94 kB / 1.034 GB, free: 4.383 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.002009/1.013, allocations: 1.07 MB / 1.035 GB, free: 3.309 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/1.013, allocations: 8.031 kB / 1.035 GB, free: 3.301 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000167/1.014, allocations: 102.8 kB / 1.035 GB, free: 3.199 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007576/1.014, allocations: 0.5401 MB / 1.035 GB, free: 2.734 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.416e-05/1.014, allocations: 31.19 kB / 1.035 GB, free: 2.707 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.055e-05/1.015, allocations: 44 kB / 1.035 GB, free: 2.664 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008649/1.015, allocations: 488.1 kB / 1.036 GB, free: 2.395 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001111/1.017, allocations: 0.6417 MB / 1.036 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/1.017, allocations: 0 / 1.036 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.083e-05/1.017, allocations: 0 / 1.036 GB, free: 1.898 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.15e-05/1.017, allocations: 20 kB / 1.036 GB, free: 1.879 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003742/1.02, allocations: 2.752 MB / 1.039 GB, free: 15.65 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001062/1.021, allocations: 0.5787 MB / 1.04 GB, free: 15.29 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003734/1.022, allocations: 265.1 kB / 1.04 GB, free: 15.13 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.036e-05/1.022, allocations: 8.562 kB / 1.04 GB, free: 15.12 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000483/1.022, allocations: 281.9 kB / 1.04 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 2.665e-06/1.022, allocations: 0 / 1.04 GB, free: 14.92 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.0008155/1.023, allocations: 477.5 kB / 1.041 GB, free: 14.58 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.162e-05/1.023, allocations: 137.1 kB / 1.041 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005323/1.024, allocations: 442.6 kB / 1.041 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 4.96e-05/1.024, allocations: 33.7 kB / 1.041 GB, free: 14.05 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/1.024, allocations: 373.5 kB / 1.042 GB, free: 13.79 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/1.024, allocations: 180.7 kB / 1.042 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.794e-05/1.024, allocations: 0 / 1.042 GB, free: 13.64 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001803/1.025, allocations: 368.3 kB / 1.042 GB, free: 13.29 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002864/1.025, allocations: 178.3 kB / 1.042 GB, free: 13.2 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003748/1.025, allocations: 284 kB / 1.043 GB, free: 12.98 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/1.026, allocations: 197.6 kB / 1.043 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.035e-06/1.026, allocations: 0 / 1.043 GB, free: 12.87 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0008329/1.027, allocations: 0.5317 MB / 1.043 GB, free: 12.48 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002333/1.027, allocations: 419.5 kB / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.027, allocations: 4.062 kB / 1.044 GB, free: 12.04 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.523e-05/1.027, allocations: 7.938 kB / 1.044 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006831/1.027, allocations: 163.5 kB / 1.044 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/1.028, allocations: 8.047 kB / 1.044 GB, free: 11.87 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005615/1.028, allocations: 127.4 kB / 1.044 GB, free: 11.74 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.472e-05/1.028, allocations: 18 kB / 1.044 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 8.566e-06/1.028, allocations: 4 kB / 1.044 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006743/1.029, allocations: 436.1 kB / 1.044 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.334e-06/1.029, allocations: 4.094 kB / 1.044 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.58e-06/1.029, allocations: 4 kB / 1.044 GB, free: 11.44 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005301/1.029, allocations: 138.8 kB / 1.045 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.756e-06/1.029, allocations: 0 / 1.045 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004592/1.03, allocations: 91.53 kB / 1.045 GB, free: 11.22 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.14e-05/1.03, allocations: 23.36 kB / 1.045 GB, free: 11.2 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.0001542/1.03, allocations: 124.5 kB / 1.045 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0007144/1.031, allocations: 462.2 kB / 1.045 GB, free: 10.74 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.908e-05/1.031, allocations: 63.2 kB / 1.045 GB, free: 10.68 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008007/1.032, allocations: 493.4 kB / 1.046 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/1.032, allocations: 4 kB / 1.046 GB, free: 10.35 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/1.032, allocations: 4 kB / 1.046 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.606e-06/1.032, allocations: 3.984 kB / 1.046 GB, free: 10.34 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001613/1.033, allocations: 1.228 MB / 1.047 GB, free: 9.418 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/1.033, allocations: 4 kB / 1.047 GB, free: 9.414 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006276/1.034, allocations: 143.8 kB / 1.047 GB, free: 9.277 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.338e-06/1.034, allocations: 7.984 kB / 1.047 GB, free: 9.27 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.768e-05/1.034, allocations: 8 kB / 1.047 GB, free: 9.262 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.038e-06/1.034, allocations: 3.938 kB / 1.047 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/1.034, allocations: 4 kB / 1.047 GB, free: 9.254 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001155/1.035, allocations: 0.8776 MB / 1.048 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.035, allocations: 148.5 kB / 1.048 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.557e-05/1.036, allocations: 7.984 kB / 1.048 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/1.036, allocations: 78.55 kB / 1.048 GB, free: 8.371 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/1.036, allocations: 65.12 kB / 1.048 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.727e-05/1.036, allocations: 19.67 kB / 1.048 GB, free: 8.301 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003857/1.037, allocations: 335 kB / 1.049 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of sort global known variables: time 1.81e-07/1.037, allocations: 0 / 1.049 GB, free: 8.062 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007101/1.037, allocations: 254.6 kB / 1.049 GB, free: 7.816 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.001654/1.039, allocations: 1.642 MB / 1.05 GB, free: 6.402 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.001286/1.04, allocations: 0.9154 MB / 1.051 GB, free: 5.695 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.059e-06/1.04, allocations: 8.062 kB / 1.051 GB, free: 5.688 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003768/1.041, allocations: 250.5 kB / 1.052 GB, free: 5.527 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007025/1.041, allocations: 129.9 kB / 1.052 GB, free: 5.43 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001919/1.043, allocations: 0.999 MB / 1.053 GB, free: 4.508 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005531/1.044, allocations: 0.9546 MB / 1.054 GB, free: 3.527 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004953/1.044, allocations: 100.8 kB / 1.054 GB, free: 3.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003453/1.045, allocations: 275.9 kB / 1.054 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of SimCode: time 3.01e-07/1.045, allocations: 0 / 1.054 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03547/1.08, allocations: 13.3 MB / 1.067 GB, free: 6.176 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/1.081, allocations: 169.1 kB / 1.067 GB, free: 5.984 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.422/3.502, allocations: 0 / 1.067 GB, free: 5.984 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)