Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.846/1.846, allocations: 288.2 MB / 303.2 MB, free: 8.09 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001183/0.001182, allocations: 181 kB / 371.8 MB, free: 10.3 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.745/1.745, allocations: 205.4 MB / 0.6305 GB, free: 10.04 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 107.3 kB / 0.7439 GB, free: 5.961 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004202/0.0004203, allocations: 11.25 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2597/0.2602, allocations: 115.3 MB / 0.9795 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003408/0.2636, allocations: 3.28 MB / 0.9827 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.002091/0.2658, allocations: 1.248 MB / 0.9839 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003865/0.2662, allocations: 12 kB / 0.9839 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001057/0.2663, allocations: 63.23 kB / 0.984 GB, free: 23 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0005302/0.2668, allocations: 139.5 kB / 0.9841 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004747/0.2673, allocations: 227.6 kB / 0.9843 GB, free: 22.64 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005985/0.2679, allocations: 0.542 MB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000453/0.2684, allocations: 379.6 kB / 0.9852 GB, free: 21.71 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000205/0.2686, allocations: 230.8 kB / 0.9854 GB, free: 21.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002601/0.2689, allocations: 278.3 kB / 0.9857 GB, free: 21.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.64e-05/0.269, allocations: 24 kB / 0.9857 GB, free: 21.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.57e-05/0.269, allocations: 24 kB / 0.9857 GB, free: 21.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.341e-05/0.2691, allocations: 115.4 kB / 0.9859 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001095/0.2692, allocations: 157.3 kB / 0.986 GB, free: 20.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006036/0.2699, allocations: 1.029 MB / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2699, allocations: 0 / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.973e-06/0.2699, allocations: 0 / 0.987 GB, free: 19.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.648e-06/0.2699, allocations: 0 / 0.987 GB, free: 19.86 MB / 0.6198 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.002/0.2719, allocations: 1.165 MB / 0.9881 GB, free: 18.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.2719, allocations: 12.03 kB / 0.9882 GB, free: 18.62 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001258/0.2721, allocations: 114.5 kB / 0.9883 GB, free: 18.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001281/0.2722, allocations: 94.88 kB / 0.9884 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006943/0.2729, allocations: 0.5629 MB / 0.9889 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.923e-05/0.273, allocations: 58 kB / 0.989 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.601e-05/0.2731, allocations: 71.98 kB / 0.989 GB, free: 17.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001542/0.2746, allocations: 0.8423 MB / 0.9899 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.963e-05/0.2747, allocations: 0 / 0.9899 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.949e-05/0.2747, allocations: 24 kB / 0.9899 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.602e-05/0.2748, allocations: 24 kB / 0.9899 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001652/0.2764, allocations: 0.7612 MB / 0.9906 GB, free: 16 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002996/0.2794, allocations: 2.532 MB / 0.9931 GB, free: 13.38 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/0.2812, allocations: 0.8176 MB / 0.9939 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.259e-05/0.2813, allocations: 8.422 kB / 0.9939 GB, free: 12.55 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009147/0.2822, allocations: 413.1 kB / 0.9943 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 2.805e-06/0.2823, allocations: 0 / 0.9943 GB, free: 12.13 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.002279/0.2845, allocations: 0.9783 MB / 0.9953 GB, free: 11.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.345e-05/0.2846, allocations: 144.9 kB / 0.9954 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006604/0.2853, allocations: 0.6057 MB / 0.996 GB, free: 10.37 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.292e-05/0.2854, allocations: 37.7 kB / 0.996 GB, free: 10.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002599/0.2856, allocations: 380.1 kB / 0.9964 GB, free: 9.945 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001127/0.2857, allocations: 165.6 kB / 0.9966 GB, free: 9.781 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.647e-05/0.2858, allocations: 12 kB / 0.9966 GB, free: 9.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.2859, allocations: 382.8 kB / 0.9969 GB, free: 9.387 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007529/0.2867, allocations: 305 kB / 0.9972 GB, free: 9.09 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008034/0.2875, allocations: 453.1 kB / 0.9977 GB, free: 8.598 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007688/0.2883, allocations: 389.4 kB / 0.998 GB, free: 8.203 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.18e-06/0.2883, allocations: 3.953 kB / 0.998 GB, free: 8.199 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001721/0.29, allocations: 0.8881 MB / 0.9989 GB, free: 7.293 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002256/0.2902, allocations: 0.937 MB / 0.9998 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.867e-06/0.2903, allocations: 0 / 0.9998 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.121e-05/0.2903, allocations: 8 kB / 0.9998 GB, free: 6.27 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006002/0.2909, allocations: 163.8 kB / 1 GB, free: 6.109 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.247e-05/0.2909, allocations: 8 kB / 1 GB, free: 6.102 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006184/0.2915, allocations: 155.2 kB / 1 GB, free: 5.949 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.317e-05/0.2916, allocations: 24 kB / 1 GB, free: 5.926 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.556e-06/0.2916, allocations: 4 kB / 1 GB, free: 5.922 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001236/0.2928, allocations: 0.692 MB / 1.001 GB, free: 5.215 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.2929, allocations: 7.938 kB / 1.001 GB, free: 5.207 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.55e-06/0.2929, allocations: 8 kB / 1.001 GB, free: 5.199 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004474/0.2933, allocations: 131.8 kB / 1.001 GB, free: 5.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.273e-06/0.2933, allocations: 8 kB / 1.001 GB, free: 5.062 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/0.2938, allocations: 119.3 kB / 1.001 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.154e-05/0.2939, allocations: 20 kB / 1.001 GB, free: 4.926 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 13 (conMix.conFloRat.con1.y,conMix.conCoo.con1.y,conMix.conHea.con1.y,$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) * 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.0004026/0.2943, allocations: 309.4 kB / 1.001 GB, free: 4.613 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.222e-05/0.2944, allocations: 71.16 kB / 1.001 GB, free: 4.543 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001592/0.296, allocations: 0.7294 MB / 1.002 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.827e-06/0.296, allocations: 12 kB / 1.002 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.296, allocations: 0 / 1.002 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/0.296, allocations: 0 / 1.002 GB, free: 3.789 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000635/0.2967, allocations: 0.7315 MB / 1.003 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.2967, allocations: 7.938 kB / 1.003 GB, free: 3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005184/0.2972, allocations: 135.8 kB / 1.003 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.2972, allocations: 0 / 1.003 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.599e-05/0.2973, allocations: 15.98 kB / 1.003 GB, free: 2.852 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.789e-06/0.2973, allocations: 4 kB / 1.003 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.2973, allocations: 0 / 1.003 GB, free: 2.848 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002247/0.2995, allocations: 1.104 MB / 1.004 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.2996, allocations: 152.2 kB / 1.004 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.495e-05/0.2997, allocations: 12 kB / 1.004 GB, free: 1.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004428/0.3002, allocations: 91.91 kB / 1.004 GB, free: 1.453 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001191/0.3003, allocations: 48.3 kB / 1.004 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.044e-05/0.3003, allocations: 12 kB / 1.004 GB, free: 1.395 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0004432/0.3008, allocations: 439.1 kB / 1.005 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3008, allocations: 0 / 1.005 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000651/0.3015, allocations: 262.9 kB / 1.005 GB, free: 0.7109 MB / 0.6198 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.002821/0.3043, allocations: 1.665 MB / 1.007 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002759/0.3071, allocations: 1.245 MB / 1.008 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.3071, allocations: 0 / 1.008 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008679/0.308, allocations: 354.8 kB / 1.008 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006828/0.3087, allocations: 111.6 kB / 1.008 GB, free: 13.27 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008863/0.3175, allocations: 5.703 MB / 1.014 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005484/0.3181, allocations: 0.9339 MB / 1.015 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004321/0.3186, allocations: 85.06 kB / 1.015 GB, free: 6.422 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004172/0.319, allocations: 275.3 kB / 1.015 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of SimCode: time 2.635e-06/0.319, allocations: 0 / 1.015 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.35, allocations: 13.17 MB / 1.028 GB, free: 9.207 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.3503, allocations: 202.1 kB / 1.028 GB, free: 8.973 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.564/2.914, allocations: 0 / 1.028 GB, free: 8.973 MB / 0.6511 GB (rm -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)