Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.0009895/0.0009895, allocations: 72.95 kB / 20.72 MB, free: 3.766 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.001186/0.001186, allocations: 173 kB / 24.15 MB, free: 352 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 1.008/1.008, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.6361/0.6361, allocations: 115 MB / 376 MB, free: 7.488 MB / 346.7 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.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") translateModel(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.994e-06/1.994e-06, allocations: 0 / 428.7 MB, free: 2.852 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.357e-05/2.556e-05, allocations: 6.25 kB / 428.7 MB, free: 2.844 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet): time 0.001397/0.001423, allocations: 0.8474 MB / 429.5 MB, free: 1.996 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.002493/0.003915, allocations: 2.486 MB / 432 MB, free: 15.49 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.509e-05/0.00398, allocations: 3.938 kB / 432 MB, free: 15.48 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 3.125e-05/0.004012, allocations: 11.81 kB / 432 MB, free: 15.47 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001677/0.004179, allocations: 51.55 kB / 432.1 MB, free: 15.42 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006352/0.004815, allocations: 0.5019 MB / 432.6 MB, free: 14.92 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002339/0.005048, allocations: 323 kB / 432.9 MB, free: 14.6 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.005095, allocations: 14.45 kB / 432.9 MB, free: 14.58 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002421/0.005337, allocations: 203.6 kB / 433.1 MB, free: 14.38 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001359/0.005473, allocations: 123.7 kB / 433.2 MB, free: 14.26 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 4.115e-05/0.005514, allocations: 24 kB / 433.3 MB, free: 14.24 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003881/0.005903, allocations: 383.5 kB / 433.6 MB, free: 13.86 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 5.507e-05/0.005958, allocations: 71.77 kB / 433.7 MB, free: 13.79 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.006025, allocations: 95.78 kB / 433.8 MB, free: 13.7 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004855/0.006511, allocations: 0.5724 MB / 434.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.006515, allocations: 7.938 kB / 434.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.006516, allocations: 0 / 434.4 MB, free: 13.12 MB / 410.7 MB Notification: Performance of Transformations before backend: time 3.386e-06/0.006519, allocations: 0 / 434.4 MB, free: 13.12 MB / 410.7 MB 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.000646/0.007165, allocations: 0.5712 MB / 434.9 MB, free: 12.52 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.013e-05/0.007196, allocations: 8.031 kB / 435 MB, free: 12.52 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005419/0.007737, allocations: 140.5 kB / 435.1 MB, free: 12.38 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.191e-05/0.007829, allocations: 138.2 kB / 435.2 MB, free: 12.21 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001191/0.007948, allocations: 234.2 kB / 435.5 MB, free: 11.94 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.007977, allocations: 20.38 kB / 435.5 MB, free: 11.92 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001816/0.008159, allocations: 204.3 kB / 435.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.008166, allocations: 192 / 435.7 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.506e-05/0.008181, allocations: 16.11 kB / 435.7 MB, free: 11.66 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-06/0.008187, allocations: 8 kB / 435.7 MB, free: 11.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.492e-05/0.008272, allocations: 67.72 kB / 435.8 MB, free: 11.59 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002131/0.008485, allocations: 195.2 kB / 436 MB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006495/0.009134, allocations: 423.1 kB / 436.4 MB, free: 10.82 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.159e-05/0.009226, allocations: 114.2 kB / 436.5 MB, free: 10.68 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.623e-05/0.009252, allocations: 12 kB / 436.5 MB, free: 10.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002308/0.009483, allocations: 275.5 kB / 436.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=40): time 1.342e-06/0.009484, allocations: 0 / 436.8 MB, free: 10.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=40): time 0.000305/0.009789, allocations: 245.6 kB / 437 MB, free: 10.1 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001237/0.009913, allocations: 354.1 kB / 437.3 MB, free: 9.672 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.199e-05/0.01, allocations: 171.2 kB / 437.5 MB, free: 9.492 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.01003, allocations: 37.7 kB / 437.5 MB, free: 9.449 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.806e-05/0.01007, allocations: 101.1 kB / 437.6 MB, free: 9.344 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.883e-05/0.01014, allocations: 115.1 kB / 437.8 MB, free: 9.23 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.495e-05/0.01023, allocations: 94.06 kB / 437.9 MB, free: 9.133 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 8.845e-05/0.01031, allocations: 330.8 kB / 438.2 MB, free: 8.801 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001009/0.01042, allocations: 65.66 kB / 438.2 MB, free: 8.734 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.36e-05/0.01051, allocations: 100.3 kB / 438.3 MB, free: 8.621 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001737/0.01068, allocations: 179.2 kB / 438.5 MB, free: 8.434 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.01069, allocations: 0 / 438.5 MB, free: 8.434 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0002289/0.01091, allocations: 221.4 kB / 438.7 MB, free: 8.211 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.01093, allocations: 4 kB / 438.7 MB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.01093, allocations: 0 / 438.7 MB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.01094, allocations: 4 kB / 438.7 MB, free: 8.203 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000193/0.01114, allocations: 87.86 kB / 438.8 MB, free: 8.117 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.01114, allocations: 7.938 kB / 438.8 MB, free: 8.109 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001075/0.01125, allocations: 44.77 kB / 438.9 MB, free: 8.066 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.865e-05/0.01127, allocations: 11.98 kB / 438.9 MB, free: 8.055 MB / 410.7 MB 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.0001051/0.01137, allocations: 153.6 kB / 439 MB, free: 7.895 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.846e-05/0.01141, allocations: 27.98 kB / 439.1 MB, free: 7.867 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003047/0.01172, allocations: 267 kB / 439.3 MB, free: 7.605 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.726e-06/0.01173, allocations: 8 kB / 439.3 MB, free: 7.598 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.01173, allocations: 4 kB / 439.3 MB, free: 7.594 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.017e-05/0.01174, allocations: 11.92 kB / 439.3 MB, free: 7.582 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002278/0.01197, allocations: 182.1 kB / 439.5 MB, free: 7.387 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.536e-06/0.01197, allocations: 4 kB / 439.5 MB, free: 7.383 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001568/0.01213, allocations: 75.84 kB / 439.6 MB, free: 7.309 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.161e-06/0.01214, allocations: 4 kB / 439.6 MB, free: 7.305 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.715e-05/0.01215, allocations: 15.98 kB / 439.6 MB, free: 7.289 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.023e-06/0.01216, allocations: 8 kB / 439.6 MB, free: 7.281 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.01216, allocations: 3.938 kB / 439.6 MB, free: 7.277 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003245/0.01249, allocations: 337.5 kB / 440 MB, free: 6.891 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001035/0.01259, allocations: 55.66 kB / 440 MB, free: 6.836 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.856e-05/0.01263, allocations: 19.98 kB / 440 MB, free: 6.816 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001019/0.01273, allocations: 20.23 kB / 440.1 MB, free: 6.797 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.824e-05/0.0128, allocations: 55.86 kB / 440.1 MB, free: 6.742 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.045e-05/0.01282, allocations: 19.98 kB / 440.1 MB, free: 6.723 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.98e-05/0.01286, allocations: 48.8 kB / 440.2 MB, free: 6.672 MB / 410.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01286, allocations: 4 kB / 440.2 MB, free: 6.668 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003831/0.01324, allocations: 227.2 kB / 440.4 MB, free: 6.445 MB / 410.7 MB 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.0004195/0.01366, allocations: 353.3 kB / 440.7 MB, free: 6.094 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0002728/0.01394, allocations: 221 kB / 441 MB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.01394, allocations: 0 / 441 MB, free: 5.871 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000135/0.01408, allocations: 137.5 kB / 441.1 MB, free: 5.734 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.01424, allocations: 43.92 kB / 441.1 MB, free: 5.691 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008331/0.01507, allocations: 0.5111 MB / 441.7 MB, free: 5.117 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.265e-05/0.01514, allocations: 101.7 kB / 441.8 MB, free: 4.992 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0001301/0.01527, allocations: 51.27 kB / 441.8 MB, free: 4.945 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.01541, allocations: 107.3 kB / 441.9 MB, free: 4.84 MB / 410.7 MB Notification: Performance of SimCode: time 6.52e-07/0.01541, allocations: 0 / 441.9 MB, free: 4.84 MB / 410.7 MB Notification: Performance of Templates: time 0.1744/0.1898, allocations: 6.417 MB / 448.3 MB, free: 29.93 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; mkfifo IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe >> ../files/IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.sim & ./IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.602331564296037]