Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.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.0008793/0.0008793, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.0008682/0.0008682, allocations: 161 kB / 24.17 MB, free: 328 kB / 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.9655/0.9655, allocations: 177.2 MB / 204.6 MB, free: 5.48 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.93/1.93, allocations: 389.6 MB / 0.6354 GB, free: 12.29 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.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.933e-06/1.933e-06, allocations: 1.422 kB / 0.7751 GB, free: 5.457 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.392e-05, allocations: 3.906 kB / 0.7751 GB, free: 5.453 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001495/0.001519, allocations: 0.8539 MB / 0.776 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002537/0.004056, allocations: 2.482 MB / 0.7784 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.97e-05/0.004145, allocations: 5.281 kB / 0.7784 GB, free: 2.141 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.944e-05/0.004185, allocations: 15.8 kB / 0.7784 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002072/0.004392, allocations: 47.55 kB / 0.7785 GB, free: 2.078 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007766/0.005169, allocations: 0.5127 MB / 0.779 GB, free: 1.57 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.000247/0.005416, allocations: 319 kB / 0.7793 GB, free: 1.258 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.005458, allocations: 6.469 kB / 0.7793 GB, free: 1.254 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002608/0.005719, allocations: 210.7 kB / 0.7795 GB, free: 1.051 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.005854, allocations: 127.7 kB / 0.7796 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.302e-05/0.005887, allocations: 24 kB / 0.7796 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004326/0.00632, allocations: 379.6 kB / 0.78 GB, free: 0.5312 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.016e-05/0.00637, allocations: 63.84 kB / 0.78 GB, free: 480 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 6.964e-05/0.00644, allocations: 91.77 kB / 0.7801 GB, free: 388 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005514/0.006991, allocations: 0.5892 MB / 0.7807 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.006995, allocations: 0 / 0.7807 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.233e-06/0.006996, allocations: 3.938 kB / 0.7807 GB, free: 15.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.007002, allocations: 1.719 kB / 0.7807 GB, free: 15.79 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007665/0.007768, allocations: 0.5674 MB / 0.7813 GB, free: 15.19 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.017e-05/0.007809, allocations: 13.78 kB / 0.7813 GB, free: 15.18 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005543/0.008363, allocations: 134.9 kB / 0.7814 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001022/0.008465, allocations: 140.3 kB / 0.7815 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001245/0.00859, allocations: 230.2 kB / 0.7818 GB, free: 14.61 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.063e-05/0.00862, allocations: 21.31 kB / 0.7818 GB, free: 14.59 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001799/0.0088, allocations: 201.1 kB / 0.782 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.05e-05/0.008811, allocations: 4.188 kB / 0.782 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.507e-05/0.008826, allocations: 13.7 kB / 0.782 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.714e-06/0.008833, allocations: 4 kB / 0.782 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.383e-05/0.008917, allocations: 67.73 kB / 0.7821 GB, free: 14.27 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002187/0.009136, allocations: 203.9 kB / 0.7822 GB, free: 14.02 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006442/0.00978, allocations: 421.8 kB / 0.7826 GB, free: 13.51 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.668e-05/0.009867, allocations: 111.4 kB / 0.7828 GB, free: 13.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.966e-05/0.009896, allocations: 15.98 kB / 0.7828 GB, free: 13.35 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002344/0.01013, allocations: 284.5 kB / 0.783 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 2.484e-06/0.01013, allocations: 0 / 0.783 GB, free: 13.02 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0003111/0.01044, allocations: 237.1 kB / 0.7833 GB, free: 12.79 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001245/0.01057, allocations: 358.1 kB / 0.7836 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.01067, allocations: 169.8 kB / 0.7838 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.95e-05/0.0107, allocations: 39.17 kB / 0.7838 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.77e-05/0.01073, allocations: 105.1 kB / 0.7839 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.115e-05/0.01081, allocations: 119.2 kB / 0.784 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.125e-05/0.01089, allocations: 90.11 kB / 0.7841 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 8.253e-05/0.01097, allocations: 332.2 kB / 0.7844 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001061/0.01108, allocations: 65.84 kB / 0.7845 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.993e-05/0.01117, allocations: 100.4 kB / 0.7846 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/0.01134, allocations: 177.2 kB / 0.7848 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/0.01134, allocations: 4 kB / 0.7848 GB, free: 11.13 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.000223/0.01157, allocations: 222 kB / 0.785 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.01158, allocations: 4.656 kB / 0.785 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.01159, allocations: 0 / 0.785 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.0116, allocations: 5.594 kB / 0.785 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001983/0.0118, allocations: 83.88 kB / 0.7851 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.01181, allocations: 3.938 kB / 0.7851 GB, free: 10.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001034/0.01191, allocations: 42.2 kB / 0.7851 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.01194, allocations: 15.98 kB / 0.7851 GB, free: 10.76 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 28 (sunRiseSetSyd.sunUp,sunRiseSetSyd.nextSunSet,$PRE.sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise,$PRE.sunRiseSetSyd.nextSunRise,$whenCondition7,$whenCondition8,sunRiseSetAntarctic.sunUp,sunRiseSetAntarctic.nextSunSet,$PRE.sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,$PRE.sunRiseSetAntarctic.nextSunRise,$whenCondition5,$whenCondition6,sunRiseSetSf.sunUp,sunRiseSetSf.nextSunSet,$PRE.sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,$PRE.sunRiseSetSf.nextSunRise,$whenCondition3,$whenCondition4,sunRiseSetArctic.sunUp,sunRiseSetArctic.nextSunSet,$PRE.sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,$PRE.sunRiseSetArctic.nextSunRise,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (56): * Single equations (assignments): 56 * 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.0001149/0.01205, allocations: 153.7 kB / 0.7853 GB, free: 10.61 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.1e-05/0.01209, allocations: 27.98 kB / 0.7853 GB, free: 10.58 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003128/0.0124, allocations: 264.8 kB / 0.7855 GB, free: 10.32 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.01241, allocations: 8.875 kB / 0.7856 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01242, allocations: 7.984 kB / 0.7856 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.01242, allocations: 9.031 kB / 0.7856 GB, free: 10.29 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.01262, allocations: 186 kB / 0.7857 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.717e-06/0.01262, allocations: 4 kB / 0.7857 GB, free: 10.09 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001436/0.01276, allocations: 74.91 kB / 0.7858 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.01277, allocations: 8 kB / 0.7858 GB, free: 10.01 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.565e-05/0.01279, allocations: 16.23 kB / 0.7858 GB, free: 9.996 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/0.01279, allocations: 8 kB / 0.7859 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01279, allocations: 4 kB / 0.7859 GB, free: 9.984 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002706/0.01306, allocations: 329.5 kB / 0.7862 GB, free: 9.609 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.906e-05/0.01316, allocations: 55.75 kB / 0.7862 GB, free: 9.555 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.6e-05/0.0132, allocations: 27.88 kB / 0.7862 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.0133, allocations: 23.02 kB / 0.7863 GB, free: 9.508 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.836e-05/0.01337, allocations: 55.8 kB / 0.7863 GB, free: 9.453 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.956e-05/0.01339, allocations: 19.98 kB / 0.7863 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.654e-05/0.01342, allocations: 49.33 kB / 0.7864 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.01342, allocations: 0 / 0.7864 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004274/0.01385, allocations: 227.2 kB / 0.7866 GB, free: 9.16 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition8,$whenCondition7,sunRiseSetSyd.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.sunUp,$whenCondition6,$whenCondition5,sunRiseSetAntarctic.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.sunUp,$whenCondition4,$whenCondition3,sunRiseSetSf.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.sunUp,$whenCondition2,$whenCondition1,sunRiseSetArctic.nextSunRise,sunRiseSetArctic.nextSunSet,sunRiseSetArctic.sunUp) * Number of discrete states: 8 (sunRiseSetArctic.nextSunSet,sunRiseSetArctic.nextSunRise,sunRiseSetSf.nextSunSet,sunRiseSetSf.nextSunRise,sunRiseSetAntarctic.nextSunSet,sunRiseSetAntarctic.nextSunRise,sunRiseSetSyd.nextSunSet,sunRiseSetSyd.nextSunRise) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * 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.0004159/0.01427, allocations: 354.6 kB / 0.7869 GB, free: 8.805 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002566/0.01452, allocations: 217 kB / 0.7872 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.379e-06/0.01453, allocations: 0 / 0.7872 GB, free: 8.594 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001276/0.01465, allocations: 139.2 kB / 0.7873 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001433/0.0148, allocations: 35.98 kB / 0.7873 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007561/0.01555, allocations: 0.5173 MB / 0.7878 GB, free: 7.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.697e-05/0.01561, allocations: 94.45 kB / 0.7879 GB, free: 7.727 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001228/0.01573, allocations: 61.8 kB / 0.788 GB, free: 7.672 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/0.01586, allocations: 100.7 kB / 0.7881 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of SimCode: time 8.72e-07/0.01586, allocations: 0 / 0.7881 GB, free: 7.574 MB / 0.7448 GB Notification: Performance of Templates: time 0.00812/0.02398, allocations: 6.437 MB / 0.7944 GB, free: 1.285 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.1866492559202015]