Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 1.566/1.566, allocations: 287.4 MB / 302.6 MB, free: 8.266 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.0009519/0.0009519, allocations: 174 kB / 371.1 MB, free: 10.84 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.194/1.194, allocations: 205.4 MB / 0.6298 GB, free: 10.57 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.0007033/0.0007031, allocations: 101.8 kB / 0.7431 GB, free: 6.566 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003202/0.0003202, allocations: 11.47 kB / 0.8662 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1518, allocations: 115.3 MB / 0.9787 GB, free: 28.1 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.002737/0.1546, allocations: 3.275 MB / 0.9819 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001725/0.1563, allocations: 1.237 MB / 0.9831 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004917/0.1568, allocations: 11.94 kB / 0.9832 GB, free: 23.54 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0002915/0.1572, allocations: 83.16 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0003387/0.1575, allocations: 91.23 kB / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004506/0.158, allocations: 199.7 kB / 0.9835 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005366/0.1585, allocations: 0.9003 MB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004928/0.159, allocations: 0.5154 MB / 0.9849 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001506/0.1592, allocations: 226.7 kB / 0.9851 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.1594, allocations: 274.3 kB / 0.9854 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.1595, allocations: 24 kB / 0.9854 GB, free: 21.22 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 4.97e-05/0.1595, allocations: 28 kB / 0.9854 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.875e-05/0.1596, allocations: 123.3 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.1597, allocations: 153.3 kB / 0.9857 GB, free: 20.92 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.000502/0.1602, allocations: 1.025 MB / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1602, allocations: 0 / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.513e-06/0.1602, allocations: 0 / 0.9867 GB, free: 19.89 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.754e-06/0.1602, allocations: 0 / 0.9867 GB, free: 19.89 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.001629/0.1618, allocations: 1.165 MB / 0.9878 GB, free: 18.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.1619, allocations: 8.031 kB / 0.9878 GB, free: 18.65 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.549e-05/0.162, allocations: 118.7 kB / 0.9879 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.879e-05/0.1621, allocations: 95.81 kB / 0.988 GB, free: 18.43 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000525/0.1626, allocations: 0.5794 MB / 0.9886 GB, free: 17.82 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.438e-05/0.1627, allocations: 58.38 kB / 0.9887 GB, free: 17.76 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.82e-05/0.1627, allocations: 68.38 kB / 0.9887 GB, free: 17.69 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00126/0.164, allocations: 0.858 MB / 0.9896 GB, free: 16.82 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.618e-05/0.164, allocations: 4 kB / 0.9896 GB, free: 16.81 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.585e-05/0.1641, allocations: 24 kB / 0.9896 GB, free: 16.79 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.1641, allocations: 23.94 kB / 0.9896 GB, free: 16.77 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00147/0.1656, allocations: 0.7573 MB / 0.9903 GB, free: 16.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002446/0.168, allocations: 2.524 MB / 0.9928 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001504/0.1695, allocations: 0.7932 MB / 0.9936 GB, free: 12.6 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006861/0.1702, allocations: 395.9 kB / 0.994 GB, free: 12.21 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.164e-05/0.1703, allocations: 9.453 kB / 0.994 GB, free: 12.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007627/0.1711, allocations: 409.2 kB / 0.9944 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=51): time 2.054e-06/0.1711, allocations: 0 / 0.9944 GB, free: 11.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=51): time 0.001979/0.1731, allocations: 0.9783 MB / 0.9953 GB, free: 10.8 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1731, allocations: 141 kB / 0.9955 GB, free: 10.64 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005105/0.1736, allocations: 0.6095 MB / 0.996 GB, free: 10.02 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.289e-05/0.1737, allocations: 37.7 kB / 0.9961 GB, free: 9.973 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001695/0.1738, allocations: 384.1 kB / 0.9964 GB, free: 9.594 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 7.63e-05/0.1739, allocations: 169.5 kB / 0.9966 GB, free: 9.426 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.468e-05/0.174, allocations: 8 kB / 0.9966 GB, free: 9.418 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.278e-05/0.174, allocations: 382.7 kB / 0.997 GB, free: 9.035 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006671/0.1747, allocations: 313 kB / 0.9973 GB, free: 8.73 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006901/0.1754, allocations: 453.1 kB / 0.9977 GB, free: 8.242 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001248/0.1767, allocations: 0.7366 MB / 0.9984 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.515e-06/0.1767, allocations: 0 / 0.9984 GB, free: 7.461 MB / 0.6198 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001486/0.1782, allocations: 0.8881 MB / 0.9993 GB, free: 6.551 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 6.825e-05/0.1782, allocations: 208.9 kB / 0.9995 GB, free: 6.305 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.755e-06/0.1783, allocations: 4 kB / 0.9995 GB, free: 6.301 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/0.1783, allocations: 11.94 kB / 0.9995 GB, free: 6.289 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005432/0.1788, allocations: 167.7 kB / 0.9997 GB, free: 6.125 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.157e-06/0.1788, allocations: 8 kB / 0.9997 GB, free: 6.117 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004938/0.1793, allocations: 151.2 kB / 0.9998 GB, free: 5.969 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.558e-05/0.1794, allocations: 23.98 kB / 0.9998 GB, free: 5.945 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 4.628e-06/0.1794, allocations: 4 kB / 0.9999 GB, free: 5.941 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001129/0.1805, allocations: 0.6959 MB / 1.001 GB, free: 5.234 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1805, allocations: 4 kB / 1.001 GB, free: 5.23 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.817e-06/0.1805, allocations: 4 kB / 1.001 GB, free: 5.227 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000423/0.181, allocations: 135.8 kB / 1.001 GB, free: 5.094 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.181, allocations: 8 kB / 1.001 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004012/0.1814, allocations: 119.3 kB / 1.001 GB, free: 4.969 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.636e-05/0.1814, allocations: 24 kB / 1.001 GB, free: 4.945 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.0002235/0.1817, allocations: 305.4 kB / 1.001 GB, free: 4.637 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.777e-05/0.1817, allocations: 67.16 kB / 1.001 GB, free: 4.57 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001416/0.1831, allocations: 0.7373 MB / 1.002 GB, free: 3.82 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.1832, allocations: 4 kB / 1.002 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1832, allocations: 0 / 1.002 GB, free: 3.816 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.1832, allocations: 3.984 kB / 1.002 GB, free: 3.812 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005131/0.1837, allocations: 0.7315 MB / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.1837, allocations: 0 / 1.003 GB, free: 3.031 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004887/0.1842, allocations: 139.8 kB / 1.003 GB, free: 2.895 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.1842, allocations: 4 kB / 1.003 GB, free: 2.891 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.852e-05/0.1842, allocations: 15.98 kB / 1.003 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.1843, allocations: 0 / 1.003 GB, free: 2.875 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1843, allocations: 7.984 kB / 1.003 GB, free: 2.867 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001991/0.1863, allocations: 1.101 MB / 1.004 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 7.915e-05/0.1863, allocations: 160.1 kB / 1.004 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.554e-05/0.1864, allocations: 12 kB / 1.004 GB, free: 1.559 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004039/0.1868, allocations: 87.92 kB / 1.004 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.189e-05/0.1869, allocations: 48.36 kB / 1.004 GB, free: 1.426 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.703e-05/0.187, allocations: 19.98 kB / 1.004 GB, free: 1.406 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.000355/0.1873, allocations: 431.1 kB / 1.005 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1873, allocations: 0 / 1.005 GB, free: 0.9922 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004625/0.1878, allocations: 255 kB / 1.005 GB, free: 0.7422 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.002356/0.1902, allocations: 1.673 MB / 1.006 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002246/0.1924, allocations: 1.249 MB / 1.008 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1924, allocations: 4 kB / 1.008 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007273/0.1932, allocations: 350.8 kB / 1.008 GB, free: 13.39 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005627/0.1937, allocations: 121.7 kB / 1.008 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00702/0.2008, allocations: 4.369 MB / 1.012 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003849/0.2012, allocations: 0.9222 MB / 1.013 GB, free: 7.883 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0003414/0.2015, allocations: 85.12 kB / 1.013 GB, free: 7.797 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.2019, allocations: 279.3 kB / 1.014 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of SimCode: time 7.92e-07/0.2019, allocations: 0 / 1.014 GB, free: 7.523 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9878/1.19, allocations: 13.16 MB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002052/1.19, allocations: 207.2 kB / 1.027 GB, free: 10.35 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.563/3.753, allocations: 0 / 1.027 GB, free: 10.35 MB / 0.6511 GB (rm -f Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_8.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)