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.001008/0.001008, allocations: 80.94 kB / 21.55 MB, free: 2.949 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.0009521/0.0009521, allocations: 159.7 kB / 24.96 MB, free: 8.715 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.9544/0.9544, allocations: 177.1 MB / 205.4 MB, free: 5.449 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.921/1.921, allocations: 389.6 MB / 0.6362 GB, free: 12.27 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 2.896e-06/2.896e-06, allocations: 0 / 0.7759 GB, free: 5.379 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.036e-05/2.325e-05, allocations: 2.312 kB / 0.7759 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.00175/0.001773, allocations: 0.912 MB / 0.7768 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.002438/0.004211, allocations: 2.482 MB / 0.7793 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.859e-05/0.00431, allocations: 4 kB / 0.7793 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.687e-05/0.004357, allocations: 16.45 kB / 0.7793 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.004576, allocations: 52.14 kB / 0.7793 GB, free: 1.941 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009553/0.005531, allocations: 475.7 kB / 0.7798 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003021/0.005833, allocations: 323 kB / 0.7801 GB, free: 1.164 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.005878, allocations: 16.17 kB / 0.7801 GB, free: 1.152 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002808/0.006159, allocations: 204.4 kB / 0.7803 GB, free: 0.9531 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000142/0.006301, allocations: 120.2 kB / 0.7804 GB, free: 0.8359 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 3.385e-05/0.006334, allocations: 24.75 kB / 0.7804 GB, free: 0.8125 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000622/0.006956, allocations: 419.5 kB / 0.7808 GB, free: 412 kB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.858e-05/0.007015, allocations: 73.45 kB / 0.7809 GB, free: 340 kB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 7.806e-05/0.007093, allocations: 91.78 kB / 0.781 GB, free: 248 kB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0006917/0.007785, allocations: 0.5802 MB / 0.7816 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.007789, allocations: 0 / 0.7816 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.322e-06/0.00779, allocations: 0.875 kB / 0.7816 GB, free: 15.66 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.007795, allocations: 0 / 0.7816 GB, free: 15.66 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.001068/0.008863, allocations: 0.5798 MB / 0.7821 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.246e-05/0.008905, allocations: 14.47 kB / 0.7821 GB, free: 15.04 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006165/0.009522, allocations: 139.3 kB / 0.7823 GB, free: 14.91 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000101/0.009623, allocations: 143.1 kB / 0.7824 GB, free: 14.74 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/0.009741, allocations: 230.2 kB / 0.7826 GB, free: 14.47 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.00977, allocations: 16.91 kB / 0.7826 GB, free: 14.45 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.009957, allocations: 206.6 kB / 0.7828 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.009966, allocations: 192 / 0.7828 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.743e-05/0.009983, allocations: 16.11 kB / 0.7829 GB, free: 14.2 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.009989, allocations: 4 kB / 0.7829 GB, free: 14.19 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.83e-05/0.01008, allocations: 60.47 kB / 0.7829 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002258/0.0103, allocations: 197.9 kB / 0.7831 GB, free: 13.89 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006358/0.01094, allocations: 427.5 kB / 0.7835 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.542e-05/0.01103, allocations: 103.6 kB / 0.7836 GB, free: 13.23 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.332e-05/0.01107, allocations: 20.7 kB / 0.7836 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000234/0.0113, allocations: 283.4 kB / 0.7839 GB, free: 12.89 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=40): time 2.835e-06/0.0113, allocations: 5.031 kB / 0.7839 GB, free: 12.88 MB / 0.7448 GB Notification: Performance of matching and sorting (n=40): time 0.0003239/0.01163, allocations: 239.1 kB / 0.7841 GB, free: 12.64 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.01175, allocations: 355.3 kB / 0.7845 GB, free: 12.22 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.01184, allocations: 173.8 kB / 0.7846 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.833e-05/0.01186, allocations: 37.7 kB / 0.7847 GB, free: 12 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 3.32e-05/0.0119, allocations: 101.1 kB / 0.7848 GB, free: 11.89 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 6.88e-05/0.01197, allocations: 120.4 kB / 0.7849 GB, free: 11.78 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.623e-05/0.01205, allocations: 90.11 kB / 0.785 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.434e-05/0.01213, allocations: 334.8 kB / 0.7853 GB, free: 11.35 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.759e-05/0.01222, allocations: 63.06 kB / 0.7854 GB, free: 11.29 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.59e-05/0.01231, allocations: 100.4 kB / 0.7855 GB, free: 11.18 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001785/0.01249, allocations: 169.3 kB / 0.7856 GB, free: 11 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.01249, allocations: 0 / 0.7856 GB, free: 11 MB / 0.7448 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002195/0.01271, allocations: 212.1 kB / 0.7858 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.419e-05/0.01273, allocations: 8.859 kB / 0.7858 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.01273, allocations: 4 kB / 0.7858 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.01274, allocations: 3.938 kB / 0.7858 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002095/0.01295, allocations: 96.58 kB / 0.7859 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.649e-06/0.01296, allocations: 7.938 kB / 0.7859 GB, free: 10.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001085/0.01307, allocations: 42.42 kB / 0.786 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.01309, allocations: 15.98 kB / 0.786 GB, free: 10.62 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.0001005/0.01319, allocations: 154.4 kB / 0.7861 GB, free: 10.46 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.855e-05/0.01323, allocations: 27.92 kB / 0.7862 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000301/0.01353, allocations: 266.9 kB / 0.7864 GB, free: 10.18 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.862e-06/0.01354, allocations: 8 kB / 0.7864 GB, free: 10.17 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.01354, allocations: 4 kB / 0.7864 GB, free: 10.16 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/0.01355, allocations: 11.92 kB / 0.7864 GB, free: 10.15 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.01374, allocations: 186.4 kB / 0.7866 GB, free: 9.953 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.01375, allocations: 5.031 kB / 0.7866 GB, free: 9.949 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001516/0.0139, allocations: 79.89 kB / 0.7867 GB, free: 9.871 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.771e-06/0.01391, allocations: 11.94 kB / 0.7867 GB, free: 9.859 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.702e-05/0.01392, allocations: 12.94 kB / 0.7867 GB, free: 9.848 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.123e-06/0.01393, allocations: 7.984 kB / 0.7867 GB, free: 9.84 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.01393, allocations: 5.844 kB / 0.7867 GB, free: 9.836 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002676/0.0142, allocations: 333.7 kB / 0.7871 GB, free: 9.461 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 9.691e-05/0.0143, allocations: 59.67 kB / 0.7871 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.033e-05/0.01433, allocations: 19.95 kB / 0.7871 GB, free: 9.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.792e-05/0.01443, allocations: 20.83 kB / 0.7871 GB, free: 9.363 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.485e-05/0.0145, allocations: 63.78 kB / 0.7872 GB, free: 9.301 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.75e-05/0.01452, allocations: 12.66 kB / 0.7872 GB, free: 9.289 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.711e-05/0.01455, allocations: 49.33 kB / 0.7873 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.01455, allocations: 0.6562 kB / 0.7873 GB, free: 9.238 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0004363/0.01499, allocations: 231.2 kB / 0.7875 GB, free: 9.012 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.0004053/0.0154, allocations: 355.7 kB / 0.7878 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.000257/0.01565, allocations: 213.9 kB / 0.788 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.01566, allocations: 0 / 0.788 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001216/0.01578, allocations: 139.2 kB / 0.7882 GB, free: 8.312 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.01592, allocations: 35.98 kB / 0.7882 GB, free: 8.277 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009297/0.01685, allocations: 0.5211 MB / 0.7887 GB, free: 7.691 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.055e-05/0.01691, allocations: 93.83 kB / 0.7888 GB, free: 7.578 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.0001258/0.01704, allocations: 61.52 kB / 0.7889 GB, free: 7.523 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001319/0.01717, allocations: 103.9 kB / 0.789 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of SimCode: time 4.8e-07/0.01717, allocations: 1.188 kB / 0.789 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of Templates: time 0.00767/0.02484, allocations: 6.418 MB / 0.7952 GB, free: 1.145 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.113800006918609]