Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009219/0.009224, allocations: 107.3 kB / 15.06 MB, free: 5.562 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001128/0.001128, allocations: 183.9 kB / 15.95 MB, free: 5.523 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.956/1.956, allocations: 194.6 MB / 211.3 MB, free: 11.04 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.275/2.275, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004736/0.0004739, allocations: 12 kB / 0.5869 GB, free: 2.16 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5907/0.5912, allocations: 98.71 MB / 0.6833 GB, free: 16.75 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.005334/0.5966, allocations: 2.488 MB / 0.6858 GB, free: 14.97 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.00359/0.6002, allocations: 1.096 MB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006529/0.6009, allocations: 14.22 kB / 0.6868 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0002355/0.6012, allocations: 48.55 kB / 0.6869 GB, free: 14.14 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0006893/0.6019, allocations: 88.75 kB / 0.687 GB, free: 14.09 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00137/0.6033, allocations: 243.4 kB / 0.6872 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.001204/0.6046, allocations: 415.3 kB / 0.6876 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006854/0.6053, allocations: 351 kB / 0.6879 GB, free: 13.61 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000264/0.6056, allocations: 174.9 kB / 0.6881 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002469/0.6058, allocations: 182 kB / 0.6883 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 6.659e-05/0.6059, allocations: 19.31 kB / 0.6883 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001043/0.606, allocations: 22.39 kB / 0.6883 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001026/0.6061, allocations: 78.69 kB / 0.6884 GB, free: 13.38 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001016/0.6062, allocations: 108.7 kB / 0.6885 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007254/0.607, allocations: 0.5215 MB / 0.689 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.221e-06/0.607, allocations: 5.312 kB / 0.689 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.276e-06/0.607, allocations: 0 / 0.689 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.507e-05/0.607, allocations: 0 / 0.689 GB, free: 13.18 MB / 0.5261 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.001689/0.6087, allocations: 0.7989 MB / 0.6898 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.6088, allocations: 13.64 kB / 0.6898 GB, free: 12.57 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001522/0.609, allocations: 65 kB / 0.6899 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000774/0.6097, allocations: 420.4 kB / 0.6903 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.007e-05/0.6098, allocations: 38.53 kB / 0.6903 GB, free: 12.2 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.6099, allocations: 43.62 kB / 0.6903 GB, free: 12.19 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001376/0.6113, allocations: 0.5287 MB / 0.6909 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.987e-05/0.6114, allocations: 1.031 kB / 0.6909 GB, free: 11.91 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.215e-05/0.6114, allocations: 22.11 kB / 0.6909 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.926e-05/0.6115, allocations: 14.81 kB / 0.6909 GB, free: 11.89 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001374/0.6129, allocations: 430 kB / 0.6913 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002938/0.6158, allocations: 1.846 MB / 0.6931 GB, free: 10.41 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/0.6172, allocations: 366.4 kB / 0.6935 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.176e-05/0.6172, allocations: 8.281 kB / 0.6935 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007104/0.6179, allocations: 224.7 kB / 0.6937 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=34): time 4.959e-06/0.618, allocations: 3.984 kB / 0.6937 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of matching and sorting (n=34): time 0.001799/0.6198, allocations: 0.4956 MB / 0.6942 GB, free: 10 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.57e-05/0.6198, allocations: 68.45 kB / 0.6942 GB, free: 9.93 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006054/0.6205, allocations: 402.2 kB / 0.6946 GB, free: 9.723 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.276e-05/0.6205, allocations: 45.58 kB / 0.6947 GB, free: 9.68 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001964/0.6207, allocations: 256.4 kB / 0.6949 GB, free: 9.465 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 9.669e-05/0.6208, allocations: 93.17 kB / 0.695 GB, free: 9.395 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.219e-05/0.6209, allocations: 10.56 kB / 0.695 GB, free: 9.387 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 9.984e-05/0.621, allocations: 355.2 kB / 0.6953 GB, free: 9.055 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005719/0.6216, allocations: 165.3 kB / 0.6955 GB, free: 9 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.6222, allocations: 270.5 kB / 0.6958 GB, free: 8.824 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005906/0.6228, allocations: 204.3 kB / 0.696 GB, free: 8.723 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.792e-06/0.6229, allocations: 5.453 kB / 0.696 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001495/0.6244, allocations: 0.5299 MB / 0.6965 GB, free: 8.488 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002812/0.6247, allocations: 1.246 MB / 0.6977 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.27e-05/0.6247, allocations: 3.125 kB / 0.6977 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.6247, allocations: 5.531 kB / 0.6977 GB, free: 7.156 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004331/0.6252, allocations: 85.41 kB / 0.6978 GB, free: 7.141 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.6252, allocations: 9.922 kB / 0.6978 GB, free: 7.137 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005111/0.6257, allocations: 83.27 kB / 0.6979 GB, free: 7.102 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.474e-05/0.6258, allocations: 24.86 kB / 0.6979 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/0.6258, allocations: 3.375 kB / 0.6979 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001332/0.6272, allocations: 480.9 kB / 0.6984 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.836e-06/0.6272, allocations: 3.156 kB / 0.6984 GB, free: 6.906 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.6272, allocations: 11.67 kB / 0.6984 GB, free: 6.902 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.6276, allocations: 78.06 kB / 0.6984 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/0.6276, allocations: 6.109 kB / 0.6985 GB, free: 6.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004709/0.6281, allocations: 80.36 kB / 0.6985 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.256e-05/0.6282, allocations: 20.34 kB / 0.6986 GB, free: 6.852 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 14 * 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,preHeatCoil.pumOff.active,$PRE.preHeatCoil.pumOff.localActive,preHeatCoil.pumOff.localActive,$PRE.preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.newActive,$PRE.preHeatCoil.pumOff.oldActive,preHeatCoil.pumOff.oldActive,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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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.0003633/0.6285, allocations: 281.2 kB / 0.6988 GB, free: 6.609 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.372e-05/0.6286, allocations: 43 kB / 0.6989 GB, free: 6.586 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001234/0.6299, allocations: 406.7 kB / 0.6992 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.247e-06/0.6299, allocations: 4.25 kB / 0.6993 GB, free: 6.426 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.645e-06/0.6299, allocations: 4 kB / 0.6993 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.67e-06/0.63, allocations: 3.609 kB / 0.6993 GB, free: 6.422 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002039/0.632, allocations: 0.9784 MB / 0.7002 GB, free: 5.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.632, allocations: 4.031 kB / 0.7002 GB, free: 5.746 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003417/0.6324, allocations: 50.41 kB / 0.7003 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.717e-06/0.6324, allocations: 9.297 kB / 0.7003 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.814e-05/0.6325, allocations: 18.67 kB / 0.7003 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.847e-06/0.6325, allocations: 1.375 kB / 0.7003 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.141e-06/0.6325, allocations: 1.375 kB / 0.7003 GB, free: 5.711 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001668/0.6342, allocations: 0.6822 MB / 0.701 GB, free: 5.289 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001898/0.6344, allocations: 146.8 kB / 0.7011 GB, free: 5.141 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.442e-05/0.6345, allocations: 15.03 kB / 0.7011 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004205/0.6349, allocations: 41.89 kB / 0.7012 GB, free: 5.113 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001531/0.6351, allocations: 47.67 kB / 0.7012 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.033e-05/0.6351, allocations: 19.2 kB / 0.7012 GB, free: 5.074 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003682/0.6355, allocations: 264.1 kB / 0.7015 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.76e-07/0.6355, allocations: 1.312 kB / 0.7015 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.000853/0.6364, allocations: 168.5 kB / 0.7016 GB, free: 4.855 MB / 0.5261 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.active,preHeatCoil.pumOff.newActive,preHeatCoil.pumOff.oldActive,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) * Number of clocked states: 0 () * 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.0001713/0.6365, allocations: 116.8 kB / 0.7017 GB, free: 4.762 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.001918/0.6385, allocations: 0.74 MB / 0.7025 GB, free: 4.367 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.868e-06/0.6385, allocations: 4.062 kB / 0.7025 GB, free: 4.363 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006048/0.6391, allocations: 185.2 kB / 0.7026 GB, free: 4.289 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005603/0.6397, allocations: 78.05 kB / 0.7027 GB, free: 4.25 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001741/0.6415, allocations: 0.8619 MB / 0.7036 GB, free: 3.625 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.6418, allocations: 0.8398 MB / 0.7044 GB, free: 2.855 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0004104/0.6422, allocations: 67.33 kB / 0.7044 GB, free: 2.816 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001583/0.6424, allocations: 36.3 kB / 0.7045 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of SimCode: time 2.406e-06/0.6424, allocations: 1.312 kB / 0.7045 GB, free: 2.805 MB / 0.5261 GB Notification: Performance of Templates: time 0.0134/0.6558, allocations: 4.683 MB / 0.7091 GB, free: 0.5312 MB / 0.5261 GB