Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009761/0.0009761, allocations: 79.69 kB / 21.74 MB, free: 2.516 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 169.4 kB / 25.18 MB, free: 9.113 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8781/0.8781, allocations: 177.2 MB / 205.6 MB, free: 4.359 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.932/1.932, allocations: 389.6 MB / 0.6364 GB, free: 13.27 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.733e-06/1.733e-06, allocations: 0 / 0.7755 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.56e-05/1.733e-05, allocations: 2.312 kB / 0.7755 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.005542/0.005559, allocations: 3.675 MB / 0.7791 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.002551/0.00811, allocations: 1.374 MB / 0.7805 GB, free: 9.484 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002475/0.008358, allocations: 15.94 kB / 0.7805 GB, free: 9.469 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0002585/0.008616, allocations: 134.5 kB / 0.7806 GB, free: 9.336 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0003151/0.008932, allocations: 146.7 kB / 0.7808 GB, free: 9.191 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.009295, allocations: 367.4 kB / 0.7811 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0006464/0.009941, allocations: 1.049 MB / 0.7821 GB, free: 7.781 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.01032, allocations: 368.2 kB / 0.7825 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004136/0.01073, allocations: 0.5575 MB / 0.783 GB, free: 6.832 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002194/0.01095, allocations: 299 kB / 0.7833 GB, free: 6.539 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.555e-05/0.01105, allocations: 120 kB / 0.7834 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 7.912e-05/0.01113, allocations: 124 kB / 0.7835 GB, free: 6.301 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001147/0.01124, allocations: 227.2 kB / 0.7838 GB, free: 6.078 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001674/0.01141, allocations: 287.2 kB / 0.784 GB, free: 5.797 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0004508/0.01186, allocations: 0.6615 MB / 0.7847 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.635e-06/0.01186, allocations: 0 / 0.7847 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.52e-07/0.01186, allocations: 0 / 0.7847 GB, free: 5.133 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.01187, allocations: 0 / 0.7847 GB, free: 5.133 MB / 0.7448 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.001103/0.01297, allocations: 1.107 MB / 0.7858 GB, free: 3.984 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.005e-05/0.013, allocations: 12.03 kB / 0.7858 GB, free: 3.973 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.01312, allocations: 116.8 kB / 0.7859 GB, free: 3.859 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003677/0.01348, allocations: 364.1 kB / 0.7862 GB, free: 3.473 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.235e-05/0.01352, allocations: 58.36 kB / 0.7863 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.354e-05/0.01358, allocations: 80.36 kB / 0.7864 GB, free: 3.34 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005605/0.01414, allocations: 0.629 MB / 0.787 GB, free: 2.672 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.266e-05/0.01415, allocations: 4.172 kB / 0.787 GB, free: 2.668 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.308e-05/0.01419, allocations: 32.38 kB / 0.787 GB, free: 2.637 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.124e-05/0.0142, allocations: 23.94 kB / 0.787 GB, free: 2.613 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002231/0.01442, allocations: 177.8 kB / 0.7872 GB, free: 2.441 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001518/0.01594, allocations: 1.522 MB / 0.7887 GB, free: 0.8711 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002897/0.01623, allocations: 256.8 kB / 0.7889 GB, free: 0.6094 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001166/0.01634, allocations: 118 kB / 0.789 GB, free: 500 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-05/0.01637, allocations: 12.5 kB / 0.7891 GB, free: 488 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002079/0.01658, allocations: 194 kB / 0.7892 GB, free: 284 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=51): time 1.723e-06/0.01658, allocations: 0 / 0.7892 GB, free: 284 kB / 0.7448 GB Notification: Performance of matching and sorting (n=51): time 0.0003405/0.01692, allocations: 270 kB / 0.7895 GB, free: 8 kB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.23e-05/0.01698, allocations: 137 kB / 0.7896 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002475/0.01723, allocations: 423.1 kB / 0.79 GB, free: 15.42 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 3.139e-05/0.01726, allocations: 45.62 kB / 0.7901 GB, free: 15.37 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001387/0.0174, allocations: 313.8 kB / 0.7904 GB, free: 15.05 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.316e-05/0.01748, allocations: 178.5 kB / 0.7905 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001064/0.01759, allocations: 118.3 kB / 0.7907 GB, free: 14.76 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.01769, allocations: 366.7 kB / 0.791 GB, free: 14.39 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001087/0.0178, allocations: 122.8 kB / 0.7911 GB, free: 14.26 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002043/0.01801, allocations: 432.9 kB / 0.7915 GB, free: 13.73 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002455/0.01825, allocations: 309.7 kB / 0.7918 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.01825, allocations: 4 kB / 0.7918 GB, free: 13.38 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0003437/0.0186, allocations: 417.2 kB / 0.7922 GB, free: 12.94 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.01863, allocations: 59.39 kB / 0.7923 GB, free: 12.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.99e-06/0.01864, allocations: 4 kB / 0.7923 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.001e-05/0.01865, allocations: 4 kB / 0.7923 GB, free: 12.86 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002752/0.01892, allocations: 139.8 kB / 0.7924 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.01893, allocations: 4 kB / 0.7924 GB, free: 12.72 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001907/0.01912, allocations: 91.58 kB / 0.7925 GB, free: 12.63 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.183e-05/0.01914, allocations: 16.06 kB / 0.7925 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0001701/0.01931, allocations: 204.8 kB / 0.7927 GB, free: 12.4 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001953/0.01951, allocations: 436.8 kB / 0.7932 GB, free: 11.86 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002103/0.01972, allocations: 305.7 kB / 0.7934 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.313e-06/0.01972, allocations: 4 kB / 0.7934 GB, free: 11.52 MB / 0.7605 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.0002937/0.02001, allocations: 405.1 kB / 0.7938 GB, free: 11.09 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 2.693e-05/0.02004, allocations: 67.33 kB / 0.7939 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.02004, allocations: 0 / 0.7939 GB, free: 11.01 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.997e-06/0.02004, allocations: 8 kB / 0.7939 GB, free: 11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002246/0.02027, allocations: 124.1 kB / 0.794 GB, free: 10.88 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.02027, allocations: 11.94 kB / 0.794 GB, free: 10.87 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001662/0.02044, allocations: 83.62 kB / 0.7941 GB, free: 10.79 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.697e-05/0.02046, allocations: 16 kB / 0.7941 GB, free: 10.77 MB / 0.7605 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 (m_flow.count,$PRE.m_flow.count,m_flow.T_start,$PRE.m_flow.T_start,TRoo.count,$PRE.TRoo.count,TRoo.T_start,$PRE.TRoo.T_start,$whenCondition1,$whenCondition2,conMix.conHea.con1.y,conMix.conCoo.con1.y,conMix.conFloRat.con1.y) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.02057, allocations: 212.1 kB / 0.7943 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.836e-05/0.02061, allocations: 59.88 kB / 0.7944 GB, free: 10.5 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002685/0.02088, allocations: 256.5 kB / 0.7946 GB, free: 10.25 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.19e-06/0.02089, allocations: 8 kB / 0.7946 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.513e-06/0.02089, allocations: 0 / 0.7946 GB, free: 10.24 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.232e-06/0.0209, allocations: 3.984 kB / 0.7946 GB, free: 10.23 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002822/0.02118, allocations: 345.8 kB / 0.795 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.02118, allocations: 0 / 0.795 GB, free: 9.879 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000214/0.02139, allocations: 107.9 kB / 0.7951 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.0214, allocations: 0 / 0.7951 GB, free: 9.773 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.208e-05/0.02142, allocations: 15.98 kB / 0.7951 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.02142, allocations: 7.875 kB / 0.7951 GB, free: 9.75 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.02142, allocations: 4 kB / 0.7951 GB, free: 9.746 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000353/0.02177, allocations: 339.4 kB / 0.7954 GB, free: 9.398 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 4.824e-05/0.02182, allocations: 55.5 kB / 0.7955 GB, free: 9.344 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.707e-05/0.02186, allocations: 12 kB / 0.7955 GB, free: 9.332 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.02199, allocations: 47.89 kB / 0.7955 GB, free: 9.285 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.781e-05/0.02206, allocations: 44.41 kB / 0.7956 GB, free: 9.242 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.847e-05/0.02208, allocations: 15.98 kB / 0.7956 GB, free: 9.227 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0001277/0.0222, allocations: 176.4 kB / 0.7958 GB, free: 9.055 MB / 0.7605 GB Notification: Performance of sort global known variables: time 5e-08/0.0222, allocations: 4 kB / 0.7958 GB, free: 9.051 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.000356/0.02256, allocations: 287 kB / 0.796 GB, free: 8.77 MB / 0.7605 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 8.95e-05/0.02265, allocations: 100.3 kB / 0.7961 GB, free: 8.664 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005452/0.02319, allocations: 0.7174 MB / 0.7968 GB, free: 7.867 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 9.418e-06/0.0232, allocations: 7.938 kB / 0.7968 GB, free: 7.859 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0001295/0.02333, allocations: 124.9 kB / 0.797 GB, free: 7.734 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002872/0.02362, allocations: 137.2 kB / 0.7971 GB, free: 7.602 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.02483, allocations: 1.068 MB / 0.7981 GB, free: 6.488 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001997/0.02503, allocations: 322.2 kB / 0.7984 GB, free: 6.148 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002856/0.02532, allocations: 189.2 kB / 0.7986 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of SimCode: time 5.81e-07/0.02532, allocations: 0 / 0.7986 GB, free: 5.961 MB / 0.7605 GB Notification: Performance of Templates: time 0.3299/0.3552, allocations: 8.346 MB / 0.8068 GB, free: 39.19 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox > Buildings_13_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.054671007208526]