Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009644/0.0009645, allocations: 189.3 kB / 382.3 MB, free: 14.84 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 225.7 MB / 0.6617 GB, free: 7.234 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007346/0.0007347, allocations: 91.59 kB / 0.7789 GB, free: 46.9 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003283/0.0003285, allocations: 12 kB / 0.9058 GB, free: 4.949 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5173/0.5176, allocations: 119.2 MB / 1.022 GB, free: 58.12 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox): time 0.003484/0.5212, allocations: 3.289 MB / 1.025 GB, free: 56.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.002039/0.5232, allocations: 1.347 MB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000364/0.5236, allocations: 17.5 kB / 1.027 GB, free: 55.11 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0002463/0.5239, allocations: 97.11 kB / 1.027 GB, free: 55.04 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0002717/0.5242, allocations: 92.59 kB / 1.027 GB, free: 54.98 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005105/0.5247, allocations: 315.7 kB / 1.027 GB, free: 54.75 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0007301/0.5254, allocations: 0.9323 MB / 1.028 GB, free: 54.29 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006531/0.5261, allocations: 0.5098 MB / 1.029 GB, free: 54.05 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002312/0.5263, allocations: 240.6 kB / 1.029 GB, free: 53.93 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002572/0.5266, allocations: 294.4 kB / 1.029 GB, free: 53.77 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 7.063e-05/0.5267, allocations: 24.78 kB / 1.029 GB, free: 53.77 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.441e-05/0.5267, allocations: 24.81 kB / 1.029 GB, free: 53.77 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 8.772e-05/0.5268, allocations: 117.3 kB / 1.029 GB, free: 53.7 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002459/0.5271, allocations: 356.5 kB / 1.03 GB, free: 53.43 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0008598/0.528, allocations: 1.189 MB / 1.031 GB, free: 53.1 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.528, allocations: 0 / 1.031 GB, free: 53.1 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.054e-06/0.528, allocations: 4.562 kB / 1.031 GB, free: 53.1 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.287e-05/0.528, allocations: 0.5625 kB / 1.031 GB, free: 53.1 MB / 0.698 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.001949/0.53, allocations: 1.161 MB / 1.032 GB, free: 52.35 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.536e-05/0.53, allocations: 11.94 kB / 1.032 GB, free: 52.35 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001348/0.5301, allocations: 96.97 kB / 1.032 GB, free: 52.3 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006221/0.5308, allocations: 0.5834 MB / 1.033 GB, free: 51.86 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.745e-05/0.5308, allocations: 56.22 kB / 1.033 GB, free: 51.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001158/0.531, allocations: 74.62 kB / 1.033 GB, free: 51.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001528/0.5325, allocations: 0.8474 MB / 1.034 GB, free: 51.46 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.616e-05/0.5325, allocations: 0 / 1.034 GB, free: 51.46 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.5326, allocations: 36.33 kB / 1.034 GB, free: 51.44 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.427e-05/0.5326, allocations: 25.36 kB / 1.034 GB, free: 51.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001655/0.5343, allocations: 0.7504 MB / 1.034 GB, free: 51.21 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002867/0.5371, allocations: 2.524 MB / 1.037 GB, free: 49.71 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.5389, allocations: 0.8123 MB / 1.038 GB, free: 49.45 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007737/0.5397, allocations: 387.2 kB / 1.038 GB, free: 49.33 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.495e-05/0.5397, allocations: 6.906 kB / 1.038 GB, free: 49.33 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009336/0.5407, allocations: 413.7 kB / 1.038 GB, free: 49.18 MB / 0.698 GB Notification: Performance of pre-optimization done (n=51): time 2.465e-06/0.5407, allocations: 1.312 kB / 1.038 GB, free: 49.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=51): time 0.002333/0.543, allocations: 0.9799 MB / 1.039 GB, free: 48.89 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.5431, allocations: 135.2 kB / 1.04 GB, free: 48.73 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006836/0.5438, allocations: 0.6103 MB / 1.04 GB, free: 48.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 4.336e-05/0.5438, allocations: 36.92 kB / 1.04 GB, free: 48.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.544, allocations: 385.2 kB / 1.041 GB, free: 48.11 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 9.503e-05/0.5441, allocations: 167.2 kB / 1.041 GB, free: 47.97 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.5442, allocations: 11.97 kB / 1.041 GB, free: 47.96 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.53e-05/0.5443, allocations: 380 kB / 1.041 GB, free: 47.62 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000741/0.545, allocations: 317.2 kB / 1.041 GB, free: 47.53 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007752/0.5458, allocations: 457.9 kB / 1.042 GB, free: 47.29 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001488/0.5473, allocations: 0.7403 MB / 1.043 GB, free: 46.93 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.326e-06/0.5473, allocations: 0 / 1.043 GB, free: 46.93 MB / 0.698 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001758/0.5491, allocations: 0.899 MB / 1.043 GB, free: 46.58 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 7.109e-05/0.5492, allocations: 208.3 kB / 1.044 GB, free: 46.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5492, allocations: 3.844 kB / 1.044 GB, free: 46.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.705e-05/0.5492, allocations: 5.625 kB / 1.044 GB, free: 46.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000634/0.5498, allocations: 162.2 kB / 1.044 GB, free: 46.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.5499, allocations: 12.62 kB / 1.044 GB, free: 46.32 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005544/0.5504, allocations: 157.6 kB / 1.044 GB, free: 46.27 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.435e-05/0.5505, allocations: 22.41 kB / 1.044 GB, free: 46.26 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.522e-06/0.5505, allocations: 3.344 kB / 1.044 GB, free: 46.26 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001372/0.5519, allocations: 0.6875 MB / 1.045 GB, free: 45.99 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.5519, allocations: 7.438 kB / 1.045 GB, free: 45.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.919e-06/0.5519, allocations: 7.344 kB / 1.045 GB, free: 45.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004808/0.5524, allocations: 131.7 kB / 1.045 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/0.5524, allocations: 7.812 kB / 1.045 GB, free: 45.97 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004608/0.5529, allocations: 125 kB / 1.045 GB, free: 45.92 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.29e-05/0.5529, allocations: 17.27 kB / 1.045 GB, free: 45.92 MB / 0.698 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,$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 (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.0003079/0.5532, allocations: 313.8 kB / 1.045 GB, free: 45.65 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.343e-05/0.5533, allocations: 68.59 kB / 1.045 GB, free: 45.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001541/0.5549, allocations: 0.7318 MB / 1.046 GB, free: 45.36 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.5549, allocations: 6.531 kB / 1.046 GB, free: 45.36 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.5549, allocations: 0 / 1.046 GB, free: 45.36 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.5549, allocations: 3.797 kB / 1.046 GB, free: 45.36 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006254/0.5556, allocations: 0.7251 MB / 1.047 GB, free: 44.94 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/0.5556, allocations: 0 / 1.047 GB, free: 44.94 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.5561, allocations: 143.5 kB / 1.047 GB, free: 44.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.5562, allocations: 3.031 kB / 1.047 GB, free: 44.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.517e-05/0.5562, allocations: 12.33 kB / 1.047 GB, free: 44.92 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.198e-06/0.5562, allocations: 2.109 kB / 1.047 GB, free: 44.92 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-06/0.5562, allocations: 7.875 kB / 1.047 GB, free: 44.91 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002182/0.5584, allocations: 1.11 MB / 1.048 GB, free: 44.51 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 9.333e-05/0.5585, allocations: 154.1 kB / 1.048 GB, free: 44.37 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.476e-05/0.5586, allocations: 12.72 kB / 1.048 GB, free: 44.36 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004549/0.559, allocations: 88.53 kB / 1.048 GB, free: 44.35 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.5592, allocations: 49.67 kB / 1.048 GB, free: 44.34 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.094e-05/0.5592, allocations: 15.92 kB / 1.048 GB, free: 44.33 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0004342/0.5596, allocations: 434.6 kB / 1.049 GB, free: 44.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5597, allocations: 0 / 1.049 GB, free: 44.13 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005668/0.5602, allocations: 257.3 kB / 1.049 GB, free: 44.06 MB / 0.698 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.0001179/0.5603, allocations: 126.6 kB / 1.049 GB, free: 43.96 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002224/0.5626, allocations: 1.246 MB / 1.05 GB, free: 43.43 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/0.5626, allocations: 7.75 kB / 1.05 GB, free: 43.42 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0007542/0.5634, allocations: 354 kB / 1.051 GB, free: 43.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005795/0.5639, allocations: 122.8 kB / 1.051 GB, free: 43.28 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001825/0.5658, allocations: 1.539 MB / 1.052 GB, free: 42.3 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000305/0.5661, allocations: 0.9183 MB / 1.053 GB, free: 41.6 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0003303/0.5664, allocations: 81.78 kB / 1.053 GB, free: 41.59 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/0.5666, allocations: 53.11 kB / 1.053 GB, free: 41.57 MB / 0.698 GB Notification: Performance of SimCode: time 3.5e-07/0.5666, allocations: 0 / 1.053 GB, free: 41.57 MB / 0.698 GB Notification: Performance of Templates: time 0.01115/0.5778, allocations: 7.171 MB / 1.06 GB, free: 41.17 MB / 0.698 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)