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: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.595/1.595, allocations: 288.4 MB / 303.7 MB, free: 8.074 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.001021/0.001021, allocations: 179.5 kB / 372.3 MB, free: 10.12 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.427/1.427, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.0007558/0.0007555, allocations: 98.91 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006013/0.0006014, allocations: 15.16 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2038/0.2044, allocations: 115.3 MB / 0.9801 GB, free: 27.35 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003432/0.2079, allocations: 3.279 MB / 0.9833 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001641/0.2096, allocations: 1.233 MB / 0.9845 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003075/0.2099, allocations: 19.94 kB / 0.9846 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002538/0.2102, allocations: 83.16 kB / 0.9846 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.2104, allocations: 79.31 kB / 0.9847 GB, free: 22.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004223/0.2108, allocations: 199.7 kB / 0.9849 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0006334/0.2115, allocations: 0.9003 MB / 0.9858 GB, free: 21.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005655/0.212, allocations: 0.5114 MB / 0.9863 GB, free: 20.99 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001897/0.2122, allocations: 226.7 kB / 0.9865 GB, free: 20.77 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002272/0.2125, allocations: 278.3 kB / 0.9868 GB, free: 20.5 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 6.642e-05/0.2125, allocations: 24 kB / 0.9868 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.993e-05/0.2126, allocations: 24 kB / 0.9868 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 8.095e-05/0.2127, allocations: 123.3 kB / 0.9869 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001871/0.2129, allocations: 331.7 kB / 0.9872 GB, free: 20 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005981/0.2135, allocations: 1.021 MB / 0.9882 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.2135, allocations: 0 / 0.9882 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.753e-06/0.2135, allocations: 4 kB / 0.9882 GB, free: 18.97 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.2135, allocations: 0 / 0.9882 GB, free: 18.97 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.00191/0.2154, allocations: 1.169 MB / 0.9894 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.189e-05/0.2155, allocations: 8.031 kB / 0.9894 GB, free: 17.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.2156, allocations: 95.81 kB / 0.9895 GB, free: 17.63 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006304/0.2163, allocations: 0.5755 MB / 0.99 GB, free: 17.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.775e-05/0.2163, allocations: 58.38 kB / 0.9901 GB, free: 16.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.913e-05/0.2164, allocations: 72.38 kB / 0.9902 GB, free: 16.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001422/0.2179, allocations: 0.8465 MB / 0.991 GB, free: 16.03 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.699e-05/0.2179, allocations: 11.88 kB / 0.991 GB, free: 16.02 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.17e-05/0.2179, allocations: 28 kB / 0.991 GB, free: 15.99 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.299e-05/0.218, allocations: 24 kB / 0.9911 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001608/0.2196, allocations: 0.7573 MB / 0.9918 GB, free: 15.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002599/0.2222, allocations: 2.524 MB / 0.9943 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001631/0.2238, allocations: 0.7992 MB / 0.995 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007447/0.2246, allocations: 389.7 kB / 0.9954 GB, free: 11.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.345e-05/0.2246, allocations: 8.438 kB / 0.9954 GB, free: 11.4 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008445/0.2255, allocations: 413.1 kB / 0.9958 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 2.274e-06/0.2255, allocations: 0 / 0.9958 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.002163/0.2277, allocations: 0.9784 MB / 0.9968 GB, free: 9.996 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/0.2277, allocations: 137 kB / 0.9969 GB, free: 9.832 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005474/0.2283, allocations: 0.6134 MB / 0.9975 GB, free: 9.211 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.755e-05/0.2283, allocations: 37.7 kB / 0.9975 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001823/0.2285, allocations: 373.2 kB / 0.9979 GB, free: 8.801 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 8.509e-05/0.2286, allocations: 177.5 kB / 0.9981 GB, free: 8.625 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.494e-05/0.2286, allocations: 11.94 kB / 0.9981 GB, free: 8.613 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.531e-05/0.2287, allocations: 382.7 kB / 0.9984 GB, free: 8.23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007127/0.2294, allocations: 309 kB / 0.9987 GB, free: 7.93 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007708/0.2302, allocations: 457.1 kB / 0.9992 GB, free: 7.438 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001381/0.2316, allocations: 0.7327 MB / 0.9999 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.2316, allocations: 0 / 0.9999 GB, free: 6.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001643/0.2333, allocations: 0.892 MB / 1.001 GB, free: 5.746 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.648e-05/0.2333, allocations: 211.9 kB / 1.001 GB, free: 5.496 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.2334, allocations: 4 kB / 1.001 GB, free: 5.492 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.609e-05/0.2334, allocations: 4 kB / 1.001 GB, free: 5.488 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006245/0.234, allocations: 167.8 kB / 1.001 GB, free: 5.324 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.518e-06/0.234, allocations: 7.938 kB / 1.001 GB, free: 5.316 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005369/0.2346, allocations: 155.2 kB / 1.001 GB, free: 5.164 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.854e-05/0.2346, allocations: 24 kB / 1.001 GB, free: 5.141 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.09e-06/0.2346, allocations: 4 kB / 1.001 GB, free: 5.137 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001236/0.2359, allocations: 0.692 MB / 1.002 GB, free: 4.434 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.436e-06/0.2359, allocations: 4 kB / 1.002 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.258e-06/0.2359, allocations: 8 kB / 1.002 GB, free: 4.422 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004708/0.2364, allocations: 131.8 kB / 1.002 GB, free: 4.293 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.2364, allocations: 7.984 kB / 1.002 GB, free: 4.285 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004409/0.2368, allocations: 119.3 kB / 1.002 GB, free: 4.168 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.2369, allocations: 16 kB / 1.002 GB, free: 4.152 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.000252/0.2371, allocations: 313.4 kB / 1.003 GB, free: 3.836 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.735e-05/0.2372, allocations: 75.14 kB / 1.003 GB, free: 3.762 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001557/0.2388, allocations: 0.7334 MB / 1.003 GB, free: 3.016 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.859e-06/0.2388, allocations: 4 kB / 1.003 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2388, allocations: 0 / 1.003 GB, free: 3.012 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.072e-06/0.2388, allocations: 3.984 kB / 1.003 GB, free: 3.008 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005416/0.2394, allocations: 0.7276 MB / 1.004 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.2394, allocations: 0 / 1.004 GB, free: 2.23 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005364/0.2399, allocations: 139.8 kB / 1.004 GB, free: 2.094 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2399, allocations: 4 kB / 1.004 GB, free: 2.09 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.411e-05/0.24, allocations: 15.98 kB / 1.004 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.24, allocations: 0 / 1.004 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.24, allocations: 0 / 1.004 GB, free: 2.074 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002253/0.2422, allocations: 1.108 MB / 1.005 GB, free: 0.9453 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001101/0.2424, allocations: 156.2 kB / 1.005 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.252e-05/0.2424, allocations: 12 kB / 1.005 GB, free: 0.7617 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004462/0.2429, allocations: 91.91 kB / 1.006 GB, free: 0.6719 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001175/0.243, allocations: 52.36 kB / 1.006 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.885e-05/0.243, allocations: 16 kB / 1.006 GB, free: 0.6055 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0003804/0.2434, allocations: 431.1 kB / 1.006 GB, free: 196 kB / 0.6198 GB Notification: Performance of sort global known variables: time 1.433e-06/0.2434, allocations: 0 / 1.006 GB, free: 196 kB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005637/0.244, allocations: 262.9 kB / 1.006 GB, free: 15.93 MB / 0.6355 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.0001278/0.2441, allocations: 115.2 kB / 1.006 GB, free: 15.81 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002478/0.2466, allocations: 1.249 MB / 1.008 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2466, allocations: 0.5625 kB / 1.008 GB, free: 14.52 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0008116/0.2475, allocations: 350.3 kB / 1.008 GB, free: 14.17 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006213/0.2481, allocations: 128.5 kB / 1.008 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002127/0.2502, allocations: 1.463 MB / 1.009 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004088/0.2507, allocations: 0.9222 MB / 1.01 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003486/0.251, allocations: 76.98 kB / 1.01 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.2512, allocations: 55.42 kB / 1.011 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of SimCode: time 3.41e-07/0.2512, allocations: 0 / 1.011 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of Templates: time 0.0118/0.263, allocations: 7.002 MB / 1.017 GB, free: 4.539 MB / 0.6355 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)