Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,fileNamePrefix="Buildings_8_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008684/0.0008684, allocations: 98.27 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005662/0.005663, allocations: 171.7 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.183/1.183, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.571/1.571, allocations: 292.7 MB / 0.5502 GB, free: 14.47 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005459/0.0005458, allocations: 12.38 kB / 0.6744 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1803/0.1808, allocations: 116.3 MB / 0.788 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003518/0.1844, allocations: 3.502 MB / 0.7914 GB, free: 7.992 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002033/0.1864, allocations: 1.256 MB / 0.7926 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004294/0.1869, allocations: 15.94 kB / 0.7926 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0002814/0.1872, allocations: 95.09 kB / 0.7927 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0003553/0.1875, allocations: 95.28 kB / 0.7928 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005215/0.1881, allocations: 311.7 kB / 0.7931 GB, free: 6.219 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007134/0.1888, allocations: 0.9393 MB / 0.794 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006143/0.1894, allocations: 0.5076 MB / 0.7945 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002029/0.1896, allocations: 230.6 kB / 0.7948 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002528/0.1899, allocations: 302 kB / 0.795 GB, free: 4.219 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.244e-05/0.19, allocations: 24 kB / 0.7951 GB, free: 4.195 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.119e-05/0.19, allocations: 28 kB / 0.7951 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.23e-05/0.1901, allocations: 115.3 kB / 0.7952 GB, free: 4.055 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0002514/0.1904, allocations: 355.3 kB / 0.7955 GB, free: 3.699 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0008103/0.1912, allocations: 1.187 MB / 0.7967 GB, free: 2.508 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.1912, allocations: 7.938 kB / 0.7967 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.235e-06/0.1912, allocations: 0 / 0.7967 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.1912, allocations: 3.938 kB / 0.7967 GB, free: 2.496 MB / 0.6075 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.001962/0.1932, allocations: 1.161 MB / 0.7979 GB, free: 1.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.1932, allocations: 12.03 kB / 0.7979 GB, free: 1.258 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001229/0.1934, allocations: 114.7 kB / 0.798 GB, free: 1.137 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001237/0.1935, allocations: 95.81 kB / 0.7981 GB, free: 1.043 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006481/0.1941, allocations: 0.5832 MB / 0.7986 GB, free: 428 kB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.099e-05/0.1942, allocations: 50.38 kB / 0.7987 GB, free: 376 kB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001017/0.1943, allocations: 76.38 kB / 0.7988 GB, free: 300 kB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.1959, allocations: 0.862 MB / 0.7996 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.338e-05/0.1959, allocations: 3.938 kB / 0.7996 GB, free: 15.41 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.194e-05/0.196, allocations: 28 kB / 0.7996 GB, free: 15.38 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.318e-05/0.196, allocations: 16 kB / 0.7996 GB, free: 15.37 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001783/0.1978, allocations: 0.7651 MB / 0.8004 GB, free: 14.6 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003006/0.2008, allocations: 2.516 MB / 0.8028 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001838/0.2026, allocations: 0.8088 MB / 0.8036 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008301/0.2035, allocations: 393.7 kB / 0.804 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 3.256e-05/0.2035, allocations: 8.438 kB / 0.804 GB, free: 10.79 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000928/0.2044, allocations: 413.2 kB / 0.8044 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 1.764e-06/0.2045, allocations: 0 / 0.8044 GB, free: 10.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.00239/0.2069, allocations: 0.9823 MB / 0.8054 GB, free: 9.379 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.769e-05/0.2069, allocations: 137 kB / 0.8055 GB, free: 9.215 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006479/0.2076, allocations: 0.6134 MB / 0.8061 GB, free: 8.59 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.747e-05/0.2076, allocations: 37.7 kB / 0.8061 GB, free: 8.547 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002515/0.2079, allocations: 381.1 kB / 0.8065 GB, free: 8.172 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000124/0.208, allocations: 173.5 kB / 0.8067 GB, free: 8 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.452e-05/0.2081, allocations: 57.69 kB / 0.8067 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.2083, allocations: 386.7 kB / 0.8071 GB, free: 7.551 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007867/0.2091, allocations: 313 kB / 0.8074 GB, free: 7.246 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008735/0.2099, allocations: 461.1 kB / 0.8078 GB, free: 6.742 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001575/0.2115, allocations: 0.7405 MB / 0.8086 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.2115, allocations: 0 / 0.8086 GB, free: 5.961 MB / 0.6231 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001839/0.2134, allocations: 0.8998 MB / 0.8094 GB, free: 5.039 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001044/0.2135, allocations: 206.4 kB / 0.8096 GB, free: 4.793 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.2135, allocations: 4 kB / 0.8096 GB, free: 4.789 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.381e-05/0.2135, allocations: 8 kB / 0.8096 GB, free: 4.781 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006215/0.2141, allocations: 171.7 kB / 0.8098 GB, free: 4.613 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.2142, allocations: 4 kB / 0.8098 GB, free: 4.609 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005867/0.2148, allocations: 155.2 kB / 0.81 GB, free: 4.457 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.918e-05/0.2148, allocations: 23.94 kB / 0.81 GB, free: 4.434 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 5.611e-06/0.2148, allocations: 4 kB / 0.81 GB, free: 4.43 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001402/0.2162, allocations: 0.7037 MB / 0.8107 GB, free: 3.711 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.2162, allocations: 4 kB / 0.8107 GB, free: 3.707 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.929e-06/0.2163, allocations: 4 kB / 0.8107 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004853/0.2167, allocations: 135.8 kB / 0.8108 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2168, allocations: 4 kB / 0.8108 GB, free: 3.566 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004827/0.2172, allocations: 127.3 kB / 0.8109 GB, free: 3.441 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.191e-05/0.2173, allocations: 20 kB / 0.8109 GB, free: 3.422 MB / 0.6231 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,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) * 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.0002772/0.2176, allocations: 304.9 kB / 0.8112 GB, free: 3.113 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.942e-05/0.2176, allocations: 67.16 kB / 0.8113 GB, free: 3.047 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00173/0.2194, allocations: 0.7373 MB / 0.812 GB, free: 2.297 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.42e-06/0.2194, allocations: 4 kB / 0.812 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.2194, allocations: 0 / 0.812 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-06/0.2194, allocations: 0 / 0.812 GB, free: 2.293 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006783/0.2201, allocations: 0.7315 MB / 0.8127 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.2201, allocations: 0 / 0.8127 GB, free: 1.512 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005628/0.2207, allocations: 139.8 kB / 0.8129 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.078e-06/0.2207, allocations: 4 kB / 0.8129 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.163e-05/0.2207, allocations: 11.98 kB / 0.8129 GB, free: 1.359 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.468e-06/0.2207, allocations: 4 kB / 0.8129 GB, free: 1.355 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.2207, allocations: 3.938 kB / 0.8129 GB, free: 1.352 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002461/0.2232, allocations: 1.112 MB / 0.814 GB, free: 224 kB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.2233, allocations: 148.2 kB / 0.8141 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.072e-05/0.2234, allocations: 16 kB / 0.8141 GB, free: 40 kB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004853/0.2239, allocations: 95.91 kB / 0.8142 GB, free: 15.95 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001077/0.224, allocations: 44.38 kB / 0.8143 GB, free: 15.9 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.154e-05/0.2241, allocations: 19.98 kB / 0.8143 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0004478/0.2245, allocations: 435.1 kB / 0.8147 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1e-07/0.2245, allocations: 0 / 0.8147 GB, free: 15.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0005601/0.2251, allocations: 259 kB / 0.815 GB, free: 15.21 MB / 0.6387 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.002748/0.2278, allocations: 1.673 MB / 0.8166 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002448/0.2303, allocations: 1.26 MB / 0.8178 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2303, allocations: 0 / 0.8178 GB, free: 12.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000811/0.2311, allocations: 350.9 kB / 0.8182 GB, free: 11.86 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006086/0.2317, allocations: 121.7 kB / 0.8183 GB, free: 11.74 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01/0.2418, allocations: 6.546 MB / 0.8247 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000415/0.2422, allocations: 0.9222 MB / 0.8256 GB, free: 4.094 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0003231/0.2425, allocations: 81.12 kB / 0.8256 GB, free: 4.012 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.2429, allocations: 283.3 kB / 0.8259 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of SimCode: time 2.6e-07/0.2429, allocations: 0 / 0.8259 GB, free: 3.734 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.833/3.076, allocations: 12.78 MB / 0.8384 GB, free: 7.18 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002059/3.076, allocations: 224.6 kB / 0.8386 GB, free: 6.918 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.953/5.029, allocations: 0 / 0.8386 GB, free: 6.918 MB / 0.6544 GB (rm -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox_fmu --startTime=0 --stopTime=10800 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Examples_DualFanDualDuct_Controls_Examples_RoomMixingBox.fmu > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)