Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.Sources.Examples.DayType.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001512/0.001512, allocations: 79.69 kB / 21.74 MB, free: 2.52 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001836/0.001836, allocations: 169.1 kB / 25.18 MB, free: 9.09 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9088/0.9088, allocations: 177.2 MB / 205.6 MB, free: 4.375 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.939/1.939, allocations: 389.6 MB / 0.6364 GB, free: 13.24 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Sources.Examples.DayType") translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.Sources.Examples.DayType") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.305e-06/2.305e-06, allocations: 0 / 0.7755 GB, free: 14.56 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.86e-05/2.09e-05, allocations: 6.25 kB / 0.7755 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001956/0.001977, allocations: 1.511 MB / 0.777 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0005585/0.002536, allocations: 279 kB / 0.7773 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.329e-05/0.002589, allocations: 4 kB / 0.7773 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.00274, allocations: 15.81 kB / 0.7773 GB, free: 12.74 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.876e-05/0.002789, allocations: 27.78 kB / 0.7773 GB, free: 12.71 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002693/0.003058, allocations: 87.75 kB / 0.7774 GB, free: 12.63 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0002066/0.003265, allocations: 228 kB / 0.7776 GB, free: 12.41 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.862e-05/0.003304, allocations: 17.89 kB / 0.7776 GB, free: 12.39 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 9.578e-05/0.003399, allocations: 119.8 kB / 0.7777 GB, free: 12.27 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00011/0.003509, allocations: 91.81 kB / 0.7778 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.00354, allocations: 16 kB / 0.7778 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 2.379e-05/0.003564, allocations: 16 kB / 0.7779 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 7.392e-05/0.003638, allocations: 83.78 kB / 0.7779 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.999e-05/0.003698, allocations: 71.73 kB / 0.778 GB, free: 12 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001762/0.003874, allocations: 219.2 kB / 0.7782 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.864e-06/0.003876, allocations: 0 / 0.7782 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.793e-06/0.003878, allocations: 4 kB / 0.7782 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.003882, allocations: 0 / 0.7782 GB, free: 11.78 MB / 0.7448 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.0005764/0.004458, allocations: 0.5899 MB / 0.7788 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.19e-05/0.00449, allocations: 12.03 kB / 0.7788 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.527e-05/0.004535, allocations: 28.91 kB / 0.7788 GB, free: 11.09 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.004707, allocations: 188.8 kB / 0.779 GB, free: 10.88 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.004728, allocations: 16.66 kB / 0.779 GB, free: 10.87 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.00475, allocations: 16.38 kB / 0.779 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002469/0.004997, allocations: 308.1 kB / 0.7793 GB, free: 10.53 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.005006, allocations: 8.125 kB / 0.7793 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.379e-05/0.005019, allocations: 4.375 kB / 0.7794 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.005025, allocations: 4.375 kB / 0.7794 GB, free: 10.52 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001208/0.005146, allocations: 155.8 kB / 0.7795 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.005428, allocations: 371.4 kB / 0.7799 GB, free: 9.977 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004192/0.005847, allocations: 0.5366 MB / 0.7804 GB, free: 9.398 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.005972, allocations: 175.2 kB / 0.7806 GB, free: 9.215 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.829e-05/0.00599, allocations: 8 kB / 0.7806 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002376/0.006228, allocations: 322.2 kB / 0.7809 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=37): time 1.383e-06/0.006229, allocations: 0 / 0.7809 GB, free: 8.867 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37): time 0.0004756/0.006705, allocations: 0.5403 MB / 0.7814 GB, free: 8.32 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.006763, allocations: 136.5 kB / 0.7815 GB, free: 8.156 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003918/0.007155, allocations: 228.9 kB / 0.7817 GB, free: 7.918 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.007179, allocations: 37.7 kB / 0.7818 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.715e-05/0.007216, allocations: 105.6 kB / 0.7819 GB, free: 7.77 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 5.103e-05/0.007267, allocations: 87.3 kB / 0.782 GB, free: 7.684 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.065e-05/0.007347, allocations: 106.1 kB / 0.7821 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.271e-05/0.00743, allocations: 350.7 kB / 0.7824 GB, free: 7.223 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001156/0.007546, allocations: 148.9 kB / 0.7825 GB, free: 7.078 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/0.007701, allocations: 255.1 kB / 0.7828 GB, free: 6.793 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.008018, allocations: 445.2 kB / 0.7832 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.00802, allocations: 0 / 0.7832 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0003543/0.008375, allocations: 448.8 kB / 0.7836 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.008388, allocations: 8.031 kB / 0.7836 GB, free: 5.871 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.008394, allocations: 4 kB / 0.7836 GB, free: 5.867 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.258e-06/0.008404, allocations: 4 kB / 0.7837 GB, free: 5.863 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001134/0.008517, allocations: 59.88 kB / 0.7837 GB, free: 5.805 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.813e-06/0.008524, allocations: 11.92 kB / 0.7837 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.921e-05/0.008623, allocations: 27.84 kB / 0.7837 GB, free: 5.766 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001714/0.008794, allocations: 263.4 kB / 0.784 GB, free: 5.508 MB / 0.7448 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 (dayTypMonThr.skipIDayIncrement,$PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.iDay,$PRE.dayTypMonThr.iDay,dayTypMonThr.y[3],dayTypMonThr.y[2],dayTypMonThr.y[1],dayTypTwoWeeks.skipIDayIncrement,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.iDay,$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.y[14],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[1],dayTypSat.skipIDayIncrement,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.iDay,$PRE.dayTypSat.iDay,dayTypSat.y[2],dayTypSat.y[1],dayTypMon.skipIDayIncrement,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.iDay,$PRE.dayTypMon.iDay,dayTypMon.y[2],dayTypMon.y[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001018/0.008896, allocations: 160.5 kB / 0.7841 GB, free: 5.34 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.008926, allocations: 27.97 kB / 0.7842 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.442e-05/0.00897, allocations: 38.11 kB / 0.7842 GB, free: 5.273 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.008e-06/0.008974, allocations: 4 kB / 0.7842 GB, free: 5.27 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.374e-06/0.008976, allocations: 3.938 kB / 0.7842 GB, free: 5.266 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.008982, allocations: 4 kB / 0.7842 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007581/0.00974, allocations: 1.113 MB / 0.7853 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.009742, allocations: 0 / 0.7853 GB, free: 4.125 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.601e-05/0.009778, allocations: 35.89 kB / 0.7853 GB, free: 4.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.009781, allocations: 4 kB / 0.7853 GB, free: 4.086 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.009799, allocations: 19.97 kB / 0.7854 GB, free: 4.066 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.009802, allocations: 4 kB / 0.7854 GB, free: 4.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.009804, allocations: 7.938 kB / 0.7854 GB, free: 4.055 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003798/0.01018, allocations: 0.7084 MB / 0.7861 GB, free: 3.328 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.064e-05/0.0102, allocations: 27.94 kB / 0.7861 GB, free: 3.301 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.674e-05/0.01023, allocations: 12 kB / 0.7861 GB, free: 3.289 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.01035, allocations: 11.98 kB / 0.7861 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.505e-05/0.01042, allocations: 55.86 kB / 0.7862 GB, free: 3.223 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001663/0.01058, allocations: 275.5 kB / 0.7864 GB, free: 2.953 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.521e-05/0.01063, allocations: 66.78 kB / 0.7865 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01063, allocations: 0 / 0.7865 GB, free: 2.887 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002421/0.01087, allocations: 64 kB / 0.7866 GB, free: 2.824 MB / 0.7448 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 9.398e-05/0.01096, allocations: 116.3 kB / 0.7867 GB, free: 2.703 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003469/0.01131, allocations: 409.2 kB / 0.7871 GB, free: 2.301 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.01132, allocations: 4 kB / 0.7871 GB, free: 2.297 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001707/0.01149, allocations: 213.5 kB / 0.7873 GB, free: 2.086 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007651/0.01225, allocations: 385.2 kB / 0.7876 GB, free: 1.742 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006509/0.01291, allocations: 0.8171 MB / 0.7884 GB, free: 0.8789 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.01301, allocations: 138.5 kB / 0.7886 GB, free: 0.7227 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005828/0.01359, allocations: 205.1 kB / 0.7888 GB, free: 0.5195 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.01359, allocations: 4 kB / 0.7888 GB, free: 0.5156 MB / 0.7448 GB Notification: Performance of Templates: time 0.003838/0.01743, allocations: 4.554 MB / 0.7932 GB, free: 11.97 MB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.Sources.Examples.DayType.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe ; mkfifo Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe >> ../files/Buildings_13_Buildings.Controls.Sources.Examples.DayType.sim & ./Buildings_13_Buildings.Controls.Sources.Examples.DayType > Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 6.4084212919697165]