Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.706/1.706, allocations: 285.6 MB / 293.1 MB, free: 10.2 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00111/0.00111, allocations: 172.9 kB / 361.4 MB, free: 6.824 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.2 MB / 0.62 GB, free: 11.66 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008482/0.0008482, allocations: 99.66 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.803e-05/1.807e-05, allocations: 0 / 0.8517 GB, free: 2.746 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7132/0.7132, allocations: 115.3 MB / 0.9643 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2108/0.9242, allocations: 137.9 MB / 1.099 GB, free: 1.984 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.9244, allocations: 71.95 kB / 1.099 GB, free: 1.914 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.048/0.9725, allocations: 18.73 MB / 1.117 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.263e-06/0.9725, allocations: 0 / 1.117 GB, free: 15.28 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.528e-05/0.9726, allocations: 4 kB / 1.117 GB, free: 15.27 MB / 0.7292 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.001155/0.9737, allocations: 0.602 MB / 1.118 GB, free: 14.6 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.769e-05/0.9738, allocations: 11.03 kB / 1.118 GB, free: 14.59 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.9739, allocations: 28.73 kB / 1.118 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004527/0.9744, allocations: 250.5 kB / 1.118 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/0.9744, allocations: 4.594 kB / 1.118 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.596e-05/0.9745, allocations: 15 kB / 1.118 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004697/0.975, allocations: 307 kB / 1.119 GB, free: 13.97 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006309/0.9756, allocations: 443.1 kB / 1.119 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.9756, allocations: 0 / 1.119 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.773e-05/0.9757, allocations: 1.594 kB / 1.119 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.9757, allocations: 7.938 kB / 1.119 GB, free: 13.52 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006988/0.9764, allocations: 0.5201 MB / 1.119 GB, free: 12.95 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001152/0.9776, allocations: 0.9983 MB / 1.12 GB, free: 11.91 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007183/0.9783, allocations: 0.648 MB / 1.121 GB, free: 11.26 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.062e-05/0.9784, allocations: 8 kB / 1.121 GB, free: 11.25 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005593/0.9789, allocations: 463.3 kB / 1.122 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=37): time 1.984e-06/0.9789, allocations: 0 / 1.122 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=37): time 0.001041/0.98, allocations: 0.7704 MB / 1.122 GB, free: 10 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.355e-05/0.9801, allocations: 136.5 kB / 1.122 GB, free: 9.836 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000223/0.9803, allocations: 224.4 kB / 1.123 GB, free: 9.609 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 3.887e-05/0.9804, allocations: 29.7 kB / 1.123 GB, free: 9.574 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.074e-05/0.9804, allocations: 116.9 kB / 1.123 GB, free: 9.453 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 7.747e-05/0.9805, allocations: 71.08 kB / 1.123 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.474e-05/0.9805, allocations: 0 / 1.123 GB, free: 9.383 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.9807, allocations: 342.8 kB / 1.123 GB, free: 9.039 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003732/0.9811, allocations: 320.7 kB / 1.123 GB, free: 8.727 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004513/0.9815, allocations: 413.6 kB / 1.124 GB, free: 8.289 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004254/0.982, allocations: 351.7 kB / 1.124 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.982, allocations: 0 / 1.124 GB, free: 7.945 MB / 0.7292 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0009899/0.983, allocations: 0.7897 MB / 1.125 GB, free: 7.148 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.166e-05/0.983, allocations: 12.84 kB / 1.125 GB, free: 7.137 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.106e-05/0.983, allocations: 4 kB / 1.125 GB, free: 7.133 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.804e-05/0.9831, allocations: 4 kB / 1.125 GB, free: 7.129 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000178/0.9832, allocations: 41.78 kB / 1.125 GB, free: 7.09 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.266e-05/0.9833, allocations: 11.92 kB / 1.125 GB, free: 7.078 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000248/0.9835, allocations: 7.938 kB / 1.125 GB, free: 7.07 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002591/0.9838, allocations: 210.1 kB / 1.125 GB, free: 6.867 MB / 0.7292 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.0001562/0.9839, allocations: 138.4 kB / 1.125 GB, free: 6.723 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.876e-05/0.984, allocations: 35.58 kB / 1.125 GB, free: 6.688 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.582e-05/0.9841, allocations: 37.95 kB / 1.125 GB, free: 6.652 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.548e-06/0.9841, allocations: 4 kB / 1.125 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.9841, allocations: 1.688 kB / 1.125 GB, free: 6.648 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.404e-06/0.9841, allocations: 3.984 kB / 1.125 GB, free: 6.645 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001932/0.9861, allocations: 1.642 MB / 1.127 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/0.9861, allocations: 0 / 1.127 GB, free: 4.957 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.437e-05/0.9862, allocations: 23.91 kB / 1.127 GB, free: 4.934 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.9862, allocations: 4 kB / 1.127 GB, free: 4.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.438e-05/0.9862, allocations: 19.97 kB / 1.127 GB, free: 4.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.673e-06/0.9862, allocations: 6 kB / 1.127 GB, free: 4.906 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.39e-06/0.9862, allocations: 3.938 kB / 1.127 GB, free: 4.902 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001068/0.9873, allocations: 1.115 MB / 1.128 GB, free: 3.75 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 8.422e-05/0.9874, allocations: 108.7 kB / 1.128 GB, free: 3.625 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.478e-05/0.9875, allocations: 8 kB / 1.128 GB, free: 3.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002318/0.9877, allocations: 5.391 kB / 1.128 GB, free: 3.613 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000104/0.9878, allocations: 51.89 kB / 1.128 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002525/0.9881, allocations: 227.7 kB / 1.129 GB, free: 3.344 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001508/0.9882, allocations: 160.5 kB / 1.129 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9882, allocations: 0 / 1.129 GB, free: 3.184 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0005284/0.9888, allocations: 52 kB / 1.129 GB, free: 3.133 MB / 0.7292 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.0002073/0.989, allocations: 134.7 kB / 1.129 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0009167/0.9899, allocations: 0.7128 MB / 1.13 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.9899, allocations: 0 / 1.13 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000485/0.9904, allocations: 395.8 kB / 1.13 GB, free: 1.898 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.992, allocations: 304.2 kB / 1.13 GB, free: 1.617 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00129/0.9933, allocations: 0.8436 MB / 1.131 GB, free: 0.7383 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004491/0.9937, allocations: 0.7669 MB / 1.132 GB, free: 15.95 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0003258/0.9941, allocations: 103.7 kB / 1.132 GB, free: 15.86 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.9942, allocations: 67.38 kB / 1.132 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of SimCode: time 5.01e-07/0.9942, allocations: 0 / 1.132 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of Templates: time 0.01338/1.008, allocations: 7.485 MB / 1.139 GB, free: 8.461 MB / 0.7448 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1)