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.0009234/0.0009234, allocations: 85.45 kB / 21.62 MB, free: 2.84 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.0009415/0.0009415, allocations: 169.6 kB / 25.05 MB, free: 8.781 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.9743/0.9743, allocations: 177.1 MB / 205.5 MB, free: 5.469 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.987/1.987, allocations: 389.6 MB / 0.6363 GB, free: 12.3 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 7.414e-06/7.414e-06, allocations: 4 kB / 0.7761 GB, free: 5.332 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.837e-05/4.579e-05, allocations: 2.312 kB / 0.7761 GB, free: 5.328 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.002141/0.002187, allocations: 0.8974 MB / 0.777 GB, free: 4.457 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002585/0.004772, allocations: 2.486 MB / 0.7794 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/0.004853, allocations: 0 / 0.7794 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 5.879e-05/0.004912, allocations: 17.16 kB / 0.7794 GB, free: 1.957 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.005137, allocations: 43.62 kB / 0.7795 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008033/0.00594, allocations: 483.2 kB / 0.7799 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0002534/0.006194, allocations: 327.8 kB / 0.7802 GB, free: 1.125 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.984e-05/0.006244, allocations: 6.469 kB / 0.7803 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002718/0.006516, allocations: 201.6 kB / 0.7804 GB, free: 0.9258 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001507/0.006666, allocations: 129 kB / 0.7806 GB, free: 0.8008 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.686e-05/0.006713, allocations: 24 kB / 0.7806 GB, free: 0.7773 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005682/0.007281, allocations: 423.5 kB / 0.781 GB, free: 372 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.18e-05/0.007333, allocations: 73.36 kB / 0.7811 GB, free: 300 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.274e-05/0.007406, allocations: 87.84 kB / 0.7812 GB, free: 212 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.007957, allocations: 0.5763 MB / 0.7817 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.007962, allocations: 0 / 0.7817 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.012e-06/0.007963, allocations: 0.6562 kB / 0.7817 GB, free: 15.63 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.007969, allocations: 0 / 0.7817 GB, free: 15.63 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.0007514/0.00872, allocations: 0.577 MB / 0.7823 GB, free: 15.03 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.987e-05/0.00876, allocations: 13.33 kB / 0.7823 GB, free: 15.02 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006058/0.009366, allocations: 136 kB / 0.7824 GB, free: 14.89 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.009488, allocations: 139.1 kB / 0.7826 GB, free: 14.72 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.009628, allocations: 230.2 kB / 0.7828 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.681e-05/0.009654, allocations: 24.36 kB / 0.7828 GB, free: 14.43 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002013/0.009856, allocations: 210 kB / 0.783 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.009868, allocations: 4.188 kB / 0.783 GB, free: 14.18 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.00988, allocations: 5.438 kB / 0.783 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.009887, allocations: 4 kB / 0.783 GB, free: 14.17 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.795e-05/0.009975, allocations: 71.73 kB / 0.7831 GB, free: 14.1 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.0102, allocations: 192.3 kB / 0.7833 GB, free: 13.86 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006886/0.01089, allocations: 429.6 kB / 0.7837 GB, free: 13.34 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001004/0.01099, allocations: 108.7 kB / 0.7838 GB, free: 13.2 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.429e-05/0.01102, allocations: 15.94 kB / 0.7838 GB, free: 13.18 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000277/0.0113, allocations: 283.4 kB / 0.7841 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 2.114e-06/0.0113, allocations: 0 / 0.7841 GB, free: 12.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0003297/0.01163, allocations: 241 kB / 0.7843 GB, free: 12.62 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001484/0.01178, allocations: 354.1 kB / 0.7846 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001212/0.0119, allocations: 169.8 kB / 0.7848 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 3.126e-05/0.01193, allocations: 37.7 kB / 0.7848 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.01199, allocations: 105.1 kB / 0.7849 GB, free: 11.87 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 7.022e-05/0.01206, allocations: 115.7 kB / 0.785 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.268e-05/0.01214, allocations: 90.12 kB / 0.7851 GB, free: 11.66 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001235/0.01226, allocations: 336.2 kB / 0.7854 GB, free: 11.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001021/0.01237, allocations: 65.66 kB / 0.7855 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.85e-05/0.01246, allocations: 96.41 kB / 0.7856 GB, free: 11.15 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001714/0.01263, allocations: 180.1 kB / 0.7858 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.497e-06/0.01263, allocations: 128 / 0.7858 GB, free: 10.97 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002296/0.01286, allocations: 214.9 kB / 0.786 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.01288, allocations: 4 kB / 0.786 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.013e-06/0.01288, allocations: 0 / 0.786 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.0129, allocations: 4 kB / 0.786 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002156/0.01311, allocations: 100.5 kB / 0.7861 GB, free: 10.65 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.01312, allocations: 10.97 kB / 0.7861 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001086/0.01323, allocations: 43.77 kB / 0.7861 GB, free: 10.6 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.501e-05/0.01325, allocations: 15.98 kB / 0.7861 GB, free: 10.59 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.0001993/0.01345, allocations: 149.6 kB / 0.7863 GB, free: 10.43 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.257e-05/0.0135, allocations: 31.98 kB / 0.7863 GB, free: 10.4 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000321/0.01382, allocations: 257.6 kB / 0.7866 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.01382, allocations: 12 kB / 0.7866 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/0.01383, allocations: 4.625 kB / 0.7866 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.666e-06/0.01384, allocations: 8.766 kB / 0.7866 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.01404, allocations: 190 kB / 0.7868 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.01405, allocations: 1.656 kB / 0.7868 GB, free: 9.922 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001524/0.0142, allocations: 79.83 kB / 0.7868 GB, free: 9.844 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/0.0142, allocations: 4 kB / 0.7869 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.832e-05/0.01422, allocations: 19.98 kB / 0.7869 GB, free: 9.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.739e-06/0.01423, allocations: 9.047 kB / 0.7869 GB, free: 9.812 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.01423, allocations: 4.25 kB / 0.7869 GB, free: 9.809 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.01451, allocations: 337.5 kB / 0.7872 GB, free: 9.43 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.894e-05/0.01461, allocations: 61.42 kB / 0.7873 GB, free: 9.371 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.01464, allocations: 23.88 kB / 0.7873 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001018/0.01475, allocations: 23.98 kB / 0.7873 GB, free: 9.324 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.364e-05/0.01482, allocations: 55.8 kB / 0.7874 GB, free: 9.27 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.808e-05/0.01484, allocations: 20.61 kB / 0.7874 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.655e-05/0.01487, allocations: 41.33 kB / 0.7874 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5e-08/0.01487, allocations: 1.969 kB / 0.7874 GB, free: 9.207 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004399/0.01531, allocations: 231.2 kB / 0.7876 GB, free: 8.98 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.0005282/0.01584, allocations: 349.2 kB / 0.788 GB, free: 8.629 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002802/0.01612, allocations: 220.3 kB / 0.7882 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.987e-06/0.01613, allocations: 4 kB / 0.7882 GB, free: 8.414 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001266/0.01625, allocations: 142.3 kB / 0.7883 GB, free: 8.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001504/0.0164, allocations: 29.02 kB / 0.7884 GB, free: 8.242 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007659/0.01717, allocations: 0.5169 MB / 0.7889 GB, free: 7.664 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.651e-05/0.01723, allocations: 93.83 kB / 0.7889 GB, free: 7.551 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001335/0.01736, allocations: 58.95 kB / 0.789 GB, free: 7.5 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001283/0.01749, allocations: 103.4 kB / 0.7891 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of SimCode: time 1.623e-06/0.01749, allocations: 0 / 0.7891 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of Templates: time 0.0083/0.02579, allocations: 6.438 MB / 0.7954 GB, free: 1.098 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.163440612144768]