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.004417/0.004416, allocations: 239.2 kB / 15.81 MB, free: 6.281 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.001207/0.001207, allocations: 182.6 kB / 16.69 MB, free: 5.449 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 4.037/4.037, allocations: 389.1 MB / 406.5 MB, free: 11.85 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.373/4.373, allocations: 472.3 MB / 0.9024 GB, free: 9.227 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0007004/0.0007006, allocations: 18.77 kB / 1.008 GB, free: 138.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1791/0.1798, allocations: 98.72 MB / 1.105 GB, free: 42.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.003589/0.1835, allocations: 2.495 MB / 1.107 GB, free: 39.58 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.00248/0.186, allocations: 1.083 MB / 1.108 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.1864, allocations: 15.94 kB / 1.108 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001584/0.1866, allocations: 50.73 kB / 1.108 GB, free: 38.43 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0004304/0.1871, allocations: 71.42 kB / 1.108 GB, free: 38.36 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000899/0.188, allocations: 252.1 kB / 1.108 GB, free: 38.12 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0008209/0.1888, allocations: 0.6053 MB / 1.109 GB, free: 37.51 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006226/0.1894, allocations: 359.9 kB / 1.109 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002242/0.1897, allocations: 167.2 kB / 1.11 GB, free: 37 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002492/0.1899, allocations: 179 kB / 1.11 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.145e-05/0.19, allocations: 20 kB / 1.11 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001087/0.1901, allocations: 23.98 kB / 1.11 GB, free: 36.78 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 9.593e-05/0.1903, allocations: 83.61 kB / 1.11 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 9.328e-05/0.1904, allocations: 112.9 kB / 1.11 GB, free: 36.59 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0006122/0.191, allocations: 0.5263 MB / 1.11 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.191, allocations: 0 / 1.11 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.843e-06/0.191, allocations: 0 / 1.11 GB, free: 36.06 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.415e-06/0.191, allocations: 0 / 1.11 GB, free: 36.06 MB / 0.6042 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.002101/0.1931, allocations: 0.797 MB / 1.111 GB, free: 35.21 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.96e-05/0.1932, allocations: 10.55 kB / 1.111 GB, free: 35.2 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.1934, allocations: 59.25 kB / 1.111 GB, free: 35.14 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007969/0.1942, allocations: 423.5 kB / 1.112 GB, free: 34.69 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-05/0.1943, allocations: 45 kB / 1.112 GB, free: 34.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001034/0.1944, allocations: 48.69 kB / 1.112 GB, free: 34.6 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001404/0.1958, allocations: 0.5325 MB / 1.112 GB, free: 34.05 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.365e-05/0.1958, allocations: 7.953 kB / 1.112 GB, free: 34.04 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.401e-05/0.1959, allocations: 19.47 kB / 1.112 GB, free: 34.02 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.456e-05/0.1959, allocations: 12 kB / 1.112 GB, free: 34.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.1975, allocations: 423.9 kB / 1.113 GB, free: 33.6 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002911/0.2004, allocations: 1.839 MB / 1.115 GB, free: 31.7 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.2019, allocations: 373.1 kB / 1.115 GB, free: 31.33 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000638/0.2025, allocations: 180 kB / 1.115 GB, free: 31.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 4.951e-05/0.2026, allocations: 4 kB / 1.115 GB, free: 31.15 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008098/0.2034, allocations: 231.2 kB / 1.115 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=34): time 3.897e-06/0.2035, allocations: 0.5 kB / 1.115 GB, free: 30.92 MB / 0.6042 GB Notification: Performance of matching and sorting (n=34): time 0.00208/0.2055, allocations: 0.4893 MB / 1.116 GB, free: 30.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.242e-05/0.2056, allocations: 55.41 kB / 1.116 GB, free: 30.37 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005668/0.2062, allocations: 408.8 kB / 1.116 GB, free: 29.97 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.834e-05/0.2063, allocations: 37.7 kB / 1.116 GB, free: 29.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002009/0.2065, allocations: 256.2 kB / 1.117 GB, free: 29.68 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001/0.2066, allocations: 94.72 kB / 1.117 GB, free: 29.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.671e-05/0.2066, allocations: 8 kB / 1.117 GB, free: 29.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001046/0.2067, allocations: 362.7 kB / 1.117 GB, free: 29.21 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007102/0.2075, allocations: 165 kB / 1.117 GB, free: 29.05 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007557/0.2082, allocations: 280 kB / 1.117 GB, free: 28.75 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007094/0.209, allocations: 197.8 kB / 1.118 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.209, allocations: 2.625 kB / 1.118 GB, free: 28.56 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001728/0.2107, allocations: 0.5355 MB / 1.118 GB, free: 28.02 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.2109, allocations: 216.2 kB / 1.118 GB, free: 27.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.2109, allocations: 4 kB / 1.118 GB, free: 27.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.124e-05/0.2109, allocations: 8 kB / 1.118 GB, free: 27.75 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005748/0.2115, allocations: 82.97 kB / 1.118 GB, free: 27.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.49e-05/0.2115, allocations: 11.89 kB / 1.118 GB, free: 27.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006318/0.2122, allocations: 86.77 kB / 1.118 GB, free: 27.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.797e-05/0.2122, allocations: 20 kB / 1.119 GB, free: 27.56 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.967e-06/0.2123, allocations: 4 kB / 1.119 GB, free: 27.55 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00149/0.2138, allocations: 483.7 kB / 1.119 GB, free: 27.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.093e-06/0.2138, allocations: 4 kB / 1.119 GB, free: 27.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.878e-06/0.2138, allocations: 8 kB / 1.119 GB, free: 27.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005053/0.2143, allocations: 75.83 kB / 1.119 GB, free: 27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.2144, allocations: 8 kB / 1.119 GB, free: 26.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005803/0.2149, allocations: 73.92 kB / 1.119 GB, free: 26.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.916e-05/0.215, allocations: 22.06 kB / 1.119 GB, free: 26.9 MB / 0.6042 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.000358/0.2154, allocations: 287.1 kB / 1.119 GB, free: 26.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-05/0.2155, allocations: 40.81 kB / 1.119 GB, free: 26.58 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.217, allocations: 404.6 kB / 1.12 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.738e-06/0.217, allocations: 4.516 kB / 1.12 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/0.217, allocations: 0 / 1.12 GB, free: 26.18 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001946/0.2172, allocations: 151.5 kB / 1.12 GB, free: 26.02 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.66e-05/0.2173, allocations: 8 kB / 1.12 GB, free: 26.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004975/0.2178, allocations: 42.7 kB / 1.12 GB, free: 25.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001694/0.218, allocations: 51.92 kB / 1.12 GB, free: 25.92 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001808/0.2198, allocations: 499.8 kB / 1.121 GB, free: 25.43 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.002124/0.222, allocations: 0.7392 MB / 1.121 GB, free: 24.69 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006453/0.2226, allocations: 175.8 kB / 1.121 GB, free: 24.52 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0003774/0.223, allocations: 267.2 kB / 1.122 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of Backend: time 6.91e-07/0.2231, allocations: 7.438 kB / 1.122 GB, free: 24.25 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002323/0.2254, allocations: 0.6856 MB / 1.122 GB, free: 23.54 MB / 0.6042 GB Notification: Performance of SimCode: time 0.001954/0.2274, allocations: 1.277 MB / 1.124 GB, free: 22.23 MB / 0.6042 GB Notification: Performance of Templates: time 0.01695/0.2444, allocations: 6.138 MB / 1.13 GB, free: 16.39 MB / 0.6042 GB