Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.RoomMixingBox") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.221/2.221, allocations: 252.6 MB / 265.2 MB, free: 5.785 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001493/0.001493, allocations: 189.5 kB / 324.5 MB, free: 14.4 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.907/1.907, allocations: 205.4 MB / 0.5754 GB, free: 10.45 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001125/0.001125, allocations: 86.33 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.588e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1941, allocations: 106.2 MB / 0.8949 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8626/1.057, allocations: 137 MB / 1.029 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00032/1.057, allocations: 85.25 kB / 1.029 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.05705/1.114, allocations: 14.39 MB / 1.043 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.623e-06/1.114, allocations: 0 / 1.043 GB, free: 1.504 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.218e-05/1.114, allocations: 16 kB / 1.043 GB, free: 1.488 MB / 0.6511 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.003055/1.117, allocations: 1.064 MB / 1.044 GB, free: 424 kB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.06e-05/1.118, allocations: 8.031 kB / 1.044 GB, free: 416 kB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003322/1.118, allocations: 102.8 kB / 1.044 GB, free: 312 kB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00119/1.119, allocations: 0.5349 MB / 1.044 GB, free: 15.85 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.544e-05/1.119, allocations: 62.98 kB / 1.045 GB, free: 15.81 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000171/1.119, allocations: 73.09 kB / 1.045 GB, free: 15.76 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001907/1.121, allocations: 0.7452 MB / 1.045 GB, free: 15.23 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.119e-05/1.121, allocations: 7.938 kB / 1.045 GB, free: 15.22 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.121, allocations: 30.55 kB / 1.045 GB, free: 15.21 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.094e-05/1.121, allocations: 20 kB / 1.045 GB, free: 15.19 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001495/1.123, allocations: 0.5166 MB / 1.046 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006707/1.13, allocations: 2.915 MB / 1.049 GB, free: 12.54 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001865/1.132, allocations: 0.6082 MB / 1.049 GB, free: 12.14 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006923/1.132, allocations: 276.2 kB / 1.05 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 7.358e-05/1.132, allocations: 4.562 kB / 1.05 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008027/1.133, allocations: 309.8 kB / 1.05 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=57): time 3.967e-06/1.133, allocations: 0 / 1.05 GB, free: 11.76 MB / 0.6667 GB Notification: Performance of matching and sorting (n=57): time 0.00143/1.135, allocations: 0.4931 MB / 1.05 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.989e-05/1.135, allocations: 137.1 kB / 1.051 GB, free: 11.23 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001086/1.136, allocations: 0.5674 MB / 1.051 GB, free: 10.8 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.855e-05/1.136, allocations: 41.06 kB / 1.051 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004085/1.136, allocations: 367.4 kB / 1.051 GB, free: 10.53 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002149/1.137, allocations: 177 kB / 1.052 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.493e-05/1.137, allocations: 15 kB / 1.052 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001528/1.137, allocations: 331.8 kB / 1.052 GB, free: 10.05 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00056/1.137, allocations: 184.1 kB / 1.052 GB, free: 9.949 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006731/1.138, allocations: 297.2 kB / 1.052 GB, free: 9.723 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006032/1.139, allocations: 253.5 kB / 1.053 GB, free: 9.547 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.329e-06/1.139, allocations: 7.938 kB / 1.053 GB, free: 9.539 MB / 0.6667 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.001597/1.14, allocations: 0.6293 MB / 1.053 GB, free: 9.055 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002307/1.141, allocations: 420.3 kB / 1.054 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/1.141, allocations: 0 / 1.054 GB, free: 8.613 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.295e-05/1.141, allocations: 4 kB / 1.054 GB, free: 8.609 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001315/1.142, allocations: 167.3 kB / 1.054 GB, free: 8.453 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.462e-05/1.142, allocations: 7.891 kB / 1.054 GB, free: 8.445 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001102/1.143, allocations: 142.2 kB / 1.054 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.734e-05/1.143, allocations: 27.23 kB / 1.054 GB, free: 8.293 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.02e-05/1.143, allocations: 4 kB / 1.054 GB, free: 8.289 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001339/1.145, allocations: 0.5312 MB / 1.055 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/1.145, allocations: 0 / 1.055 GB, free: 7.914 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.01e-05/1.145, allocations: 4 kB / 1.055 GB, free: 7.91 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00106/1.146, allocations: 130.9 kB / 1.055 GB, free: 7.785 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/1.146, allocations: 16.14 kB / 1.055 GB, free: 7.77 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009078/1.147, allocations: 109.8 kB / 1.055 GB, free: 7.672 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.84e-05/1.147, allocations: 23 kB / 1.055 GB, free: 7.656 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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.trigger_internal,conMix.conCoo.I.trigger_internal,conMix.conHea.I.trigger_internal) * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002387/1.147, allocations: 150.9 kB / 1.055 GB, free: 7.516 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001564/1.147, allocations: 75.02 kB / 1.055 GB, free: 7.441 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001466/1.149, allocations: 0.5394 MB / 1.056 GB, free: 7.086 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.107e-06/1.149, allocations: 4 kB / 1.056 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.611e-06/1.149, allocations: 0 / 1.056 GB, free: 7.082 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/1.149, allocations: 3.984 kB / 1.056 GB, free: 7.078 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002621/1.151, allocations: 1.373 MB / 1.057 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.658e-06/1.151, allocations: 0 / 1.057 GB, free: 6.035 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001227/1.153, allocations: 150.7 kB / 1.057 GB, free: 5.891 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-05/1.153, allocations: 4 kB / 1.057 GB, free: 5.887 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/1.153, allocations: 14.55 kB / 1.057 GB, free: 5.879 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.375e-05/1.153, allocations: 4 kB / 1.057 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/1.153, allocations: 0 / 1.057 GB, free: 5.875 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002121/1.155, allocations: 0.929 MB / 1.058 GB, free: 5.191 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002135/1.155, allocations: 173.6 kB / 1.058 GB, free: 5.016 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001288/1.155, allocations: 14.81 kB / 1.058 GB, free: 5.008 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009757/1.156, allocations: 100.9 kB / 1.058 GB, free: 4.918 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001936/1.156, allocations: 47.42 kB / 1.058 GB, free: 4.879 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.76e-05/1.157, allocations: 18.62 kB / 1.058 GB, free: 4.867 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0008578/1.157, allocations: 453 kB / 1.059 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of sort global known variables: time 8.01e-07/1.157, allocations: 0 / 1.059 GB, free: 4.543 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001001/1.158, allocations: 263.8 kB / 1.059 GB, free: 4.309 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * 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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (57): * Single equations (assignments): 53 * 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.0002344/1.159, allocations: 125.6 kB / 1.059 GB, free: 4.184 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002109/1.161, allocations: 0.9639 MB / 1.06 GB, free: 3.43 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/1.161, allocations: 3.984 kB / 1.06 GB, free: 3.426 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0007253/1.162, allocations: 257.5 kB / 1.06 GB, free: 3.258 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001088/1.163, allocations: 153.3 kB / 1.06 GB, free: 3.145 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002585/1.165, allocations: 0.9367 MB / 1.061 GB, free: 2.324 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007548/1.166, allocations: 0.9554 MB / 1.062 GB, free: 1.34 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0009095/1.167, allocations: 119.9 kB / 1.062 GB, free: 1.219 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002486/1.167, allocations: 43.42 kB / 1.062 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of SimCode: time 8.42e-07/1.167, allocations: 0 / 1.062 GB, free: 1.176 MB / 0.6667 GB Notification: Performance of Templates: time 0.03241/1.2, allocations: 8.939 MB / 1.071 GB, free: 8.316 MB / 0.6823 GB