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.009355/0.009355, allocations: 111.2 kB / 15.06 MB, free: 5.965 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.001138/0.001138, allocations: 180.5 kB / 15.94 MB, free: 5.93 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.98/1.98, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.135/2.135, allocations: 236.2 MB / 492.6 MB, free: 11.4 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004635/0.0004637, allocations: 12 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.541/0.5415, allocations: 98.7 MB / 0.6833 GB, free: 16.61 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1907/0.7322, allocations: 132.2 MB / 0.8124 GB, free: 10.03 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002759/0.7325, allocations: 91.95 kB / 0.8125 GB, free: 9.941 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.0324/0.7649, allocations: 8.769 MB / 0.821 GB, free: 1.141 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.02e-06/0.765, allocations: 4 kB / 0.821 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.002e-05/0.7651, allocations: 16.88 kB / 0.8211 GB, free: 1.121 MB / 0.6355 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.001719/0.7668, allocations: 0.7857 MB / 0.8218 GB, free: 280 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.7668, allocations: 12.03 kB / 0.8218 GB, free: 268 kB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.767, allocations: 63.3 kB / 0.8219 GB, free: 204 kB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008296/0.7679, allocations: 423.6 kB / 0.8223 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.878e-05/0.7679, allocations: 37 kB / 0.8223 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001064/0.7681, allocations: 51.94 kB / 0.8224 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001439/0.7695, allocations: 0.5555 MB / 0.8229 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.992e-05/0.7695, allocations: 4 kB / 0.8229 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.262e-05/0.7696, allocations: 23.98 kB / 0.823 GB, free: 15.04 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.664e-05/0.7697, allocations: 12 kB / 0.823 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001426/0.7711, allocations: 459.6 kB / 0.8234 GB, free: 14.58 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003331/0.7744, allocations: 1.899 MB / 0.8253 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.7759, allocations: 422 kB / 0.8257 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.771e-05/0.7759, allocations: 4 kB / 0.8257 GB, free: 12.18 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007014/0.7767, allocations: 237.5 kB / 0.8259 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=34): time 3.792e-06/0.7767, allocations: 4 kB / 0.8259 GB, free: 11.93 MB / 0.6511 GB Notification: Performance of matching and sorting (n=34): time 0.001888/0.7786, allocations: 0.5491 MB / 0.8264 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.757e-05/0.7787, allocations: 114.8 kB / 0.8265 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006163/0.7793, allocations: 360.7 kB / 0.8269 GB, free: 10.88 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 8.702e-05/0.7794, allocations: 45.69 kB / 0.8269 GB, free: 10.83 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002495/0.7797, allocations: 244.3 kB / 0.8272 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001225/0.7798, allocations: 94.7 kB / 0.8273 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.454e-05/0.7799, allocations: 8 kB / 0.8273 GB, free: 10.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002056/0.7801, allocations: 358.8 kB / 0.8276 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006109/0.7807, allocations: 181 kB / 0.8278 GB, free: 9.949 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007205/0.7814, allocations: 302.7 kB / 0.8281 GB, free: 9.602 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006281/0.7821, allocations: 207.3 kB / 0.8283 GB, free: 9.395 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.056e-05/0.7821, allocations: 3.953 kB / 0.8283 GB, free: 9.391 MB / 0.6511 GB Notification: Performance of matching and sorting (n=58) (initialization): time 0.001656/0.7838, allocations: 0.562 MB / 0.8288 GB, free: 8.816 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006297/0.7844, allocations: 1.163 MB / 0.83 GB, free: 7.559 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.216e-05/0.7845, allocations: 4 kB / 0.83 GB, free: 7.555 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.7845, allocations: 4 kB / 0.83 GB, free: 7.551 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000468/0.785, allocations: 91.81 kB / 0.83 GB, free: 7.461 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.33e-05/0.785, allocations: 4 kB / 0.8301 GB, free: 7.457 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005719/0.7856, allocations: 83.55 kB / 0.8301 GB, free: 7.375 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.513e-05/0.7857, allocations: 20 kB / 0.8301 GB, free: 7.355 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.7857, allocations: 7.953 kB / 0.8302 GB, free: 7.348 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001374/0.7871, allocations: 480.8 kB / 0.8306 GB, free: 6.871 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.231e-05/0.7871, allocations: 8.359 kB / 0.8306 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.7871, allocations: 12 kB / 0.8306 GB, free: 6.852 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003928/0.7875, allocations: 71.89 kB / 0.8307 GB, free: 6.781 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.172e-05/0.7876, allocations: 11.88 kB / 0.8307 GB, free: 6.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005168/0.7881, allocations: 75.64 kB / 0.8308 GB, free: 6.695 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.723e-05/0.7882, allocations: 27.98 kB / 0.8308 GB, free: 6.668 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 () * Number of clocked 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.0004532/0.7886, allocations: 277 kB / 0.8311 GB, free: 6.391 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001002/0.7887, allocations: 43.48 kB / 0.8311 GB, free: 6.348 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001358/0.7901, allocations: 433.7 kB / 0.8315 GB, free: 5.918 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.022e-06/0.7901, allocations: 4 kB / 0.8315 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.332e-06/0.7901, allocations: 0 / 0.8315 GB, free: 5.914 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.631e-06/0.7902, allocations: 3.984 kB / 0.8315 GB, free: 5.91 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.7925, allocations: 1.026 MB / 0.8325 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.034e-06/0.7926, allocations: 0 / 0.8325 GB, free: 4.824 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000379/0.793, allocations: 67.92 kB / 0.8326 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.842e-06/0.793, allocations: 0 / 0.8326 GB, free: 4.758 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.793, allocations: 8 kB / 0.8326 GB, free: 4.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.856e-06/0.793, allocations: 4 kB / 0.8326 GB, free: 4.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.857e-06/0.7931, allocations: 3.938 kB / 0.8326 GB, free: 4.742 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001947/0.795, allocations: 0.7276 MB / 0.8333 GB, free: 3.988 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002634/0.7953, allocations: 156.5 kB / 0.8335 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.528e-05/0.7954, allocations: 8 kB / 0.8335 GB, free: 3.809 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004601/0.7959, allocations: 60 kB / 0.8335 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/0.796, allocations: 47.8 kB / 0.8336 GB, free: 3.703 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.039e-05/0.7961, allocations: 11.98 kB / 0.8336 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0004646/0.7966, allocations: 267.2 kB / 0.8339 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of sort global known variables: time 9e-07/0.7966, allocations: 0 / 0.8339 GB, free: 3.426 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008668/0.7975, allocations: 151.8 kB / 0.834 GB, free: 3.277 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) * 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.000227/0.7977, allocations: 141.4 kB / 0.8341 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00208/0.7998, allocations: 0.766 MB / 0.8349 GB, free: 2.344 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.04e-06/0.7998, allocations: 4 kB / 0.8349 GB, free: 2.34 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0006473/0.8005, allocations: 212 kB / 0.8351 GB, free: 2.133 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006011/0.8011, allocations: 73.92 kB / 0.8352 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.8031, allocations: 0.8643 MB / 0.836 GB, free: 1.168 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00056/0.8037, allocations: 0.8473 MB / 0.8368 GB, free: 300 kB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0004263/0.8041, allocations: 67.3 kB / 0.8369 GB, free: 228 kB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001619/0.8043, allocations: 35.42 kB / 0.8369 GB, free: 192 kB / 0.6511 GB Notification: Performance of SimCode: time 1.903e-06/0.8043, allocations: 0 / 0.8369 GB, free: 192 kB / 0.6511 GB Notification: Performance of Templates: time 0.01535/0.8197, allocations: 5.102 MB / 0.8419 GB, free: 11.13 MB / 0.6667 GB