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.528/1.528, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001159/0.00116, allocations: 174.7 kB / 326.5 MB, free: 2.25 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.888/1.888, allocations: 205.4 MB / 0.5775 GB, free: 20.3 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.001073/0.001073, allocations: 86.41 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003981/0.0003989, allocations: 9.188 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2735/0.2739, allocations: 106.3 MB / 0.9002 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003634/0.2776, allocations: 3.637 MB / 0.9037 GB, free: 60.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.002763/0.2804, allocations: 1.358 MB / 0.905 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006618/0.2811, allocations: 19.94 kB / 0.905 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001433/0.2813, allocations: 75.16 kB / 0.9051 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0006278/0.2819, allocations: 167.4 kB / 0.9053 GB, free: 58.6 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005273/0.2824, allocations: 247.7 kB / 0.9055 GB, free: 58.36 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0006421/0.2831, allocations: 0.6121 MB / 0.9061 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004573/0.2835, allocations: 363 kB / 0.9065 GB, free: 57.38 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002037/0.2838, allocations: 230.8 kB / 0.9067 GB, free: 57.15 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002252/0.284, allocations: 278.3 kB / 0.9069 GB, free: 56.88 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.696e-05/0.2841, allocations: 28 kB / 0.907 GB, free: 56.85 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.042e-05/0.2841, allocations: 24 kB / 0.907 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.612e-05/0.2842, allocations: 115.4 kB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001031/0.2843, allocations: 165.3 kB / 0.9073 GB, free: 56.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006502/0.285, allocations: 1.033 MB / 0.9083 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.285, allocations: 0 / 0.9083 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.673e-06/0.285, allocations: 0 / 0.9083 GB, free: 55.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.285, allocations: 0 / 0.9083 GB, free: 55.51 MB / 0.6042 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.002138/0.2872, allocations: 1.188 MB / 0.9094 GB, free: 54.26 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.5e-05/0.2872, allocations: 8.031 kB / 0.9094 GB, free: 54.25 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001181/0.2873, allocations: 114.5 kB / 0.9095 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001322/0.2875, allocations: 110.7 kB / 0.9097 GB, free: 54.02 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006807/0.2882, allocations: 0.5591 MB / 0.9102 GB, free: 53.42 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.209e-05/0.2882, allocations: 58 kB / 0.9103 GB, free: 53.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.864e-05/0.2883, allocations: 76 kB / 0.9103 GB, free: 53.29 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/0.2899, allocations: 0.8784 MB / 0.9112 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.93e-05/0.2899, allocations: 3.984 kB / 0.9112 GB, free: 52.37 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.884e-05/0.2899, allocations: 32 kB / 0.9112 GB, free: 52.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.29, allocations: 16 kB / 0.9112 GB, free: 52.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001656/0.2916, allocations: 0.7768 MB / 0.912 GB, free: 51.54 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003186/0.2948, allocations: 3.084 MB / 0.915 GB, free: 48.35 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001932/0.2968, allocations: 0.8442 MB / 0.9158 GB, free: 47.49 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.209e-05/0.2968, allocations: 8.438 kB / 0.9158 GB, free: 47.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00092/0.2978, allocations: 405.2 kB / 0.9162 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 3.126e-06/0.2978, allocations: 0 / 0.9162 GB, free: 47.08 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.002248/0.3, allocations: 0.9745 MB / 0.9172 GB, free: 46.1 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.653e-05/0.3001, allocations: 140.9 kB / 0.9173 GB, free: 45.93 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006637/0.3008, allocations: 0.6566 MB / 0.9179 GB, free: 45.27 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.434e-05/0.3008, allocations: 41.64 kB / 0.918 GB, free: 45.22 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002562/0.3011, allocations: 389.2 kB / 0.9184 GB, free: 44.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001006/0.3012, allocations: 165.6 kB / 0.9185 GB, free: 44.67 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.3012, allocations: 12 kB / 0.9185 GB, free: 44.66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3014, allocations: 386.7 kB / 0.9189 GB, free: 44.27 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007122/0.3021, allocations: 313 kB / 0.9192 GB, free: 43.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007825/0.3029, allocations: 438.5 kB / 0.9196 GB, free: 43.5 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007442/0.3036, allocations: 385.5 kB / 0.92 GB, free: 43.11 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.3036, allocations: 7.938 kB / 0.92 GB, free: 43.1 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001675/0.3053, allocations: 0.8879 MB / 0.9209 GB, free: 42.19 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001773/0.3055, allocations: 0.6725 MB / 0.9215 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.056e-05/0.3055, allocations: 4 kB / 0.9215 GB, free: 41.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.376e-05/0.3056, allocations: 4 kB / 0.9215 GB, free: 41.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.3062, allocations: 167.8 kB / 0.9217 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.869e-06/0.3062, allocations: 4 kB / 0.9217 GB, free: 41.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005561/0.3067, allocations: 151.2 kB / 0.9218 GB, free: 41.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.3068, allocations: 23.95 kB / 0.9219 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/0.3068, allocations: 4 kB / 0.9219 GB, free: 41.11 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001248/0.3081, allocations: 0.6958 MB / 0.9225 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.015e-06/0.3081, allocations: 0 / 0.9225 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.3081, allocations: 4 kB / 0.9225 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004497/0.3085, allocations: 135.9 kB / 0.9227 GB, free: 40.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.02e-06/0.3086, allocations: 4 kB / 0.9227 GB, free: 40.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004459/0.309, allocations: 123.3 kB / 0.9228 GB, free: 40.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.002e-05/0.309, allocations: 24 kB / 0.9228 GB, free: 40.12 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.0003664/0.3094, allocations: 297 kB / 0.9231 GB, free: 39.82 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.732e-05/0.3095, allocations: 75.02 kB / 0.9232 GB, free: 39.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001608/0.3111, allocations: 0.7378 MB / 0.9239 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.586e-06/0.3112, allocations: 4 kB / 0.9239 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.3112, allocations: 0 / 0.9239 GB, free: 38.99 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.187e-06/0.3112, allocations: 3.984 kB / 0.9239 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008409/0.312, allocations: 0.7354 MB / 0.9246 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.736e-06/0.312, allocations: 3.938 kB / 0.9246 GB, free: 38.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005457/0.3126, allocations: 139.8 kB / 0.9248 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.904e-06/0.3126, allocations: 11.95 kB / 0.9248 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.437e-05/0.3127, allocations: 7.984 kB / 0.9248 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.3127, allocations: 8 kB / 0.9248 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/0.3127, allocations: 0 / 0.9248 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002355/0.315, allocations: 1.104 MB / 0.9259 GB, free: 36.91 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001295/0.3152, allocations: 160.1 kB / 0.926 GB, free: 36.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.33e-05/0.3153, allocations: 15.95 kB / 0.926 GB, free: 36.72 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004394/0.3157, allocations: 91.92 kB / 0.9261 GB, free: 36.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.3158, allocations: 48.36 kB / 0.9262 GB, free: 36.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.916e-05/0.3159, allocations: 15.98 kB / 0.9262 GB, free: 36.57 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0004753/0.3164, allocations: 463 kB / 0.9266 GB, free: 36.12 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3164, allocations: 3.938 kB / 0.9266 GB, free: 36.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0006173/0.317, allocations: 255.1 kB / 0.9269 GB, free: 35.86 MB / 0.6042 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: 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 (51): * Single equations (assignments): 47 * 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.002471/0.3195, allocations: 1.667 MB / 0.9285 GB, free: 34.17 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002278/0.3218, allocations: 1.249 MB / 0.9297 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.3218, allocations: 0 / 0.9297 GB, free: 32.86 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0007287/0.3225, allocations: 354.4 kB / 0.93 GB, free: 32.52 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006853/0.3232, allocations: 151 kB / 0.9302 GB, free: 32.38 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008121/0.3313, allocations: 5.386 MB / 0.9355 GB, free: 26.9 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003692/0.3318, allocations: 0.9457 MB / 0.9364 GB, free: 25.93 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0004152/0.3322, allocations: 81.12 kB / 0.9365 GB, free: 25.85 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003568/0.3325, allocations: 287.3 kB / 0.9367 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of SimCode: time 7.91e-07/0.3325, allocations: 0 / 0.9367 GB, free: 25.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02616/0.3587, allocations: 14.16 MB / 0.9506 GB, free: 11.65 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/0.359, allocations: 209.9 kB / 0.9508 GB, free: 11.41 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.559/2.918, allocations: 0 / 0.9508 GB, free: 11.41 MB / 0.6042 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)