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.001247/0.001247, allocations: 99.77 kB / 20.49 MB, free: 1.324 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.001387/0.001387, allocations: 216.5 kB / 23.79 MB, free: 4.457 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.408/1.408, allocations: 230.6 MB / 257.6 MB, free: 7.781 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.9256/0.9256, allocations: 150 MB / 464 MB, free: 10.19 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.002003/0.002003, allocations: 74.52 kB / 0.6425 GB, free: 9.391 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1799/0.1819, allocations: 89.16 MB / 0.7296 GB, free: 300 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002118/0.184, allocations: 0.824 MB / 0.7304 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003274/0.1873, allocations: 2.42 MB / 0.7327 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.238e-05/0.1874, allocations: 0 / 0.7327 GB, free: 13.03 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.361e-05/0.1874, allocations: 11.81 kB / 0.7327 GB, free: 13.02 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.000235/0.1877, allocations: 47.62 kB / 0.7328 GB, free: 12.97 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001066/0.1887, allocations: 0.4982 MB / 0.7333 GB, free: 12.47 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003944/0.1891, allocations: 323.1 kB / 0.7336 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.055e-05/0.1892, allocations: 5.812 kB / 0.7336 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.1895, allocations: 155.6 kB / 0.7337 GB, free: 12 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002113/0.1897, allocations: 139.5 kB / 0.7339 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.47e-05/0.1897, allocations: 24 kB / 0.7339 GB, free: 11.84 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006172/0.1903, allocations: 383.7 kB / 0.7343 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.952e-05/0.1904, allocations: 71.78 kB / 0.7343 GB, free: 11.39 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001352/0.1906, allocations: 103.6 kB / 0.7344 GB, free: 11.29 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007613/0.1913, allocations: 0.5685 MB / 0.735 GB, free: 10.72 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1913, allocations: 3.938 kB / 0.735 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.393e-06/0.1913, allocations: 0 / 0.735 GB, free: 10.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.1913, allocations: 0 / 0.735 GB, free: 10.71 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.001397/0.1927, allocations: 0.6061 MB / 0.7356 GB, free: 10.08 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.534e-05/0.1928, allocations: 12.03 kB / 0.7356 GB, free: 10.07 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001075/0.1939, allocations: 92.72 kB / 0.7357 GB, free: 9.977 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.194, allocations: 139.9 kB / 0.7358 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00022/0.1942, allocations: 226.2 kB / 0.736 GB, free: 9.543 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.569e-05/0.1943, allocations: 32.36 kB / 0.7361 GB, free: 9.512 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004133/0.1947, allocations: 243.8 kB / 0.7363 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.1947, allocations: 0 / 0.7363 GB, free: 9.23 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.937e-05/0.1947, allocations: 11.98 kB / 0.7363 GB, free: 9.219 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.1947, allocations: 4 kB / 0.7363 GB, free: 9.215 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002436/0.195, allocations: 119.7 kB / 0.7364 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.1954, allocations: 287 kB / 0.7367 GB, free: 8.754 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001531/0.1969, allocations: 487.2 kB / 0.7372 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002242/0.1971, allocations: 146.3 kB / 0.7373 GB, free: 7.988 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.215e-05/0.1972, allocations: 15.98 kB / 0.7373 GB, free: 7.973 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005129/0.1977, allocations: 311.6 kB / 0.7376 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.784e-06/0.1977, allocations: 0 / 0.7376 GB, free: 7.617 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0008747/0.1986, allocations: 417 kB / 0.738 GB, free: 7.203 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002127/0.1988, allocations: 354.1 kB / 0.7383 GB, free: 6.777 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.1989, allocations: 167.2 kB / 0.7385 GB, free: 6.602 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 4.43e-05/0.199, allocations: 41.7 kB / 0.7385 GB, free: 6.555 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.734e-05/0.1991, allocations: 97.12 kB / 0.7386 GB, free: 6.453 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001095/0.1992, allocations: 119 kB / 0.7387 GB, free: 6.336 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001488/0.1993, allocations: 98.16 kB / 0.7388 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001457/0.1995, allocations: 330.8 kB / 0.7392 GB, free: 5.898 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003123/0.1998, allocations: 118.4 kB / 0.7393 GB, free: 5.785 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003094/0.2001, allocations: 168.3 kB / 0.7394 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000583/0.2007, allocations: 270 kB / 0.7397 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.2007, allocations: 0 / 0.7397 GB, free: 5.344 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007752/0.2015, allocations: 376.3 kB / 0.74 GB, free: 4.973 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.2015, allocations: 7.938 kB / 0.7401 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/0.2015, allocations: 0 / 0.7401 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.799e-05/0.2015, allocations: 4.75 kB / 0.7401 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003986/0.2019, allocations: 87.81 kB / 0.7401 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.223e-06/0.2019, allocations: 0 / 0.7401 GB, free: 4.875 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002807/0.2022, allocations: 55.75 kB / 0.7402 GB, free: 4.82 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.922e-05/0.2022, allocations: 19.98 kB / 0.7402 GB, free: 4.801 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.0001647/0.2024, allocations: 153.8 kB / 0.7404 GB, free: 4.641 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.714e-05/0.2025, allocations: 31.78 kB / 0.7404 GB, free: 4.609 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007185/0.2032, allocations: 362.1 kB / 0.7407 GB, free: 4.25 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.919e-06/0.2032, allocations: 8 kB / 0.7407 GB, free: 4.242 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.989e-06/0.2032, allocations: 4.188 kB / 0.7407 GB, free: 4.238 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.628e-06/0.2032, allocations: 4 kB / 0.7407 GB, free: 4.234 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/0.2036, allocations: 252.9 kB / 0.741 GB, free: 3.957 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.03e-06/0.2036, allocations: 4 kB / 0.741 GB, free: 3.953 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002906/0.2039, allocations: 71.84 kB / 0.7411 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.2039, allocations: 8 kB / 0.7411 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-05/0.2039, allocations: 23.92 kB / 0.7411 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.631e-06/0.2039, allocations: 7.938 kB / 0.7411 GB, free: 3.844 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.2039, allocations: 4 kB / 0.7411 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007948/0.2047, allocations: 0.4889 MB / 0.7416 GB, free: 3.293 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001644/0.2049, allocations: 75.64 kB / 0.7417 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.77e-05/0.2049, allocations: 23.89 kB / 0.7417 GB, free: 3.195 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002237/0.2052, allocations: 31.97 kB / 0.7417 GB, free: 3.164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.2053, allocations: 55.86 kB / 0.7418 GB, free: 3.109 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.275e-05/0.2053, allocations: 23.98 kB / 0.7418 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001044/0.2054, allocations: 119.2 kB / 0.7419 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of sort global known variables: time 7e-08/0.2054, allocations: 0 / 0.7419 GB, free: 2.969 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006585/0.2061, allocations: 231.2 kB / 0.7421 GB, free: 2.742 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.0005966/0.2067, allocations: 340 kB / 0.7424 GB, free: 2.398 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007742/0.2074, allocations: 323.2 kB / 0.7428 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.2074, allocations: 0 / 0.7428 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003019/0.2077, allocations: 163.7 kB / 0.7429 GB, free: 1.926 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002797/0.208, allocations: 31.98 kB / 0.7429 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001006/0.209, allocations: 0.562 MB / 0.7435 GB, free: 1.273 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001505/0.2092, allocations: 147.6 kB / 0.7436 GB, free: 1.113 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001949/0.2094, allocations: 62.3 kB / 0.7437 GB, free: 1.059 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001367/0.2095, allocations: 47.41 kB / 0.7437 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of SimCode: time 3.11e-07/0.2095, allocations: 0 / 0.7437 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of Templates: time 0.0112/0.2207, allocations: 5.961 MB / 0.7496 GB, free: 11.13 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 -s gbode -gbnls=internal -gberr=embedded -gbm=radauIIA3 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.941547290189192] Failed to read output from testmodel.py, exit status != 0: 0.22913293400779366 0.5577116529999999 0.36324266699999996 Calling exit ...