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/Buildings 3.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo", uses=false) Using package Modelica_StateGraph2 with version 2.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica_StateGraph2 2.0.2/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 3.0.0/package.mo): time 0.8243/0.8243, allocations: 133.7 MB / 148.6 MB, free: 13.68 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001166/0.001166, allocations: 172.1 kB / 180.9 MB, free: 15.1 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.653/1.653, allocations: 170.7 MB / 383.7 MB, free: 16.15 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.00177/0.00177, allocations: 111.2 kB / 454.6 MB, free: 9.727 MB / 346.7 MB [/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.1998/0.2004, allocations: 73.41 MB / 0.6812 GB, free: 5.57 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6587/0.8591, allocations: 107.3 MB / 0.7859 GB, free: 20.61 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002683/0.8595, allocations: 88.41 kB / 0.786 GB, free: 20.57 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04286/0.9024, allocations: 17.2 MB / 0.8028 GB, free: 7.16 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.9025, allocations: 4 kB / 0.8028 GB, free: 7.156 MB / 490.7 MB Notification: Performance of Transformations before backend: time 5.566e-05/0.9025, allocations: 12 kB / 0.8029 GB, free: 7.145 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 116 * Number of variables: 116 Notification: Performance of Generate backend data structure: time 0.002161/0.9047, allocations: 1.127 MB / 0.804 GB, free: 6.016 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.572e-05/0.9048, allocations: 12.02 kB / 0.804 GB, free: 6.004 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008015/0.9056, allocations: 189.8 kB / 0.8041 GB, free: 5.82 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/0.9066, allocations: 0.6208 MB / 0.8048 GB, free: 5.168 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.336e-05/0.9067, allocations: 37.75 kB / 0.8048 GB, free: 5.133 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.072e-05/0.9068, allocations: 51.98 kB / 0.8048 GB, free: 5.082 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001548/0.9083, allocations: 0.7482 MB / 0.8056 GB, free: 4.309 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.702e-05/0.9084, allocations: 0 / 0.8056 GB, free: 4.309 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.634e-05/0.9084, allocations: 27.94 kB / 0.8056 GB, free: 4.281 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.525e-05/0.9085, allocations: 12 kB / 0.8056 GB, free: 4.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001836/0.9103, allocations: 0.7534 MB / 0.8063 GB, free: 3.516 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002879/0.9132, allocations: 1.766 MB / 0.8081 GB, free: 1.699 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002385/0.9156, allocations: 0.9211 MB / 0.809 GB, free: 0.7695 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006292/0.9163, allocations: 450.4 kB / 0.8094 GB, free: 244 kB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001257/0.9175, allocations: 461.8 kB / 0.8098 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 2.204e-06/0.9175, allocations: 0 / 0.8098 GB, free: 15.78 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.003388/0.9209, allocations: 1.11 MB / 0.8109 GB, free: 14.66 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002149/0.9212, allocations: 222.2 kB / 0.8111 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007612/0.9219, allocations: 0.5072 MB / 0.8116 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.31e-05/0.922, allocations: 33.7 kB / 0.8117 GB, free: 13.84 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003312/0.9224, allocations: 308.6 kB / 0.812 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001757/0.9225, allocations: 145.8 kB / 0.8121 GB, free: 13.39 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.9226, allocations: 8 kB / 0.8121 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0003006/0.9229, allocations: 375.5 kB / 0.8125 GB, free: 13 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.9239, allocations: 348.6 kB / 0.8128 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001106/0.9251, allocations: 422.5 kB / 0.8132 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001031/0.9261, allocations: 404 kB / 0.8136 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.9261, allocations: 0 / 0.8136 GB, free: 11.82 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002415/0.9285, allocations: 0.8851 MB / 0.8144 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 8.522e-05/0.9286, allocations: 55.41 kB / 0.8145 GB, free: 10.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.9287, allocations: 7.938 kB / 0.8145 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.532e-05/0.9287, allocations: 1.312 kB / 0.8145 GB, free: 10.85 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007998/0.9295, allocations: 155.8 kB / 0.8147 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.003e-05/0.9295, allocations: 3.984 kB / 0.8147 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007746/0.9303, allocations: 123.6 kB / 0.8148 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.054e-05/0.9304, allocations: 19.98 kB / 0.8148 GB, free: 10.55 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($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 (49): * Single equations (assignments): 47 * 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.0005479/0.9309, allocations: 201.7 kB / 0.815 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001215/0.9311, allocations: 71.16 kB / 0.8151 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00257/0.9337, allocations: 0.8319 MB / 0.8159 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.237e-05/0.9337, allocations: 8 kB / 0.8159 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/0.9337, allocations: 0 / 0.8159 GB, free: 9.414 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.28e-05/0.9337, allocations: 7.969 kB / 0.8159 GB, free: 9.406 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00109/0.9348, allocations: 0.7234 MB / 0.8166 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.9348, allocations: 0 / 0.8166 GB, free: 8.637 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007778/0.9356, allocations: 151.8 kB / 0.8167 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.885e-06/0.9356, allocations: 1.312 kB / 0.8167 GB, free: 8.488 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.528e-05/0.9357, allocations: 12 kB / 0.8167 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.9357, allocations: 0 / 0.8167 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/0.9357, allocations: 4 kB / 0.8167 GB, free: 8.473 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003235/0.939, allocations: 1.262 MB / 0.818 GB, free: 7.195 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000348/0.9393, allocations: 224 kB / 0.8182 GB, free: 6.957 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001119/0.9394, allocations: 8 kB / 0.8182 GB, free: 6.949 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006595/0.9401, allocations: 107.9 kB / 0.8183 GB, free: 6.844 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001377/0.9403, allocations: 47.92 kB / 0.8183 GB, free: 6.797 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.9403, allocations: 12 kB / 0.8184 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0005804/0.9409, allocations: 415.1 kB / 0.8188 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.6e-07/0.9409, allocations: 0 / 0.8188 GB, free: 6.387 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0005801/0.9415, allocations: 147.6 kB / 0.8189 GB, free: 6.242 MB / 0.4948 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 (TRoo.count,m_flow.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 40 * 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.000352/0.9418, allocations: 139 kB / 0.819 GB, free: 6.098 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.002239/0.9441, allocations: 0.8591 MB / 0.8199 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.9441, allocations: 0 / 0.8199 GB, free: 5.211 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.001027/0.9451, allocations: 395.6 kB / 0.8202 GB, free: 4.824 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007106/0.9459, allocations: 130.4 kB / 0.8204 GB, free: 4.699 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003068/0.9489, allocations: 1.356 MB / 0.8217 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007454/0.9497, allocations: 0.9058 MB / 0.8226 GB, free: 2.398 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0004628/0.9502, allocations: 76.52 kB / 0.8227 GB, free: 2.324 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001974/0.9504, allocations: 47.38 kB / 0.8227 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of SimCode: time 8.62e-07/0.9504, allocations: 0 / 0.8227 GB, free: 2.277 MB / 0.4948 GB Notification: Performance of Templates: time 0.01747/0.9679, allocations: 7.832 MB / 0.8303 GB, free: 10.53 MB / 0.5105 GB make -j1 -f Buildings_3.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (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)