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.00146/0.00146, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001904/0.001904, allocations: 214.8 kB / 22.99 MB, free: 4.977 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.562/1.562, allocations: 230.6 MB / 256.8 MB, free: 7.812 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 1.069/1.069, allocations: 149.9 MB / 463 MB, free: 10.31 MB / 366.1 MB " [Timeout remaining time 178] 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.002022/0.002022, allocations: 66.16 kB / 0.6415 GB, free: 9.641 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2123/0.2143, allocations: 89.17 MB / 0.7286 GB, free: 0.5352 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Controls.OBC.CDL.Utilities.Validation.SunRiseSetPositiveStartTime): time 0.002334/0.2166, allocations: 0.838 MB / 0.7294 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.003428/0.2201, allocations: 2.405 MB / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.053e-05/0.2201, allocations: 0 / 0.7318 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 4.688e-05/0.2202, allocations: 15.81 kB / 0.7318 GB, free: 13.26 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002289/0.2204, allocations: 55.5 kB / 0.7318 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001174/0.2216, allocations: 0.4944 MB / 0.7323 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003559/0.2219, allocations: 323.1 kB / 0.7326 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.222, allocations: 5.812 kB / 0.7326 GB, free: 12.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003052/0.2223, allocations: 155.6 kB / 0.7328 GB, free: 12.23 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000227/0.2225, allocations: 139.5 kB / 0.7329 GB, free: 12.1 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.004e-05/0.2226, allocations: 24 kB / 0.7329 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006508/0.2232, allocations: 383.7 kB / 0.7333 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.097e-05/0.2233, allocations: 63.86 kB / 0.7334 GB, free: 11.64 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001196/0.2234, allocations: 107.6 kB / 0.7335 GB, free: 11.53 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0007738/0.2242, allocations: 0.5645 MB / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2242, allocations: 0 / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2242, allocations: 0 / 0.734 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.362e-06/0.2242, allocations: 0 / 0.734 GB, free: 10.96 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.001355/0.2256, allocations: 0.6115 MB / 0.7346 GB, free: 10.32 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.2256, allocations: 8.031 kB / 0.7346 GB, free: 10.31 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001005/0.2266, allocations: 96.72 kB / 0.7347 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.2268, allocations: 143.9 kB / 0.7349 GB, free: 10.05 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002534/0.227, allocations: 230.2 kB / 0.7351 GB, free: 9.777 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.712e-05/0.2271, allocations: 20.38 kB / 0.7351 GB, free: 9.758 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004366/0.2275, allocations: 251.9 kB / 0.7353 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.393e-05/0.2275, allocations: 0 / 0.7353 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.2275, allocations: 4 kB / 0.7353 GB, free: 9.465 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.288e-06/0.2275, allocations: 7.938 kB / 0.7353 GB, free: 9.457 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002499/0.2278, allocations: 111.8 kB / 0.7355 GB, free: 9.348 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000458/0.2283, allocations: 291 kB / 0.7357 GB, free: 9 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001486/0.2297, allocations: 475.3 kB / 0.7362 GB, free: 8.426 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002549/0.23, allocations: 150.2 kB / 0.7363 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.271e-05/0.23, allocations: 16 kB / 0.7363 GB, free: 8.227 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005789/0.2306, allocations: 319.5 kB / 0.7366 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=40): time 1.944e-06/0.2306, allocations: 0 / 0.7366 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of matching and sorting (n=40): time 0.0009098/0.2315, allocations: 414.7 kB / 0.737 GB, free: 7.453 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002539/0.2318, allocations: 354.1 kB / 0.7374 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002156/0.232, allocations: 167.2 kB / 0.7375 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.2321, allocations: 50.14 kB / 0.7376 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 9.732e-05/0.2321, allocations: 97.12 kB / 0.7377 GB, free: 6.695 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.2323, allocations: 115.1 kB / 0.7378 GB, free: 6.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001579/0.2324, allocations: 98.16 kB / 0.7379 GB, free: 6.477 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001767/0.2326, allocations: 330.8 kB / 0.7382 GB, free: 6.145 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.2329, allocations: 116.9 kB / 0.7383 GB, free: 6.031 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003153/0.2332, allocations: 168.3 kB / 0.7385 GB, free: 5.859 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005562/0.2338, allocations: 266.4 kB / 0.7387 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.354e-06/0.2338, allocations: 0 / 0.7387 GB, free: 5.59 MB / 0.5606 GB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0007867/0.2346, allocations: 384.8 kB / 0.7391 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.075e-05/0.2346, allocations: 9.812 kB / 0.7391 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.2346, allocations: 0 / 0.7391 GB, free: 5.203 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.999e-05/0.2346, allocations: 4 kB / 0.7391 GB, free: 5.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000389/0.235, allocations: 79.81 kB / 0.7392 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.235, allocations: 0 / 0.7392 GB, free: 5.121 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002797/0.2353, allocations: 51.75 kB / 0.7392 GB, free: 5.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.034e-05/0.2353, allocations: 23.92 kB / 0.7393 GB, free: 5.047 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.0002064/0.2355, allocations: 161.7 kB / 0.7394 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.824e-05/0.2356, allocations: 27.8 kB / 0.7394 GB, free: 4.852 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007253/0.2363, allocations: 362.1 kB / 0.7398 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.171e-05/0.2363, allocations: 8 kB / 0.7398 GB, free: 4.484 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.041e-05/0.2363, allocations: 4 kB / 0.7398 GB, free: 4.48 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.101e-05/0.2363, allocations: 7.984 kB / 0.7398 GB, free: 4.473 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003951/0.2367, allocations: 245.3 kB / 0.74 GB, free: 4.203 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.842e-06/0.2367, allocations: 4 kB / 0.74 GB, free: 4.199 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002919/0.237, allocations: 75.84 kB / 0.7401 GB, free: 4.125 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.027e-06/0.237, allocations: 8 kB / 0.7401 GB, free: 4.117 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.343e-05/0.2371, allocations: 23.92 kB / 0.7401 GB, free: 4.094 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.592e-06/0.2371, allocations: 4 kB / 0.7401 GB, free: 4.09 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.925e-06/0.2371, allocations: 11.94 kB / 0.7402 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008365/0.2379, allocations: 0.4886 MB / 0.7406 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001787/0.2381, allocations: 67.67 kB / 0.7407 GB, free: 3.465 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.798e-05/0.2382, allocations: 23.89 kB / 0.7407 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002324/0.2384, allocations: 31.97 kB / 0.7408 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001161/0.2385, allocations: 47.92 kB / 0.7408 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.447e-05/0.2386, allocations: 23.98 kB / 0.7408 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.000114/0.2387, allocations: 119.2 kB / 0.7409 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2387, allocations: 0 / 0.7409 GB, free: 3.223 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0006786/0.2394, allocations: 239.1 kB / 0.7412 GB, free: 2.988 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.0006508/0.24, allocations: 344 kB / 0.7415 GB, free: 2.641 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007141/0.2407, allocations: 317.9 kB / 0.7418 GB, free: 2.336 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 6.051e-06/0.2407, allocations: 4 kB / 0.7418 GB, free: 2.332 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003113/0.241, allocations: 164.8 kB / 0.742 GB, free: 2.172 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002954/0.2413, allocations: 32 kB / 0.742 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.2424, allocations: 0.5692 MB / 0.7425 GB, free: 1.512 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001465/0.2425, allocations: 147.6 kB / 0.7427 GB, free: 1.348 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.0001936/0.2427, allocations: 54.58 kB / 0.7427 GB, free: 1.301 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001266/0.2429, allocations: 47.41 kB / 0.7428 GB, free: 1.254 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.2429, allocations: 3.938 kB / 0.7428 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of Templates: time 0.01214/0.255, allocations: 5.963 MB / 0.7486 GB, free: 11.36 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: 6.883257281035185] Failed to read output from testmodel.py, exit status != 0: 0.2652276437729597 0.703260285 0.475630092 Calling exit ...