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.01066/0.01066, allocations: 220.3 kB / 15.17 MB, free: 6 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.001151/0.00115, allocations: 175.6 kB / 16.06 MB, free: 5.871 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 3.406/3.406, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.355/4.355, allocations: 472.3 MB / 0.9018 GB, free: 13.27 MB / 0.573 GB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005073, allocations: 15.98 kB / 1.008 GB, free: 0.7148 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5001/0.5006, allocations: 98.72 MB / 1.104 GB, free: 183.7 MB / 0.6823 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.DualFanDualDuct.Controls.Examples.PreHeatCoil): time 0.002866/0.5036, allocations: 2.493 MB / 1.106 GB, free: 181.2 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.5056, allocations: 1.086 MB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003527/0.506, allocations: 11.94 kB / 1.108 GB, free: 180.1 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0001378/0.5061, allocations: 47.52 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.0003614/0.5065, allocations: 81.33 kB / 1.108 GB, free: 180 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007273/0.5072, allocations: 249.9 kB / 1.108 GB, free: 179.7 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0006092/0.5079, allocations: 0.6126 MB / 1.108 GB, free: 179.1 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000517/0.5084, allocations: 354 kB / 1.109 GB, free: 178.8 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002099/0.5086, allocations: 168.2 kB / 1.109 GB, free: 178.6 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002043/0.5088, allocations: 183 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.762e-05/0.5089, allocations: 16 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 9.479e-05/0.509, allocations: 27.98 kB / 1.109 GB, free: 178.4 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 8.311e-05/0.5091, allocations: 75.62 kB / 1.109 GB, free: 178.3 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 8.621e-05/0.5092, allocations: 109.5 kB / 1.109 GB, free: 178.2 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.0004788/0.5097, allocations: 0.5273 MB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.706e-06/0.5097, allocations: 2.844 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.786e-06/0.5097, allocations: 3.984 kB / 1.11 GB, free: 177.7 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.474e-05/0.5098, allocations: 4 kB / 1.11 GB, free: 177.7 MB / 0.6823 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.001462/0.5112, allocations: 0.7909 MB / 1.111 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.419e-05/0.5113, allocations: 11.47 kB / 1.111 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001223/0.5114, allocations: 63.3 kB / 1.111 GB, free: 176.8 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006423/0.5121, allocations: 423.6 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.702e-05/0.5121, allocations: 37 kB / 1.111 GB, free: 176.3 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.54e-05/0.5122, allocations: 48 kB / 1.111 GB, free: 176.2 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001125/0.5134, allocations: 0.5387 MB / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.713e-05/0.5134, allocations: 0 / 1.112 GB, free: 175.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.5135, allocations: 16 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.5135, allocations: 12 kB / 1.112 GB, free: 175.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001141/0.5146, allocations: 429.8 kB / 1.112 GB, free: 175.2 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002463/0.5171, allocations: 1.839 MB / 1.114 GB, free: 173.3 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001059/0.5182, allocations: 360.4 kB / 1.114 GB, free: 173 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004669/0.5187, allocations: 180.1 kB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.664e-05/0.5188, allocations: 11.98 kB / 1.115 GB, free: 172.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006095/0.5194, allocations: 232.5 kB / 1.115 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=34): time 3.755e-06/0.5194, allocations: 0 / 1.115 GB, free: 172.6 MB / 0.6823 GB Notification: Performance of matching and sorting (n=34): time 0.001485/0.5209, allocations: 0.4935 MB / 1.115 GB, free: 172.1 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.285e-05/0.521, allocations: 55.97 kB / 1.115 GB, free: 172 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000486/0.5215, allocations: 412.5 kB / 1.116 GB, free: 171.6 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.256e-05/0.5215, allocations: 41.64 kB / 1.116 GB, free: 171.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001649/0.5217, allocations: 252.2 kB / 1.116 GB, free: 171.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 8.351e-05/0.5218, allocations: 94.73 kB / 1.116 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.9e-05/0.5218, allocations: 12 kB / 1.116 GB, free: 171.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.581e-05/0.5219, allocations: 351.7 kB / 1.116 GB, free: 170.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004855/0.5224, allocations: 168.3 kB / 1.117 GB, free: 170.7 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005261/0.523, allocations: 276 kB / 1.117 GB, free: 170.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005074/0.5235, allocations: 197.8 kB / 1.117 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.791e-06/0.5235, allocations: 3.938 kB / 1.117 GB, free: 170.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.001314/0.5248, allocations: 0.5326 MB / 1.118 GB, free: 169.6 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.492e-05/0.525, allocations: 215.1 kB / 1.118 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.525, allocations: 4 kB / 1.118 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.525, allocations: 4 kB / 1.118 GB, free: 169.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003843/0.5254, allocations: 79.88 kB / 1.118 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.827e-05/0.5255, allocations: 15.97 kB / 1.118 GB, free: 169.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.5259, allocations: 79.48 kB / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.498e-05/0.526, allocations: 13.72 kB / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 9.82e-06/0.526, allocations: 7.25 kB / 1.118 GB, free: 169.2 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001127/0.5272, allocations: 490 kB / 1.118 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.768e-06/0.5272, allocations: 4 kB / 1.118 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.042e-05/0.5272, allocations: 5.5 kB / 1.118 GB, free: 168.7 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003444/0.5276, allocations: 89.03 kB / 1.118 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.565e-06/0.5276, allocations: 4 kB / 1.118 GB, free: 168.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004148/0.528, allocations: 79.48 kB / 1.119 GB, free: 168.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.735e-05/0.5281, allocations: 22.81 kB / 1.119 GB, free: 168.5 MB / 0.6823 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.0003137/0.5284, allocations: 279.2 kB / 1.119 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.862e-05/0.5285, allocations: 47.39 kB / 1.119 GB, free: 168.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001096/0.5296, allocations: 401.4 kB / 1.119 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.718e-06/0.5296, allocations: 4.891 kB / 1.119 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.247e-06/0.5297, allocations: 0.9375 kB / 1.119 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.191e-06/0.5297, allocations: 0 / 1.119 GB, free: 167.8 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001815/0.5315, allocations: 0.9765 MB / 1.12 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.898e-06/0.5315, allocations: 3.938 kB / 1.12 GB, free: 166.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003212/0.5319, allocations: 56.58 kB / 1.12 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.209e-06/0.5319, allocations: 1.359 kB / 1.12 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.5319, allocations: 8 kB / 1.12 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.268e-06/0.532, allocations: 3.938 kB / 1.12 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.532, allocations: 7.938 kB / 1.12 GB, free: 166.7 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001541/0.5335, allocations: 0.6698 MB / 1.121 GB, free: 166 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001764/0.5337, allocations: 145.2 kB / 1.121 GB, free: 165.9 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.34e-05/0.5338, allocations: 11.98 kB / 1.121 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003784/0.5342, allocations: 42.98 kB / 1.121 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001334/0.5343, allocations: 49.06 kB / 1.121 GB, free: 165.8 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.72e-05/0.5344, allocations: 14.95 kB / 1.121 GB, free: 165.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0003153/0.5347, allocations: 259.2 kB / 1.121 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of sort global known variables: time 7.55e-07/0.5347, allocations: 0 / 1.121 GB, free: 165.5 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007823/0.5355, allocations: 168.4 kB / 1.122 GB, free: 165.3 MB / 0.6823 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.0001694/0.5357, allocations: 136.4 kB / 1.122 GB, free: 165.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001726/0.5374, allocations: 0.7469 MB / 1.122 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.229e-06/0.5375, allocations: 0 / 1.122 GB, free: 164.4 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000526/0.538, allocations: 183.8 kB / 1.123 GB, free: 164.3 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006937/0.5387, allocations: 85.64 kB / 1.123 GB, free: 164.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001632/0.5404, allocations: 0.859 MB / 1.124 GB, free: 163.3 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.5407, allocations: 0.8347 MB / 1.124 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0003907/0.5411, allocations: 64.98 kB / 1.124 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001478/0.5413, allocations: 39.42 kB / 1.125 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.655e-06/0.5413, allocations: 0 / 1.125 GB, free: 162.4 MB / 0.6823 GB Notification: Performance of Templates: time 0.0123/0.5536, allocations: 4.702 MB / 1.129 GB, free: 158 MB / 0.6823 GB