Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.496/2.496, allocations: 253.2 MB / 260.6 MB, free: 7.516 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001473/0.001473, allocations: 177 kB / 319.9 MB, free: 3.07 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.059/2.059, allocations: 205.6 MB / 0.5708 GB, free: 15.25 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001219/0.001218, allocations: 84.64 kB / 0.6751 GB, free: 4.609 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.895e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2091, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8886/1.098, allocations: 132.3 MB / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002755/1.098, allocations: 69.84 kB / 1.018 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1003/1.198, allocations: 18.73 MB / 1.036 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.713e-06/1.199, allocations: 0 / 1.036 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.831e-05/1.199, allocations: 4 kB / 1.036 GB, free: 5.949 MB / 0.6511 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.001713/1.2, allocations: 0.6007 MB / 1.037 GB, free: 5.293 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.717e-05/1.2, allocations: 15.95 kB / 1.037 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001254/1.201, allocations: 27.67 kB / 1.037 GB, free: 5.25 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006231/1.201, allocations: 252.2 kB / 1.037 GB, free: 4.977 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/1.201, allocations: 11.36 kB / 1.037 GB, free: 4.969 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.02e-05/1.201, allocations: 12 kB / 1.037 GB, free: 4.957 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008518/1.202, allocations: 310.1 kB / 1.037 GB, free: 4.707 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001117/1.203, allocations: 434.9 kB / 1.038 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.482e-05/1.203, allocations: 4 kB / 1.038 GB, free: 4.332 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.562e-05/1.203, allocations: 3.984 kB / 1.038 GB, free: 4.328 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/1.203, allocations: 4 kB / 1.038 GB, free: 4.324 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001223/1.205, allocations: 0.5091 MB / 1.038 GB, free: 3.836 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002523/1.207, allocations: 0.9964 MB / 1.039 GB, free: 2.965 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001228/1.208, allocations: 0.6494 MB / 1.04 GB, free: 2.418 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 5.257e-05/1.209, allocations: 15.92 kB / 1.04 GB, free: 2.402 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000886/1.209, allocations: 471.2 kB / 1.04 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 3.076e-06/1.209, allocations: 0 / 1.04 GB, free: 1.992 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.001728/1.211, allocations: 0.7587 MB / 1.041 GB, free: 1.348 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001019/1.211, allocations: 140.4 kB / 1.041 GB, free: 1.184 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003397/1.212, allocations: 218.8 kB / 1.041 GB, free: 0.9961 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.652e-05/1.212, allocations: 29.7 kB / 1.042 GB, free: 0.9609 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/1.212, allocations: 123.8 kB / 1.042 GB, free: 0.8633 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001109/1.212, allocations: 70.72 kB / 1.042 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.394e-05/1.212, allocations: 0 / 1.042 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001733/1.212, allocations: 346.4 kB / 1.042 GB, free: 480 kB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006005/1.213, allocations: 321.9 kB / 1.042 GB, free: 220 kB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007051/1.214, allocations: 406.6 kB / 1.043 GB, free: 15.84 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007107/1.214, allocations: 350.7 kB / 1.043 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.551e-06/1.214, allocations: 0 / 1.043 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001659/1.216, allocations: 0.785 MB / 1.044 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 2.761e-05/1.216, allocations: 4 kB / 1.044 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.427e-05/1.216, allocations: 4 kB / 1.044 GB, free: 14.89 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.593e-05/1.216, allocations: 12.06 kB / 1.044 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002692/1.216, allocations: 43.2 kB / 1.044 GB, free: 14.84 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.203e-05/1.216, allocations: 4 kB / 1.044 GB, free: 14.83 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004135/1.217, allocations: 19.09 kB / 1.044 GB, free: 14.82 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004546/1.217, allocations: 214.9 kB / 1.044 GB, free: 14.61 MB / 0.6667 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 () * 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.0002233/1.218, allocations: 141.1 kB / 1.044 GB, free: 14.47 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.136e-05/1.218, allocations: 34.89 kB / 1.044 GB, free: 14.44 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001218/1.218, allocations: 29.59 kB / 1.044 GB, free: 14.43 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.826e-05/1.218, allocations: 4 kB / 1.044 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/1.218, allocations: 4 kB / 1.044 GB, free: 14.42 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.002e-05/1.218, allocations: 3.984 kB / 1.044 GB, free: 14.41 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/1.221, allocations: 1.646 MB / 1.046 GB, free: 12.93 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.321e-06/1.221, allocations: 4 kB / 1.046 GB, free: 12.92 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.644e-05/1.221, allocations: 19.23 kB / 1.046 GB, free: 12.91 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.215e-05/1.221, allocations: 4 kB / 1.046 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.038e-05/1.221, allocations: 19.41 kB / 1.046 GB, free: 12.89 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.434e-06/1.221, allocations: 4 kB / 1.046 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.221, allocations: 0 / 1.046 GB, free: 12.88 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00178/1.223, allocations: 1.129 MB / 1.047 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001171/1.223, allocations: 100.8 kB / 1.047 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.472e-05/1.223, allocations: 7.953 kB / 1.047 GB, free: 11.72 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/1.224, allocations: 7.562 kB / 1.047 GB, free: 11.71 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001476/1.224, allocations: 46.75 kB / 1.047 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004456/1.224, allocations: 226.9 kB / 1.047 GB, free: 11.46 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002294/1.225, allocations: 159.7 kB / 1.048 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of sort global known variables: time 4.8e-07/1.225, allocations: 3.938 kB / 1.048 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0007269/1.225, allocations: 52 kB / 1.048 GB, free: 11.28 MB / 0.6667 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) * 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.0002319/1.226, allocations: 134 kB / 1.048 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.00145/1.227, allocations: 0.7116 MB / 1.048 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/1.227, allocations: 0 / 1.048 GB, free: 10.55 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.000801/1.228, allocations: 398.9 kB / 1.049 GB, free: 10.23 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002542/1.23, allocations: 309 kB / 1.049 GB, free: 9.961 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/1.232, allocations: 0.8449 MB / 1.05 GB, free: 9.195 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004807/1.233, allocations: 0.7564 MB / 1.051 GB, free: 8.414 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005655/1.233, allocations: 103.8 kB / 1.051 GB, free: 8.316 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002065/1.234, allocations: 73.25 kB / 1.051 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of SimCode: time 1.022e-06/1.234, allocations: 0 / 1.051 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of Templates: time 0.02125/1.255, allocations: 7.489 MB / 1.058 GB, free: 0.8477 MB / 0.6667 GB