Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.Sources.Examples.DayType.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.931/4.931, allocations: 0.5623 GB / 0.5775 GB, free: 3.391 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002555/0.002554, allocations: 350.3 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.402/4.402, allocations: 410.7 MB / 1.113 GB, free: 5.953 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001859/0.001859, allocations: 186.2 kB / 1.226 GB, free: 6.145 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006439/0.0006442, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7252/0.7259, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1958/0.9218, allocations: 138.4 MB / 1.597 GB, free: 145.8 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002646/0.9221, allocations: 81.55 kB / 1.597 GB, free: 145.7 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.07398/0.9961, allocations: 18.88 MB / 1.615 GB, free: 127 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.673e-06/0.9961, allocations: 0 / 1.615 GB, free: 127 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 2.018e-05/0.9962, allocations: 4 kB / 1.615 GB, free: 127 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001152/0.9973, allocations: 0.6255 MB / 1.616 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/0.9974, allocations: 19.61 kB / 1.616 GB, free: 126.3 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.377e-05/0.9975, allocations: 27.62 kB / 1.616 GB, free: 126.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003509/0.9978, allocations: 254.4 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.791e-05/0.9979, allocations: 15.06 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.228e-05/0.998, allocations: 16 kB / 1.616 GB, free: 125.9 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007355/0.9987, allocations: 453.1 kB / 1.616 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.439e-05/0.9987, allocations: 0.8438 kB / 1.616 GB, free: 125.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.415e-05/0.9988, allocations: 11.98 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.396e-06/0.9988, allocations: 5 kB / 1.616 GB, free: 125.4 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00053/0.9993, allocations: 319.5 kB / 1.617 GB, free: 125.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000717/1, allocations: 0.5576 MB / 1.617 GB, free: 124.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/1.002, allocations: 1.032 MB / 1.618 GB, free: 123.5 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009825/1.003, allocations: 0.6607 MB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.285e-05/1.003, allocations: 9.609 kB / 1.619 GB, free: 122.8 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000738/1.003, allocations: 472.9 kB / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=37): time 2.795e-06/1.003, allocations: 0 / 1.619 GB, free: 122.3 MB / 0.8542 GB Notification: Performance of matching and sorting (n=37): time 0.001955/1.005, allocations: 1.108 MB / 1.62 GB, free: 121.2 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.768e-05/1.006, allocations: 144.5 kB / 1.621 GB, free: 121 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002958/1.006, allocations: 250.5 kB / 1.621 GB, free: 120.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.383e-05/1.006, allocations: 37.7 kB / 1.621 GB, free: 120.7 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 7.285e-05/1.006, allocations: 121.1 kB / 1.621 GB, free: 120.6 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 9.17e-05/1.006, allocations: 85.33 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.697e-05/1.006, allocations: 8 kB / 1.621 GB, free: 120.5 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 8.175e-05/1.006, allocations: 346.8 kB / 1.621 GB, free: 120.2 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005207/1.007, allocations: 326.7 kB / 1.622 GB, free: 119.9 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006011/1.007, allocations: 424.2 kB / 1.622 GB, free: 119.4 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006051/1.008, allocations: 364.8 kB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/1.008, allocations: 3.938 kB / 1.622 GB, free: 119.1 MB / 0.8542 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001393/1.009, allocations: 0.8309 MB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/1.009, allocations: 8.531 kB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/1.009, allocations: 3.781 kB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.362e-05/1.009, allocations: 8 kB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002461/1.01, allocations: 43.83 kB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.251e-05/1.01, allocations: 4 kB / 1.623 GB, free: 118.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003836/1.01, allocations: 19.91 kB / 1.623 GB, free: 118.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003242/1.01, allocations: 210.5 kB / 1.624 GB, free: 117.9 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * 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.0002681/1.011, allocations: 194.5 kB / 1.624 GB, free: 117.8 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.464e-05/1.011, allocations: 27.72 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001056/1.011, allocations: 39.42 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.344e-06/1.011, allocations: 4.062 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.162e-05/1.011, allocations: 4 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.011, allocations: 8.531 kB / 1.624 GB, free: 117.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00245/1.013, allocations: 1.703 MB / 1.625 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.248e-06/1.013, allocations: 0 / 1.625 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.313e-05/1.014, allocations: 23.91 kB / 1.626 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.793e-06/1.014, allocations: 0 / 1.626 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.184e-05/1.014, allocations: 26.12 kB / 1.626 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.041e-06/1.014, allocations: 4 kB / 1.626 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/1.014, allocations: 96 / 1.626 GB, free: 115.9 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/1.015, allocations: 1.115 MB / 1.627 GB, free: 114.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.11e-05/1.015, allocations: 101.4 kB / 1.627 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.852e-05/1.015, allocations: 12 kB / 1.627 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003672/1.016, allocations: 12.55 kB / 1.627 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001277/1.016, allocations: 57.78 kB / 1.627 GB, free: 114.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003334/1.016, allocations: 226.2 kB / 1.627 GB, free: 114.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0002047/1.016, allocations: 169.5 kB / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.5e-07/1.016, allocations: 0 / 1.627 GB, free: 114.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0006451/1.017, allocations: 68.92 kB / 1.627 GB, free: 114.1 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0001808/1.017, allocations: 129 kB / 1.627 GB, free: 114 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001244/1.018, allocations: 0.7374 MB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/1.018, allocations: 1.406 kB / 1.628 GB, free: 113.2 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0007352/1.019, allocations: 405.2 kB / 1.628 GB, free: 112.9 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002697/1.022, allocations: 315.4 kB / 1.629 GB, free: 112.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001816/1.024, allocations: 1.027 MB / 1.63 GB, free: 111.5 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/1.024, allocations: 0.7569 MB / 1.631 GB, free: 110.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0004822/1.025, allocations: 100.2 kB / 1.631 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001765/1.025, allocations: 67.38 kB / 1.631 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of SimCode: time 1.242e-06/1.025, allocations: 0.6562 kB / 1.631 GB, free: 110.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.01719/1.042, allocations: 7.841 MB / 1.638 GB, free: 103 MB / 0.8542 GB