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.8189/0.8189, allocations: 132.4 MB / 139.9 MB, free: 15.41 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.001186/0.001186, allocations: 168.1 kB / 171.8 MB, free: 2.031 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.766/1.766, allocations: 170.6 MB / 374.2 MB, free: 15.71 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.0017/0.0017, allocations: 119.2 kB / 444.8 MB, free: 9.227 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.6007/0.6008, allocations: 73.39 MB / 0.6666 GB, free: 46.93 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1871/0.788, allocations: 106.5 MB / 0.7706 GB, free: 14.27 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002512/0.7883, allocations: 82.02 kB / 0.7707 GB, free: 14.2 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04619/0.8345, allocations: 17.06 MB / 0.7874 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.934e-06/0.8346, allocations: 4 kB / 0.7874 GB, free: 13.2 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 5.016e-05/0.8346, allocations: 12 kB / 0.7874 GB, free: 13.19 MB / 0.4948 GB 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.001958/0.8366, allocations: 1.017 MB / 0.7884 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/0.8367, allocations: 8.031 kB / 0.7884 GB, free: 12.11 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000848/0.8375, allocations: 200 kB / 0.7886 GB, free: 11.92 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.8387, allocations: 0.5975 MB / 0.7892 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.077e-05/0.8387, allocations: 27.92 kB / 0.7892 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.847e-05/0.8388, allocations: 31.91 kB / 0.7892 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007936/0.8396, allocations: 410.6 kB / 0.7896 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000912/0.8405, allocations: 0.5169 MB / 0.7901 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.84e-05/0.8405, allocations: 3.953 kB / 0.7901 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.406e-05/0.8406, allocations: 4 kB / 0.7901 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.8406, allocations: 12 kB / 0.7901 GB, free: 10.25 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00303/0.8437, allocations: 1.663 MB / 0.7918 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001016/0.8447, allocations: 0.5314 MB / 0.7923 GB, free: 8.008 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003297/0.845, allocations: 194.2 kB / 0.7925 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006415/0.8457, allocations: 453.5 kB / 0.7929 GB, free: 7.281 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000479/0.8462, allocations: 282.5 kB / 0.7932 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=44): time 2.906e-06/0.8462, allocations: 0 / 0.7932 GB, free: 6.996 MB / 0.4948 GB Notification: Performance of matching and sorting (n=44): time 0.003489/0.8497, allocations: 1.016 MB / 0.7942 GB, free: 5.973 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001254/0.8498, allocations: 213.6 kB / 0.7944 GB, free: 5.715 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005652/0.8504, allocations: 418.4 kB / 0.7948 GB, free: 5.301 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 6.028e-05/0.8505, allocations: 26.45 kB / 0.7948 GB, free: 5.27 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003226/0.8508, allocations: 324.8 kB / 0.7951 GB, free: 4.945 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001459/0.851, allocations: 135 kB / 0.7952 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.861e-05/0.851, allocations: 0 / 0.7952 GB, free: 4.812 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002123/0.8512, allocations: 366.8 kB / 0.7956 GB, free: 4.445 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002886/0.8515, allocations: 164.9 kB / 0.7957 GB, free: 4.285 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003685/0.8519, allocations: 249.9 kB / 0.796 GB, free: 4.023 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002852/0.8548, allocations: 0.7462 MB / 0.7967 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.977e-06/0.8548, allocations: 5.219 kB / 0.7967 GB, free: 3.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.003452/0.8582, allocations: 1.053 MB / 0.7977 GB, free: 2.211 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 7.025e-05/0.8583, allocations: 63.39 kB / 0.7978 GB, free: 2.137 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.418e-06/0.8583, allocations: 4 kB / 0.7978 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.443e-05/0.8584, allocations: 0 / 0.7978 GB, free: 2.133 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007486/0.8591, allocations: 157 kB / 0.798 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.272e-05/0.8591, allocations: 0 / 0.798 GB, free: 1.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006786/0.8598, allocations: 115.6 kB / 0.7981 GB, free: 1.867 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.64e-05/0.8599, allocations: 16 kB / 0.7981 GB, free: 1.852 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 () * 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.0001869/0.8601, allocations: 118 kB / 0.7982 GB, free: 1.73 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001054/0.8602, allocations: 71.19 kB / 0.7983 GB, free: 1.66 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00353/0.8637, allocations: 1.039 MB / 0.7993 GB, free: 0.6133 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.8638, allocations: 8 kB / 0.7993 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.855e-06/0.8638, allocations: 0.9375 kB / 0.7993 GB, free: 0.6055 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.8638, allocations: 5.172 kB / 0.7993 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009274/0.8647, allocations: 0.6439 MB / 0.7999 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.455e-06/0.8647, allocations: 0 / 0.7999 GB, free: 15.92 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007288/0.8655, allocations: 151.8 kB / 0.8001 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.255e-06/0.8655, allocations: 7.953 kB / 0.8001 GB, free: 15.76 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.8655, allocations: 7.938 kB / 0.8001 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.8656, allocations: 0 / 0.8001 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.8656, allocations: 0 / 0.8001 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003719/0.8693, allocations: 1.311 MB / 0.8014 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002742/0.8696, allocations: 214.1 kB / 0.8016 GB, free: 14.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.692e-05/0.8697, allocations: 7.953 kB / 0.8016 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006197/0.8703, allocations: 107.8 kB / 0.8017 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.8704, allocations: 43.89 kB / 0.8017 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.741e-05/0.8705, allocations: 19.98 kB / 0.8017 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0004011/0.8709, allocations: 323 kB / 0.802 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8709, allocations: 0 / 0.802 GB, free: 13.71 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005096/0.8714, allocations: 139.5 kB / 0.8022 GB, free: 13.57 MB / 0.5105 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) * 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.0002632/0.8717, allocations: 136.7 kB / 0.8023 GB, free: 13.44 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0007869/0.8725, allocations: 0.5121 MB / 0.8028 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.8725, allocations: 4 kB / 0.8028 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003527/0.8729, allocations: 216.6 kB / 0.803 GB, free: 12.68 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006645/0.8735, allocations: 118.8 kB / 0.8031 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001563/0.8751, allocations: 0.7778 MB / 0.8039 GB, free: 11.77 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/0.8756, allocations: 0.9016 MB / 0.8048 GB, free: 10.84 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0003428/0.8759, allocations: 69.81 kB / 0.8048 GB, free: 10.77 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001599/0.8761, allocations: 39.42 kB / 0.8049 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of SimCode: time 6.01e-07/0.8761, allocations: 0 / 0.8049 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of Templates: time 0.0132/0.8893, allocations: 7.016 MB / 0.8117 GB, free: 3.832 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)