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: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 105.5 kB / 16.36 MB, free: 6.309 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.001727/0.001727, allocations: 192.3 kB / 17.3 MB, free: 5.871 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.41/1.41, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.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.8/1.8, allocations: 292.3 MB / 0.5496 GB, free: 17.43 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.001655/0.001655, allocations: 64.47 kB / 0.6729 GB, free: 5.812 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2381/0.2398, allocations: 114.6 MB / 0.7848 GB, free: 3.141 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.4483/0.6881, allocations: 3.917 MB / 0.7886 GB, free: 46.64 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.002363/0.6905, allocations: 1.327 MB / 0.7899 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000417/0.691, allocations: 15.19 kB / 0.7899 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0003401/0.6913, allocations: 131.9 kB / 0.79 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.0002825/0.6917, allocations: 126.5 kB / 0.7902 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000607/0.6923, allocations: 357.5 kB / 0.7905 GB, free: 46.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0008371/0.6931, allocations: 1.046 MB / 0.7915 GB, free: 46.6 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006307/0.6938, allocations: 0.537 MB / 0.792 GB, free: 46.54 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003043/0.6941, allocations: 378.5 kB / 0.7924 GB, free: 46.47 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003718/0.6945, allocations: 419.8 kB / 0.7928 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0001917/0.6947, allocations: 127 kB / 0.7929 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001701/0.6949, allocations: 124.7 kB / 0.793 GB, free: 46.37 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001891/0.6951, allocations: 237.5 kB / 0.7933 GB, free: 46.34 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0004001/0.6955, allocations: 458.2 kB / 0.7937 GB, free: 46.12 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.000998/0.6965, allocations: 1.349 MB / 0.795 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.499e-06/0.6965, allocations: 0.5938 kB / 0.795 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6965, allocations: 1.781 kB / 0.795 GB, free: 45.61 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.387e-05/0.6965, allocations: 0 / 0.795 GB, free: 45.61 MB / 0.6544 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.002158/0.6987, allocations: 1.271 MB / 0.7963 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/0.6987, allocations: 10.16 kB / 0.7963 GB, free: 44.75 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001849/0.6989, allocations: 100.6 kB / 0.7964 GB, free: 44.7 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000741/0.6997, allocations: 0.5827 MB / 0.7969 GB, free: 44.29 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.186e-05/0.6997, allocations: 53.92 kB / 0.797 GB, free: 44.27 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.974e-05/0.6998, allocations: 72.44 kB / 0.7971 GB, free: 44.25 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001576/0.7014, allocations: 0.821 MB / 0.7979 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.004e-05/0.7015, allocations: 0 / 0.7979 GB, free: 43.91 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.604e-05/0.7015, allocations: 27.45 kB / 0.7979 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.51e-05/0.7015, allocations: 18.06 kB / 0.7979 GB, free: 43.89 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001728/0.7033, allocations: 0.68 MB / 0.7986 GB, free: 43.68 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003363/0.7067, allocations: 2.476 MB / 0.801 GB, free: 42.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001949/0.7086, allocations: 0.7125 MB / 0.8017 GB, free: 42.01 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008644/0.7095, allocations: 347 kB / 0.802 GB, free: 41.9 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 4.631e-05/0.7096, allocations: 15.36 kB / 0.802 GB, free: 41.89 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009438/0.7105, allocations: 369.2 kB / 0.8024 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=51): time 2.796e-06/0.7105, allocations: 0 / 0.8024 GB, free: 41.76 MB / 0.6544 GB Notification: Performance of matching and sorting (n=51): time 0.002947/0.7135, allocations: 0.8593 MB / 0.8032 GB, free: 41.48 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.251e-05/0.7135, allocations: 137.8 kB / 0.8034 GB, free: 41.32 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008457/0.7144, allocations: 0.6127 MB / 0.804 GB, free: 41.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 5.038e-05/0.7145, allocations: 40.02 kB / 0.804 GB, free: 40.99 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002696/0.7147, allocations: 375.4 kB / 0.8044 GB, free: 40.7 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001201/0.7149, allocations: 174.3 kB / 0.8045 GB, free: 40.57 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001909/0.7151, allocations: 110.3 kB / 0.8046 GB, free: 40.51 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7152, allocations: 383.2 kB / 0.805 GB, free: 40.16 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008459/0.716, allocations: 283 kB / 0.8053 GB, free: 40.07 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009342/0.717, allocations: 421 kB / 0.8057 GB, free: 39.83 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.7187, allocations: 0.6564 MB / 0.8063 GB, free: 39.5 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.7187, allocations: 0.5625 kB / 0.8063 GB, free: 39.5 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002316/0.721, allocations: 0.8187 MB / 0.8071 GB, free: 39.17 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 6.101e-05/0.7211, allocations: 63.02 kB / 0.8072 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.7211, allocations: 2.25 kB / 0.8072 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.908e-05/0.7211, allocations: 5.391 kB / 0.8072 GB, free: 39.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007244/0.7219, allocations: 149.8 kB / 0.8073 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.464e-05/0.7219, allocations: 6.125 kB / 0.8073 GB, free: 39.1 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007026/0.7226, allocations: 119.1 kB / 0.8074 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.49e-05/0.7227, allocations: 21.98 kB / 0.8075 GB, free: 39.05 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0008829/0.7236, allocations: 399.3 kB / 0.8078 GB, free: 38.84 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006842/0.7243, allocations: 362.9 kB / 0.8082 GB, free: 38.61 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001274/0.7255, allocations: 0.5698 MB / 0.8087 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.681e-06/0.7256, allocations: 1.031 kB / 0.8087 GB, free: 38.29 MB / 0.6544 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.001674/0.7272, allocations: 0.7195 MB / 0.8094 GB, free: 37.97 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 4.082e-05/0.7273, allocations: 65.2 kB / 0.8095 GB, free: 37.9 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.7273, allocations: 3 kB / 0.8095 GB, free: 37.9 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.7273, allocations: 5.594 kB / 0.8095 GB, free: 37.9 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005339/0.7279, allocations: 127 kB / 0.8096 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.01e-05/0.7279, allocations: 4.766 kB / 0.8096 GB, free: 37.89 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005788/0.7285, allocations: 97.17 kB / 0.8097 GB, free: 37.86 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.142e-05/0.7285, allocations: 20.27 kB / 0.8097 GB, free: 37.85 MB / 0.6544 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.0002481/0.7288, allocations: 223.1 kB / 0.81 GB, free: 37.64 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001145/0.7289, allocations: 66.28 kB / 0.81 GB, free: 37.61 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001921/0.7308, allocations: 0.6524 MB / 0.8107 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.7308, allocations: 3 kB / 0.8107 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.7308, allocations: 1.406 kB / 0.8107 GB, free: 37.36 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001368/0.731, allocations: 155.2 kB / 0.8108 GB, free: 37.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.247e-05/0.7311, allocations: 16 kB / 0.8108 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004832/0.7316, allocations: 65.16 kB / 0.8109 GB, free: 37.2 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.7317, allocations: 48.23 kB / 0.8109 GB, free: 37.18 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002098/0.7338, allocations: 0.746 MB / 0.8117 GB, free: 36.9 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002568/0.7364, allocations: 1.143 MB / 0.8128 GB, free: 36.37 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0008126/0.7372, allocations: 307.9 kB / 0.8131 GB, free: 36.28 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0006155/0.7379, allocations: 436.7 kB / 0.8135 GB, free: 36.08 MB / 0.6544 GB Notification: Performance of Backend: time 6.52e-07/0.7379, allocations: 3.938 kB / 0.8135 GB, free: 36.07 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002392/0.7403, allocations: 0.9906 MB / 0.8145 GB, free: 35.54 MB / 0.6544 GB Notification: Performance of SimCode: time 0.002411/0.7427, allocations: 1.587 MB / 0.816 GB, free: 34.45 MB / 0.6544 GB Notification: Performance of Templates: time 0.02846/0.7712, allocations: 10.56 MB / 0.8263 GB, free: 33.83 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.makefile (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 & ./Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.pipe 2>&1)