Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) 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 3.0.0/package.mo", uses=false) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:257:38-257:110:writable] Warning: The file was not encoded in UTF-8: "

An important practical aspect of state machines is the abilit...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:761:36-761:108:writable] Warning: The file was not encoded in UTF-8: "

The Modelica_StateGraph2 library is described in detail in (O...". Defaulting to 7-bit ASCII with unknown characters replaced by '?'. To change encoding when loading a file: loadFile(encoding="ISO-XXXX-YY"). To change it in a package: add a file package.encoding at the top-level. Note: The Modelica Language Specification only allows files encoded in UTF-8. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo:1435:36-1435:108:writable] Warning: The file was not encoded in UTF-8: "

Main Authors:
SCode: time 0.1916/0.1924, allocations: 82.21 MB / 0.5934 GB, free: 6.012 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.004181/0.1966, allocations: 3.449 MB / 0.5967 GB, free: 2.539 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002538/0.1992, allocations: 1.603 MB / 0.5983 GB, free: 0.9297 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003312/0.1995, allocations: 27.88 kB / 0.5983 GB, free: 0.9023 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001017/0.1996, allocations: 55.31 kB / 0.5984 GB, free: 0.8477 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006974/0.2003, allocations: 247.1 kB / 0.5986 GB, free: 0.6055 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007768/0.2011, allocations: 386 kB / 0.599 GB, free: 240 kB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008345/0.202, allocations: 0.6104 MB / 0.5996 GB, free: 15.62 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004452/0.2024, allocations: 293.5 kB / 0.5999 GB, free: 15.32 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002867/0.2027, allocations: 246.7 kB / 0.6001 GB, free: 15.08 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003274/0.2031, allocations: 282.3 kB / 0.6004 GB, free: 14.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 6.121e-05/0.2031, allocations: 24 kB / 0.6004 GB, free: 14.78 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001464/0.2033, allocations: 67.95 kB / 0.6004 GB, free: 14.71 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001045/0.2034, allocations: 107.4 kB / 0.6006 GB, free: 14.61 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001415/0.2035, allocations: 165.2 kB / 0.6007 GB, free: 14.44 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007667/0.2043, allocations: 0.8651 MB / 0.6016 GB, free: 13.57 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.89e-06/0.2043, allocations: 0 / 0.6016 GB, free: 13.57 MB / 462.1 MB Notification: Performance of FrontEnd: time 2.134e-06/0.2043, allocations: 3.938 kB / 0.6016 GB, free: 13.57 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.694e-05/0.2044, allocations: 0 / 0.6016 GB, free: 13.57 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 137 * Number of variables: 137 Notification: Performance of Generate backend data structure: time 0.002226/0.2066, allocations: 1.171 MB / 0.6027 GB, free: 12.34 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.2066, allocations: 8.031 kB / 0.6027 GB, free: 12.33 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009412/0.2076, allocations: 226.7 kB / 0.6029 GB, free: 12.11 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008745/0.2085, allocations: 0.6239 MB / 0.6035 GB, free: 11.44 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.323e-05/0.2085, allocations: 45.31 kB / 0.6036 GB, free: 11.39 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.2086, allocations: 59.94 kB / 0.6036 GB, free: 11.34 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001696/0.2103, allocations: 0.8177 MB / 0.6044 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.541e-05/0.2104, allocations: 3.938 kB / 0.6044 GB, free: 10.48 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.059e-05/0.2104, allocations: 20 kB / 0.6045 GB, free: 10.46 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.564e-05/0.2105, allocations: 16 kB / 0.6045 GB, free: 10.44 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002065/0.2125, allocations: 0.817 MB / 0.6053 GB, free: 9.621 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003227/0.2158, allocations: 2.405 MB / 0.6076 GB, free: 7.137 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002372/0.2182, allocations: 0.9456 MB / 0.6085 GB, free: 6.184 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005824/0.2188, allocations: 449.8 kB / 0.609 GB, free: 5.652 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001143/0.2199, allocations: 469.1 kB / 0.6094 GB, free: 5.184 MB / 462.1 MB Notification: Performance of pre-optimization done (n=47): time 2.545e-06/0.2199, allocations: 0 / 0.6094 GB, free: 5.184 MB / 462.1 MB Notification: Performance of matching and sorting (n=47): time 0.002989/0.2229, allocations: 1.173 MB / 0.6106 GB, free: 4.004 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.13e-05/0.223, allocations: 136.9 kB / 0.6107 GB, free: 3.836 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007897/0.2238, allocations: 0.6699 MB / 0.6113 GB, free: 3.156 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.671e-05/0.2239, allocations: 37.7 kB / 0.6114 GB, free: 3.113 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003222/0.2242, allocations: 376.9 kB / 0.6117 GB, free: 2.738 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001541/0.2244, allocations: 161.7 kB / 0.6119 GB, free: 2.578 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.364e-05/0.2244, allocations: 8 kB / 0.6119 GB, free: 2.57 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001427/0.2246, allocations: 329.9 kB / 0.6122 GB, free: 2.242 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009668/0.2255, allocations: 364.9 kB / 0.6126 GB, free: 1.887 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001009/0.2266, allocations: 458.4 kB / 0.613 GB, free: 1.41 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000972/0.2275, allocations: 420 kB / 0.6134 GB, free: 0.9922 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.645e-06/0.2275, allocations: 4 kB / 0.6134 GB, free: 0.9883 MB / 462.1 MB Notification: Performance of matching and sorting (n=60) (initialization): time 0.002211/0.2298, allocations: 0.963 MB / 0.6143 GB, free: 4 kB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004279/0.2302, allocations: 0.676 MB / 0.615 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.2302, allocations: 0 / 0.615 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.968e-05/0.2302, allocations: 4 kB / 0.615 GB, free: 15.27 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007161/0.231, allocations: 163.8 kB / 0.6152 GB, free: 15.11 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.112e-05/0.231, allocations: 4 kB / 0.6152 GB, free: 15.1 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006519/0.2316, allocations: 143.3 kB / 0.6153 GB, free: 14.96 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.531e-05/0.2317, allocations: 16 kB / 0.6153 GB, free: 14.95 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.939e-06/0.2317, allocations: 11.98 kB / 0.6153 GB, free: 14.93 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001798/0.2335, allocations: 0.7904 MB / 0.6161 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.895e-06/0.2335, allocations: 0 / 0.6161 GB, free: 14.13 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.621e-06/0.2336, allocations: 4 kB / 0.6161 GB, free: 14.12 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006158/0.2342, allocations: 144 kB / 0.6162 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.695e-06/0.2342, allocations: 7.938 kB / 0.6163 GB, free: 13.98 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005582/0.2348, allocations: 119.4 kB / 0.6164 GB, free: 13.86 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.515e-05/0.2348, allocations: 16 kB / 0.6164 GB, free: 13.84 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($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,conMix.conFloRat.I.local_reset,conMix.conCoo.I.local_reset,conMix.conHea.I.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 56 * 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.0003777/0.2352, allocations: 297 kB / 0.6167 GB, free: 13.54 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001043/0.2353, allocations: 98.91 kB / 0.6168 GB, free: 13.45 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002152/0.2375, allocations: 0.8711 MB / 0.6176 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.593e-06/0.2375, allocations: 4 kB / 0.6176 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2375, allocations: 0 / 0.6176 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.2375, allocations: 0 / 0.6176 GB, free: 12.56 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008117/0.2383, allocations: 0.7753 MB / 0.6184 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.185e-06/0.2383, allocations: 0 / 0.6184 GB, free: 11.73 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006902/0.239, allocations: 147.9 kB / 0.6185 GB, free: 11.59 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.783e-06/0.239, allocations: 7.984 kB / 0.6185 GB, free: 11.58 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/0.2391, allocations: 11.98 kB / 0.6185 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.385e-06/0.2391, allocations: 0 / 0.6185 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2391, allocations: 4 kB / 0.6185 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003098/0.2422, allocations: 1.319 MB / 0.6198 GB, free: 10.23 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003003/0.2425, allocations: 231.8 kB / 0.62 GB, free: 9.98 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.322e-05/0.2426, allocations: 15.98 kB / 0.6201 GB, free: 9.965 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005944/0.2432, allocations: 99.91 kB / 0.6202 GB, free: 9.867 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.2434, allocations: 52.3 kB / 0.6202 GB, free: 9.816 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.919e-05/0.2434, allocations: 8 kB / 0.6202 GB, free: 9.809 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.000598/0.244, allocations: 479 kB / 0.6207 GB, free: 9.344 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.244, allocations: 0 / 0.6207 GB, free: 9.344 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.0007185/0.2447, allocations: 255.3 kB / 0.6209 GB, free: 9.094 MB / 478.1 MB 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 (TRoo.count,m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 43 * 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.0002709/0.245, allocations: 131.2 kB / 0.621 GB, free: 8.957 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.003157/0.2482, allocations: 1.388 MB / 0.6224 GB, free: 7.52 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.654e-06/0.2482, allocations: 0 / 0.6224 GB, free: 7.52 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009905/0.2492, allocations: 414.2 kB / 0.6228 GB, free: 7.117 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007568/0.25, allocations: 165.8 kB / 0.623 GB, free: 6.961 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002518/0.2525, allocations: 1.521 MB / 0.6244 GB, free: 5.41 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005056/0.253, allocations: 0.9496 MB / 0.6254 GB, free: 4.434 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.00039/0.2534, allocations: 89.05 kB / 0.6254 GB, free: 4.344 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000168/0.2536, allocations: 51.42 kB / 0.6255 GB, free: 4.297 MB / 478.1 MB Notification: Performance of SimCode: time 5.91e-07/0.2536, allocations: 0 / 0.6255 GB, free: 4.297 MB / 478.1 MB Notification: Performance of Templates: time 0.01491/0.2685, allocations: 8.704 MB / 0.634 GB, free: 11.7 MB / 494.1 MB make -j1 -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile Environment - environmentSimulation: (rm -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; mkfifo Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe >> ../files/Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.sim & ./Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1) Environment - environmentSimulation: