Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.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.001456/0.001456, allocations: 105 kB / 20.44 MB, free: 1.504 MB / 14.72 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.001889/0.001889, allocations: 209.3 kB / 23.76 MB, free: 4.727 MB / 14.72 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.43/1.43, allocations: 230.6 MB / 257.5 MB, free: 8.023 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9449/0.9449, allocations: 150 MB / 463.9 MB, free: 10.54 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime") [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002311/0.002311, allocations: 65.2 kB / 0.6425 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1751/0.1774, allocations: 89.17 MB / 0.7296 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002244/0.1797, allocations: 0.8911 MB / 0.7304 GB, free: 15.96 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003589/0.1833, allocations: 2.595 MB / 0.733 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001098/0.1834, allocations: 3.938 kB / 0.733 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.752e-05/0.1834, allocations: 11.81 kB / 0.733 GB, free: 13.33 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002382/0.1837, allocations: 43.62 kB / 0.733 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001322/0.185, allocations: 0.506 MB / 0.7335 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004049/0.1854, allocations: 311.2 kB / 0.7338 GB, free: 12.48 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.396e-05/0.1854, allocations: 5.812 kB / 0.7338 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003561/0.1858, allocations: 155.6 kB / 0.734 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002513/0.186, allocations: 151.5 kB / 0.7341 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.823e-05/0.1861, allocations: 24 kB / 0.7341 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007766/0.1869, allocations: 399.7 kB / 0.7345 GB, free: 11.76 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.868e-05/0.187, allocations: 71.78 kB / 0.7346 GB, free: 11.69 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001349/0.1871, allocations: 115.5 kB / 0.7347 GB, free: 11.57 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0008953/0.188, allocations: 0.5723 MB / 0.7352 GB, free: 11 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.626e-06/0.188, allocations: 0 / 0.7352 GB, free: 11 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.213e-06/0.188, allocations: 0 / 0.7352 GB, free: 11 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.265e-06/0.188, allocations: 0 / 0.7352 GB, free: 11 MB / 0.5606 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.001476/0.1895, allocations: 0.6115 MB / 0.7358 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1895, allocations: 8.031 kB / 0.7358 GB, free: 10.35 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001088/0.1906, allocations: 92.72 kB / 0.7359 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1907, allocations: 135.9 kB / 0.7361 GB, free: 10.1 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002438/0.191, allocations: 230.2 kB / 0.7363 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.934e-05/0.191, allocations: 20.38 kB / 0.7363 GB, free: 9.805 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004058/0.1914, allocations: 255.8 kB / 0.7365 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.1914, allocations: 0 / 0.7365 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.1915, allocations: 8 kB / 0.7366 GB, free: 9.504 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.1915, allocations: 4 kB / 0.7366 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002547/0.1917, allocations: 119.7 kB / 0.7367 GB, free: 9.383 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004916/0.1922, allocations: 362.3 kB / 0.737 GB, free: 8.953 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.1938, allocations: 483.3 kB / 0.7375 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002463/0.194, allocations: 154.2 kB / 0.7376 GB, free: 8.184 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.353e-05/0.1941, allocations: 7.984 kB / 0.7376 GB, free: 8.176 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005411/0.1946, allocations: 319.5 kB / 0.7379 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 3.757e-06/0.1946, allocations: 0 / 0.7379 GB, free: 7.812 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0009135/0.1955, allocations: 414.5 kB / 0.7383 GB, free: 7.402 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000225/0.1958, allocations: 350.6 kB / 0.7387 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000178/0.196, allocations: 171.2 kB / 0.7388 GB, free: 6.801 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.822e-05/0.196, allocations: 45.7 kB / 0.7389 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.106e-05/0.1961, allocations: 97.12 kB / 0.739 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001251/0.1962, allocations: 115 kB / 0.7391 GB, free: 6.535 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000149/0.1964, allocations: 98.16 kB / 0.7392 GB, free: 6.43 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001927/0.1965, allocations: 330.8 kB / 0.7395 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003019/0.1968, allocations: 116.9 kB / 0.7396 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003338/0.1972, allocations: 176.3 kB / 0.7398 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005864/0.1978, allocations: 261.1 kB / 0.74 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1978, allocations: 0 / 0.74 GB, free: 5.543 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0008314/0.1986, allocations: 385.4 kB / 0.7404 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.1986, allocations: 15.94 kB / 0.7404 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.1986, allocations: 0 / 0.7404 GB, free: 5.148 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.044e-05/0.1986, allocations: 4 kB / 0.7404 GB, free: 5.145 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003933/0.199, allocations: 75.81 kB / 0.7405 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.524e-05/0.1991, allocations: 4 kB / 0.7405 GB, free: 5.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002931/0.1994, allocations: 47.75 kB / 0.7405 GB, free: 5.02 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.241e-05/0.1994, allocations: 19.98 kB / 0.7405 GB, free: 5 MB / 0.5606 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.000195/0.1996, allocations: 157.7 kB / 0.7407 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.366e-05/0.1997, allocations: 31.78 kB / 0.7407 GB, free: 4.805 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007499/0.2004, allocations: 362.6 kB / 0.7411 GB, free: 4.445 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.062e-05/0.2004, allocations: 8 kB / 0.7411 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.2004, allocations: 4 kB / 0.7411 GB, free: 4.434 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.2004, allocations: 7.984 kB / 0.7411 GB, free: 4.426 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004386/0.2009, allocations: 320.3 kB / 0.7414 GB, free: 4.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.2009, allocations: 7.938 kB / 0.7414 GB, free: 4.062 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000307/0.2012, allocations: 71.91 kB / 0.7415 GB, free: 3.992 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.021e-05/0.2012, allocations: 7.984 kB / 0.7415 GB, free: 3.984 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/0.2012, allocations: 23.94 kB / 0.7415 GB, free: 3.961 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.843e-06/0.2013, allocations: 4 kB / 0.7415 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/0.2013, allocations: 4 kB / 0.7415 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008009/0.2021, allocations: 496.3 kB / 0.742 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000188/0.2022, allocations: 75.56 kB / 0.7421 GB, free: 3.336 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.914e-05/0.2023, allocations: 19.94 kB / 0.7421 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000241/0.2025, allocations: 35.97 kB / 0.7421 GB, free: 3.281 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.2027, allocations: 51.8 kB / 0.7422 GB, free: 3.23 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.759e-05/0.2027, allocations: 23.98 kB / 0.7422 GB, free: 3.207 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001196/0.2028, allocations: 131.2 kB / 0.7423 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of sort global known variables: time 6e-08/0.2028, allocations: 0 / 0.7423 GB, free: 3.078 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006603/0.2035, allocations: 227.2 kB / 0.7425 GB, free: 2.855 MB / 0.5606 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.0006587/0.2041, allocations: 344 kB / 0.7429 GB, free: 2.508 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007651/0.2049, allocations: 315.2 kB / 0.7432 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.2049, allocations: 0 / 0.7432 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003133/0.2052, allocations: 172.9 kB / 0.7433 GB, free: 2.035 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002958/0.2055, allocations: 28.55 kB / 0.7433 GB, free: 2.008 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001081/0.2066, allocations: 0.602 MB / 0.7439 GB, free: 1.34 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004219/0.207, allocations: 0.7611 MB / 0.7447 GB, free: 0.5469 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001428/0.2072, allocations: 47.41 kB / 0.7447 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of SimCode: time 3.6e-07/0.2072, allocations: 0 / 0.7447 GB, free: 0.5 MB / 0.5606 GB Notification: Performance of Templates: time 0.009833/0.217, allocations: 5.549 MB / 0.7501 GB, free: 10.98 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.387424597050995] Failed to read output from testmodel.py, exit status != 0: 0.22646276117302477 0.49591876599999996 0.30510547899999996 Calling exit ...