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.001877/0.001877, allocations: 80.52 kB / 19.95 MB, free: 4.602 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.001998/0.001998, allocations: 173.2 kB / 23.24 MB, free: 1.324 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 1.628/1.628, allocations: 177.1 MB / 203.5 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 3.217/3.217, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 176] 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 1.513e-06/1.513e-06, allocations: 0 / 1.001 GB, free: 13.07 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.729e-05/2.88e-05, allocations: 6.281 kB / 1.001 GB, free: 13.06 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.006763/0.006792, allocations: 1.442 MB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.00092/0.007712, allocations: 267.1 kB / 1.003 GB, free: 11.35 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.46e-05/0.007777, allocations: 11.94 kB / 1.003 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001593/0.007936, allocations: 11.86 kB / 1.003 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.363e-05/0.00802, allocations: 27.78 kB / 1.003 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.008484, allocations: 83.72 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0004733/0.008957, allocations: 236 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 6.28e-05/0.00902, allocations: 9.297 kB / 1.003 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002137/0.009234, allocations: 115.8 kB / 1.003 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002518/0.009485, allocations: 91.8 kB / 1.003 GB, free: 10.77 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 7.883e-05/0.009564, allocations: 16 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.88e-05/0.009623, allocations: 23.94 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.009786, allocations: 83.78 kB / 1.003 GB, free: 10.65 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0001582/0.009944, allocations: 75.8 kB / 1.003 GB, free: 10.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0005094/0.01045, allocations: 275 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.01046, allocations: 0 / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.452e-06/0.01046, allocations: 0 / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 6.262e-06/0.01047, allocations: 0 / 1.004 GB, free: 10.3 MB / 0.9636 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.001162/0.01163, allocations: 0.6187 MB / 1.004 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.01167, allocations: 13.34 kB / 1.004 GB, free: 9.609 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.598e-05/0.01176, allocations: 32.75 kB / 1.004 GB, free: 9.578 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003658/0.01212, allocations: 208.7 kB / 1.005 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.777e-05/0.01216, allocations: 16.66 kB / 1.005 GB, free: 9.336 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.001e-05/0.01221, allocations: 16.38 kB / 1.005 GB, free: 9.32 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.01293, allocations: 463.3 kB / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.215e-05/0.01294, allocations: 192 / 1.005 GB, free: 8.852 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.847e-05/0.01297, allocations: 8.359 kB / 1.005 GB, free: 8.844 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.01298, allocations: 4.375 kB / 1.005 GB, free: 8.84 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000509/0.01349, allocations: 331.7 kB / 1.005 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00077/0.01426, allocations: 483.6 kB / 1.006 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001799/0.01606, allocations: 1.009 MB / 1.007 GB, free: 6.961 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005209/0.01658, allocations: 345.7 kB / 1.007 GB, free: 6.613 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.429e-05/0.01663, allocations: 4 kB / 1.007 GB, free: 6.609 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008064/0.01743, allocations: 482.4 kB / 1.008 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=37): time 1.633e-06/0.01743, allocations: 0 / 1.008 GB, free: 6.113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=37): time 0.001859/0.01929, allocations: 1.118 MB / 1.009 GB, free: 4.988 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001223/0.01941, allocations: 136.5 kB / 1.009 GB, free: 4.824 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003092/0.01972, allocations: 261.6 kB / 1.009 GB, free: 4.559 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 4.407e-05/0.01977, allocations: 29.7 kB / 1.009 GB, free: 4.523 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001131/0.01988, allocations: 125.1 kB / 1.009 GB, free: 4.398 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 9.918e-05/0.01998, allocations: 83.52 kB / 1.009 GB, free: 4.316 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001813/0.02016, allocations: 122 kB / 1.009 GB, free: 4.191 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.000209/0.02037, allocations: 342.8 kB / 1.01 GB, free: 3.848 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004678/0.02084, allocations: 332.8 kB / 1.01 GB, free: 3.523 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005618/0.0214, allocations: 423.1 kB / 1.01 GB, free: 3.078 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001131/0.02253, allocations: 0.7712 MB / 1.011 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.298e-06/0.02254, allocations: 0 / 1.011 GB, free: 2.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001317/0.02385, allocations: 0.8289 MB / 1.012 GB, free: 1.434 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.02387, allocations: 4 kB / 1.012 GB, free: 1.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.221e-05/0.02389, allocations: 4 kB / 1.012 GB, free: 1.426 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.555e-05/0.02391, allocations: 4 kB / 1.012 GB, free: 1.422 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002112/0.02412, allocations: 44 kB / 1.012 GB, free: 1.379 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.55e-05/0.02414, allocations: 7.938 kB / 1.012 GB, free: 1.371 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002587/0.0244, allocations: 35.7 kB / 1.012 GB, free: 1.336 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003547/0.02475, allocations: 271.6 kB / 1.012 GB, free: 1.07 MB / 0.9636 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.0002707/0.02502, allocations: 192.4 kB / 1.013 GB, free: 0.8789 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.243e-05/0.02509, allocations: 28.09 kB / 1.013 GB, free: 0.8516 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.981e-05/0.02517, allocations: 38.11 kB / 1.013 GB, free: 0.8125 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.059e-05/0.02518, allocations: 7.984 kB / 1.013 GB, free: 0.8047 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.02518, allocations: 4 kB / 1.013 GB, free: 0.8008 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/0.0252, allocations: 7.922 kB / 1.013 GB, free: 0.793 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002608/0.0278, allocations: 1.622 MB / 1.014 GB, free: 15.13 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.02781, allocations: 4 kB / 1.014 GB, free: 15.12 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.02787, allocations: 23.91 kB / 1.014 GB, free: 15.1 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.197e-06/0.02788, allocations: 11.94 kB / 1.014 GB, free: 15.09 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.404e-05/0.02791, allocations: 19.97 kB / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-05/0.02792, allocations: 0 / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.659e-06/0.02793, allocations: 4 kB / 1.014 GB, free: 15.07 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001391/0.02932, allocations: 1.112 MB / 1.015 GB, free: 13.94 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 5.082e-05/0.02937, allocations: 35.75 kB / 1.015 GB, free: 13.9 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.624e-05/0.02942, allocations: 23.86 kB / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002414/0.02967, allocations: 4 kB / 1.015 GB, free: 13.88 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.0298, allocations: 59.83 kB / 1.016 GB, free: 13.82 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003509/0.03015, allocations: 275.4 kB / 1.016 GB, free: 13.55 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.0001915/0.03034, allocations: 173.2 kB / 1.016 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.1e-08/0.03034, allocations: 0 / 1.016 GB, free: 13.38 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.0004872/0.03083, allocations: 64 kB / 1.016 GB, free: 13.32 MB / 0.9792 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 0.0002096/0.03104, allocations: 140.5 kB / 1.016 GB, free: 13.18 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.001127/0.03217, allocations: 0.7261 MB / 1.017 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.03217, allocations: 0 / 1.017 GB, free: 12.45 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.000598/0.03277, allocations: 392 kB / 1.017 GB, free: 12.07 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001776/0.03454, allocations: 379.2 kB / 1.018 GB, free: 11.73 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001615/0.03616, allocations: 0.9745 MB / 1.019 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002023/0.03636, allocations: 138.5 kB / 1.019 GB, free: 10.57 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.0003064/0.03667, allocations: 98.91 kB / 1.019 GB, free: 10.47 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001636/0.03683, allocations: 72.44 kB / 1.019 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of SimCode: time 7.21e-07/0.03683, allocations: 0 / 1.019 GB, free: 10.4 MB / 0.9792 GB Notification: Performance of Templates: time 0.01826/0.05509, allocations: 9.587 MB / 1.028 GB, free: 1.043 MB / 0.9792 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 -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.Sources.Examples.DayType.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 9.397867331281304]