Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.28/1.28, allocations: 251.5 MB / 266.7 MB, free: 11.05 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008543/0.0008544, allocations: 171.5 kB / 325.8 MB, free: 2.703 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.301/1.301, allocations: 205 MB / 0.576 GB, free: 20.93 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006786/0.0006786, allocations: 94.86 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002632/0.0002632, allocations: 8.125 kB / 0.7932 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1393/0.1395, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.002797/0.1424, allocations: 4.007 MB / 0.9001 GB, free: 64.06 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.1438, allocations: 1.396 MB / 0.9015 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002523/0.144, allocations: 23.94 kB / 0.9015 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0002434/0.1443, allocations: 119 kB / 0.9016 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.1445, allocations: 95.23 kB / 0.9017 GB, free: 62.42 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003756/0.1449, allocations: 355.7 kB / 0.902 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.1454, allocations: 1.006 MB / 0.903 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004527/0.1458, allocations: 0.5115 MB / 0.9035 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.146, allocations: 238.5 kB / 0.9037 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000162/0.1461, allocations: 297.9 kB / 0.904 GB, free: 60 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 5.231e-05/0.1462, allocations: 28 kB / 0.9041 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 4.548e-05/0.1462, allocations: 24 kB / 0.9041 GB, free: 59.95 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.1463, allocations: 119.3 kB / 0.9042 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0001389/0.1465, allocations: 333.6 kB / 0.9045 GB, free: 59.5 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0005164/0.147, allocations: 1.199 MB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.147, allocations: 4 kB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.122e-06/0.147, allocations: 0 / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 7.925e-06/0.147, allocations: 0 / 0.9057 GB, free: 58.3 MB / 0.6042 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.001508/0.1485, allocations: 1.177 MB / 0.9068 GB, free: 57.06 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.1486, allocations: 12.02 kB / 0.9068 GB, free: 57.05 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.669e-05/0.1486, allocations: 118.7 kB / 0.907 GB, free: 56.92 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.483e-05/0.1487, allocations: 103.7 kB / 0.9071 GB, free: 56.82 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004974/0.1492, allocations: 0.5909 MB / 0.9076 GB, free: 56.19 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.056e-05/0.1493, allocations: 58.38 kB / 0.9077 GB, free: 56.13 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.742e-05/0.1494, allocations: 72.36 kB / 0.9078 GB, free: 56.06 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/0.1505, allocations: 0.8904 MB / 0.9086 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.569e-05/0.1506, allocations: 3.938 kB / 0.9086 GB, free: 55.13 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.467e-05/0.1506, allocations: 31.94 kB / 0.9087 GB, free: 55.1 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.808e-06/0.1506, allocations: 16 kB / 0.9087 GB, free: 55.08 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001409/0.1521, allocations: 0.7846 MB / 0.9094 GB, free: 54.3 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002439/0.1545, allocations: 3.072 MB / 0.9124 GB, free: 51.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001561/0.1561, allocations: 0.8413 MB / 0.9133 GB, free: 50.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006453/0.1567, allocations: 389.7 kB / 0.9136 GB, free: 49.88 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.1568, allocations: 12.41 kB / 0.9137 GB, free: 49.87 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007441/0.1575, allocations: 409.2 kB / 0.914 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=51): time 1.863e-06/0.1575, allocations: 0 / 0.914 GB, free: 49.46 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51): time 0.001872/0.1594, allocations: 0.9861 MB / 0.915 GB, free: 48.46 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.393e-05/0.1595, allocations: 137 kB / 0.9151 GB, free: 48.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000515/0.16, allocations: 0.6606 MB / 0.9158 GB, free: 47.63 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 3.059e-05/0.16, allocations: 41.64 kB / 0.9158 GB, free: 47.59 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001648/0.1602, allocations: 384.2 kB / 0.9162 GB, free: 47.2 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.455e-05/0.1603, allocations: 173.5 kB / 0.9164 GB, free: 47.03 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.475e-05/0.1603, allocations: 53.69 kB / 0.9164 GB, free: 46.97 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.55e-05/0.1604, allocations: 386.7 kB / 0.9168 GB, free: 46.59 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006358/0.161, allocations: 321 kB / 0.9171 GB, free: 46.27 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006814/0.1617, allocations: 442.5 kB / 0.9175 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001223/0.163, allocations: 0.7303 MB / 0.9182 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.195e-06/0.163, allocations: 0 / 0.9182 GB, free: 45.03 MB / 0.6042 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001448/0.1644, allocations: 0.8997 MB / 0.9191 GB, free: 44.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.936e-05/0.1645, allocations: 187.9 kB / 0.9193 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.1645, allocations: 4 kB / 0.9193 GB, free: 43.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.1645, allocations: 7.984 kB / 0.9193 GB, free: 43.88 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005117/0.165, allocations: 167.7 kB / 0.9194 GB, free: 43.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.165, allocations: 4 kB / 0.9194 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004718/0.1655, allocations: 151.2 kB / 0.9196 GB, free: 43.57 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.367e-05/0.1656, allocations: 20 kB / 0.9196 GB, free: 43.55 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 4.208e-06/0.1656, allocations: 4 kB / 0.9196 GB, free: 43.54 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001073/0.1666, allocations: 0.6997 MB / 0.9203 GB, free: 42.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.975e-06/0.1667, allocations: 4 kB / 0.9203 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.436e-06/0.1667, allocations: 4 kB / 0.9203 GB, free: 42.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004095/0.1671, allocations: 132 kB / 0.9204 GB, free: 42.69 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1671, allocations: 7.938 kB / 0.9204 GB, free: 42.68 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00038/0.1675, allocations: 123.3 kB / 0.9206 GB, free: 42.56 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.1675, allocations: 20 kB / 0.9206 GB, free: 42.54 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * 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.conFloRat.I.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * 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.0001977/0.1677, allocations: 297 kB / 0.9209 GB, free: 42.24 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.1678, allocations: 75.05 kB / 0.9209 GB, free: 42.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.1691, allocations: 0.7494 MB / 0.9217 GB, free: 41.41 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.178e-06/0.1691, allocations: 7.984 kB / 0.9217 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1691, allocations: 0 / 0.9217 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.059e-06/0.1691, allocations: 0 / 0.9217 GB, free: 41.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000483/0.1696, allocations: 0.7431 MB / 0.9224 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.1696, allocations: 4 kB / 0.9224 GB, free: 40.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004573/0.1701, allocations: 135.8 kB / 0.9225 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1701, allocations: 0 / 0.9225 GB, free: 40.47 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.85e-05/0.1701, allocations: 19.98 kB / 0.9225 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.1701, allocations: 7.938 kB / 0.9226 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1702, allocations: 0 / 0.9226 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001888/0.172, allocations: 1.112 MB / 0.9236 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 7.759e-05/0.1721, allocations: 152.2 kB / 0.9238 GB, free: 39.15 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.404e-05/0.1722, allocations: 16 kB / 0.9238 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003878/0.1726, allocations: 95.91 kB / 0.9239 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.955e-05/0.1727, allocations: 44.38 kB / 0.9239 GB, free: 39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.406e-05/0.1727, allocations: 16 kB / 0.9239 GB, free: 38.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003566/0.1731, allocations: 467 kB / 0.9244 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1731, allocations: 0 / 0.9244 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0004457/0.1735, allocations: 259 kB / 0.9246 GB, free: 38.27 MB / 0.6042 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 0.002053/0.1756, allocations: 1.68 MB / 0.9263 GB, free: 36.56 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001833/0.1774, allocations: 1.26 MB / 0.9275 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.1775, allocations: 0 / 0.9275 GB, free: 35.25 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006279/0.1781, allocations: 350.5 kB / 0.9278 GB, free: 34.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005638/0.1787, allocations: 158.3 kB / 0.928 GB, free: 34.75 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007946/0.1866, allocations: 6.688 MB / 0.9345 GB, free: 27.92 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.1868, allocations: 0.9262 MB / 0.9354 GB, free: 26.97 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002753/0.1871, allocations: 85.3 kB / 0.9355 GB, free: 26.88 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002904/0.1874, allocations: 291.3 kB / 0.9358 GB, free: 26.6 MB / 0.6042 GB Notification: Performance of SimCode: time 3.1e-07/0.1874, allocations: 0 / 0.9358 GB, free: 26.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3345/0.5219, allocations: 13.77 MB / 0.9492 GB, free: 13.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001411/0.5221, allocations: 232.1 kB / 0.9495 GB, free: 12.83 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.299/2.821, allocations: 7.875 kB / 0.9495 GB, free: 12.82 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_maint.7.0.x_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)