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.444/1.444, allocations: 288.4 MB / 303.6 MB, free: 8.102 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.0008974/0.0008974, allocations: 186.5 kB / 372.3 MB, free: 10.09 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.108/1.108, allocations: 205.4 MB / 0.631 GB, free: 9.883 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.0006445/0.0006445, allocations: 93.25 kB / 0.7444 GB, free: 5.777 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 11.09 kB / 0.8676 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.139/0.1394, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.002547/0.1419, allocations: 3.283 MB / 0.9834 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001512/0.1435, allocations: 1.233 MB / 0.9846 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003462/0.1438, allocations: 15.94 kB / 0.9846 GB, free: 22.68 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002055/0.144, allocations: 83.16 kB / 0.9847 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0002341/0.1443, allocations: 95.22 kB / 0.9848 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003785/0.1447, allocations: 187.8 kB / 0.985 GB, free: 22.32 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005644/0.1452, allocations: 0.9081 MB / 0.9858 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005107/0.1458, allocations: 0.5114 MB / 0.9863 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.146, allocations: 222.7 kB / 0.9866 GB, free: 20.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001944/0.1462, allocations: 282.2 kB / 0.9868 GB, free: 20.38 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.902e-05/0.1462, allocations: 24 kB / 0.9869 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.167e-05/0.1463, allocations: 32 kB / 0.9869 GB, free: 20.32 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.657e-05/0.1464, allocations: 111.4 kB / 0.987 GB, free: 20.21 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0001654/0.1465, allocations: 335.7 kB / 0.9873 GB, free: 19.88 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0005011/0.147, allocations: 1.021 MB / 0.9883 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.1471, allocations: 0 / 0.9883 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.542e-06/0.1471, allocations: 0 / 0.9883 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.101e-05/0.1471, allocations: 0 / 0.9883 GB, free: 18.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.001721/0.1488, allocations: 1.165 MB / 0.9894 GB, free: 17.62 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1489, allocations: 11.97 kB / 0.9895 GB, free: 17.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001113/0.149, allocations: 118.7 kB / 0.9896 GB, free: 17.49 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001114/0.1491, allocations: 95.81 kB / 0.9897 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005358/0.1496, allocations: 0.5794 MB / 0.9902 GB, free: 16.78 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.427e-05/0.1497, allocations: 58.38 kB / 0.9903 GB, free: 16.72 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.195e-05/0.1498, allocations: 76.31 kB / 0.9904 GB, free: 16.64 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001331/0.1511, allocations: 0.8541 MB / 0.9912 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.555e-05/0.1511, allocations: 0 / 0.9912 GB, free: 15.77 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.746e-05/0.1512, allocations: 28 kB / 0.9912 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.1512, allocations: 23.98 kB / 0.9912 GB, free: 15.72 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001514/0.1527, allocations: 0.7534 MB / 0.992 GB, free: 14.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002579/0.1553, allocations: 2.516 MB / 0.9944 GB, free: 12.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001522/0.1568, allocations: 0.8048 MB / 0.9952 GB, free: 11.55 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006851/0.1575, allocations: 387.1 kB / 0.9956 GB, free: 11.17 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.79e-05/0.1576, allocations: 8.438 kB / 0.9956 GB, free: 11.16 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007982/0.1584, allocations: 413.2 kB / 0.996 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 1.763e-06/0.1584, allocations: 0 / 0.996 GB, free: 10.75 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.001962/0.1604, allocations: 0.9822 MB / 0.9969 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.501e-05/0.1604, allocations: 142 kB / 0.9971 GB, free: 9.59 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000496/0.1609, allocations: 0.6095 MB / 0.9977 GB, free: 8.973 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.161, allocations: 37.7 kB / 0.9977 GB, free: 8.93 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.000165/0.1611, allocations: 384.1 kB / 0.9981 GB, free: 8.551 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.805e-05/0.1612, allocations: 165.6 kB / 0.9982 GB, free: 8.387 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.1612, allocations: 8 kB / 0.9982 GB, free: 8.379 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.725e-05/0.1613, allocations: 386.7 kB / 0.9986 GB, free: 7.992 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006683/0.162, allocations: 309 kB / 0.9989 GB, free: 7.691 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006951/0.1627, allocations: 457.1 kB / 0.9993 GB, free: 7.199 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001263/0.164, allocations: 0.7327 MB / 1 GB, free: 6.422 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.164, allocations: 3.938 kB / 1 GB, free: 6.418 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001505/0.1655, allocations: 0.8881 MB / 1.001 GB, free: 5.508 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 5.797e-05/0.1655, allocations: 206.4 kB / 1.001 GB, free: 5.262 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.522e-06/0.1656, allocations: 8 kB / 1.001 GB, free: 5.254 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.319e-05/0.1656, allocations: 4 kB / 1.001 GB, free: 5.25 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005465/0.1661, allocations: 171.7 kB / 1.001 GB, free: 5.082 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.1661, allocations: 4 kB / 1.001 GB, free: 5.078 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004934/0.1666, allocations: 151.2 kB / 1.001 GB, free: 4.93 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.1667, allocations: 24 kB / 1.001 GB, free: 4.906 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.262e-06/0.1667, allocations: 5.406 kB / 1.001 GB, free: 4.902 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001138/0.1678, allocations: 0.6959 MB / 1.002 GB, free: 4.195 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.658e-06/0.1679, allocations: 4 kB / 1.002 GB, free: 4.191 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.177e-06/0.1679, allocations: 7.938 kB / 1.002 GB, free: 4.184 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004233/0.1683, allocations: 135.8 kB / 1.002 GB, free: 4.051 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.1683, allocations: 7.984 kB / 1.002 GB, free: 4.043 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004057/0.1687, allocations: 119.3 kB / 1.002 GB, free: 3.926 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.02e-05/0.1688, allocations: 24 kB / 1.002 GB, free: 3.902 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.0002188/0.169, allocations: 305.4 kB / 1.003 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/0.169, allocations: 67.16 kB / 1.003 GB, free: 3.527 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001404/0.1704, allocations: 0.7373 MB / 1.004 GB, free: 2.777 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.117e-06/0.1705, allocations: 4 kB / 1.004 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.1705, allocations: 0 / 1.004 GB, free: 2.773 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1705, allocations: 3.984 kB / 1.004 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004844/0.171, allocations: 0.7237 MB / 1.004 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.756e-06/0.171, allocations: 0 / 1.004 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/0.1715, allocations: 135.8 kB / 1.004 GB, free: 1.863 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.1715, allocations: 7.984 kB / 1.004 GB, free: 1.855 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.047e-05/0.1715, allocations: 16 kB / 1.004 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.1715, allocations: 0 / 1.004 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1715, allocations: 0 / 1.004 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002016/0.1736, allocations: 1.108 MB / 1.005 GB, free: 0.7109 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.721e-05/0.1736, allocations: 152.2 kB / 1.006 GB, free: 0.543 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.185e-05/0.1737, allocations: 16 kB / 1.006 GB, free: 0.5273 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004132/0.1741, allocations: 91.91 kB / 1.006 GB, free: 448 kB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.505e-05/0.1742, allocations: 48.36 kB / 1.006 GB, free: 400 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.804e-05/0.1743, allocations: 20 kB / 1.006 GB, free: 380 kB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000371/0.1746, allocations: 435.1 kB / 1.006 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 2.41e-07/0.1747, allocations: 0 / 1.006 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005104/0.1752, allocations: 255 kB / 1.006 GB, free: 15.7 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.002473/0.1776, allocations: 1.673 MB / 1.008 GB, free: 14 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002235/0.1799, allocations: 1.245 MB / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1799, allocations: 0 / 1.009 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007365/0.1806, allocations: 354.8 kB / 1.01 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005315/0.1812, allocations: 122.8 kB / 1.01 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006869/0.1881, allocations: 4.371 MB / 1.014 GB, free: 7.777 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000366/0.1884, allocations: 0.9261 MB / 1.015 GB, free: 6.824 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0002955/0.1888, allocations: 80.89 kB / 1.015 GB, free: 6.742 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003406/0.1891, allocations: 271.3 kB / 1.015 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of SimCode: time 3.6e-07/0.1891, allocations: 0 / 1.015 GB, free: 6.477 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6962/0.8854, allocations: 13.24 MB / 1.028 GB, free: 9.457 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000241/0.8857, allocations: 210.6 kB / 1.028 GB, free: 9.219 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.814/3.7, allocations: 4 kB / 1.028 GB, free: 9.215 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)