Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil") Notification: Performance of loadModel(Buildings): time 3.859/3.859, allocations: 432.7 MB / 445.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 2.999e-05/3.019e-05, allocations: 4.516 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1743/0.1744, allocations: 98.72 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2027/0.3771, allocations: 132.1 MB / 0.7637 GB, free: 13.65 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.3775, allocations: 91.94 kB / 0.7638 GB, free: 13.56 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.03433/0.4118, allocations: 8.76 MB / 0.7723 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.17e-06/0.4119, allocations: 0 / 0.7723 GB, free: 4.762 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 4.561e-05/0.4119, allocations: 16 kB / 0.7723 GB, free: 4.746 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: 111 * Number of variables: 111 Notification: Performance of Generate backend data structure: time 0.001679/0.4136, allocations: 0.731 MB / 0.7731 GB, free: 3.961 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.569e-05/0.4137, allocations: 8.031 kB / 0.7731 GB, free: 3.953 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002069/0.4139, allocations: 63.28 kB / 0.7731 GB, free: 3.891 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008559/0.4148, allocations: 420.5 kB / 0.7735 GB, free: 3.438 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.22e-05/0.4149, allocations: 37 kB / 0.7736 GB, free: 3.402 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.415, allocations: 51.98 kB / 0.7736 GB, free: 3.352 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001198/0.4162, allocations: 0.5048 MB / 0.7741 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.797e-05/0.4162, allocations: 0 / 0.7741 GB, free: 2.812 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.969e-05/0.4163, allocations: 20 kB / 0.7741 GB, free: 2.793 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.649e-05/0.4163, allocations: 12 kB / 0.7741 GB, free: 2.781 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009331/0.4173, allocations: 347.8 kB / 0.7745 GB, free: 2.438 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003546/0.4208, allocations: 1.891 MB / 0.7763 GB, free: 480 kB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009142/0.4218, allocations: 295.2 kB / 0.7766 GB, free: 176 kB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003344/0.4222, allocations: 132.8 kB / 0.7767 GB, free: 40 kB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 4.18e-05/0.4222, allocations: 0 / 0.7767 GB, free: 40 kB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4452/0.8674, allocations: 194.3 kB / 0.7769 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 4.923e-06/0.8675, allocations: 0 / 0.7769 GB, free: 136.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.0008689/0.8683, allocations: 294.2 kB / 0.7772 GB, free: 136.7 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.42e-05/0.8684, allocations: 109.1 kB / 0.7773 GB, free: 136.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006011/0.869, allocations: 361.7 kB / 0.7776 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/0.8691, allocations: 46.77 kB / 0.7777 GB, free: 136.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002127/0.8694, allocations: 241.7 kB / 0.7779 GB, free: 136.4 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001066/0.8695, allocations: 96.45 kB / 0.778 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.243e-05/0.8695, allocations: 10.28 kB / 0.778 GB, free: 136.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001114/0.8696, allocations: 357.9 kB / 0.7783 GB, free: 136 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003565/0.87, allocations: 122.3 kB / 0.7785 GB, free: 136 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004219/0.8705, allocations: 242.4 kB / 0.7787 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003673/0.8708, allocations: 160.3 kB / 0.7788 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.061e-06/0.8709, allocations: 1.25 kB / 0.7788 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001085/0.8719, allocations: 453 kB / 0.7793 GB, free: 135.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002823/0.8723, allocations: 1.166 MB / 0.7804 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.3e-05/0.8723, allocations: 3.172 kB / 0.7804 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.768e-05/0.8723, allocations: 5.375 kB / 0.7804 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005024/0.8728, allocations: 88.25 kB / 0.7805 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.933e-05/0.8729, allocations: 11.61 kB / 0.7805 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006468/0.8735, allocations: 79.89 kB / 0.7806 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.211e-05/0.8736, allocations: 18.84 kB / 0.7806 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.8737, allocations: 8.281 kB / 0.7806 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001024/0.8747, allocations: 395.9 kB / 0.781 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.44e-06/0.8747, allocations: 3.469 kB / 0.781 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.8747, allocations: 6.375 kB / 0.781 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004317/0.8752, allocations: 79.19 kB / 0.7811 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.8752, allocations: 9.875 kB / 0.7811 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005476/0.8758, allocations: 75.5 kB / 0.7812 GB, free: 134.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.679e-05/0.8759, allocations: 18.92 kB / 0.7812 GB, free: 134.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 33 ($PRE.preHeatCoil.toOn.enableFire,$PRE.preHeatCoil.toOff.enableFire,preHeatCoil.stateGraphRoot.resume,preHeatCoil.stateGraphRoot.suspend,$whenCondition2,$whenCondition1,$PRE.TMix.T_start,TMix.T_start,$PRE.TMix.count,TMix.count,$PRE.preHeatCoil.preHeaOn.y,preHeatCoil.preHeaOn.y,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,$PRE.preHeatCoil.pumOn.localActive,preHeatCoil.pumOn.localActive,$PRE.preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.newActive,$PRE.preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.enableFire,preHeatCoil.toOff.fire,$PRE.preHeatCoil.toOff.t_start,preHeatCoil.toOff.t_start,preHeatCoil.preHeaCoiCon.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 1 * 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.0001984/0.8761, allocations: 144.4 kB / 0.7813 GB, free: 134.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001033/0.8762, allocations: 40.3 kB / 0.7814 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008637/0.8771, allocations: 331 kB / 0.7817 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.8771, allocations: 6.391 kB / 0.7817 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.208e-06/0.8771, allocations: 0 / 0.7817 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.071e-05/0.8771, allocations: 5.781 kB / 0.7817 GB, free: 134.3 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001903/0.879, allocations: 0.9165 MB / 0.7826 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.803e-06/0.8791, allocations: 3.562 kB / 0.7826 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004431/0.8795, allocations: 62.88 kB / 0.7826 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-05/0.8796, allocations: 5.922 kB / 0.7827 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.456e-05/0.8796, allocations: 12.95 kB / 0.7827 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.027e-06/0.8797, allocations: 3.781 kB / 0.7827 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.448e-06/0.8797, allocations: 1.219 kB / 0.7827 GB, free: 134 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001279/0.881, allocations: 0.5656 MB / 0.7832 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002496/0.8812, allocations: 159.3 kB / 0.7834 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.378e-05/0.8813, allocations: 8.062 kB / 0.7834 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005034/0.8819, allocations: 54.72 kB / 0.7834 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.882, allocations: 49.31 kB / 0.7835 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.8821, allocations: 12.3 kB / 0.7835 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004166/0.8825, allocations: 262.8 kB / 0.7837 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.95e-07/0.8825, allocations: 3.562 kB / 0.7837 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000935/0.8835, allocations: 159.6 kB / 0.7839 GB, free: 133.5 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 1 (preHeatCoil.preHeaCoiCon.I.y) * Number of discrete variables: 20 (preHeatCoil.toOff.enableFire,preHeatCoil.pumOn.localActive,preHeatCoil.pumOff.localActive,$cse1,$cse2,$whenCondition2,$whenCondition1,TMix.T_start,TMix.count,preHeatCoil.preHeaOn.y,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.active,preHeatCoil.toOn.enableFire,preHeatCoil.stateGraphRoot.activeSteps,preHeatCoil.pumOn.newActive,preHeatCoil.pumOn.oldActive,preHeatCoil.pumOn.active,preHeatCoil.toOff.fire,preHeatCoil.toOff.t_start) * Number of discrete states: 4 (TMix.count,preHeatCoil.pumOff.newActive,preHeatCoil.pumOn.newActive,preHeatCoil.preHeaOn.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.000223/0.8837, allocations: 132.6 kB / 0.784 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001402/0.8851, allocations: 0.6233 MB / 0.7846 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.481e-06/0.8852, allocations: 4.062 kB / 0.7846 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0004093/0.8856, allocations: 154 kB / 0.7848 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006761/0.8863, allocations: 75 kB / 0.7849 GB, free: 133.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001571/0.8879, allocations: 0.5367 MB / 0.7854 GB, free: 133.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003968/0.8883, allocations: 0.8389 MB / 0.7862 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0006381/0.889, allocations: 80.06 kB / 0.7863 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001528/0.8891, allocations: 32.22 kB / 0.7863 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of SimCode: time 1.854e-06/0.8891, allocations: 4 kB / 0.7863 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of Templates: time 0.01792/0.9071, allocations: 5.727 MB / 0.7919 GB, free: 132.1 MB / 0.6511 GB