Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.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.001886/0.001886, allocations: 78.72 kB / 19.18 MB, free: 2.523 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.00222/0.00222, allocations: 166.9 kB / 22.46 MB, free: 5.371 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.433/1.433, allocations: 177.2 MB / 202.8 MB, free: 9.172 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002516/0.002516, allocations: 251.9 kB / 259.4 MB, free: 468 kB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.071/1.071, allocations: 138.4 MB / 454.3 MB, free: 2 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.292e-06/1.292e-06, allocations: 0 / 0.6468 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.972e-05/2.101e-05, allocations: 6.281 kB / 0.6468 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00276/0.002781, allocations: 1.618 MB / 0.6484 GB, free: 3.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.003983, allocations: 0.6386 MB / 0.649 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.205e-05/0.004035, allocations: 0 / 0.649 GB, free: 2.766 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0001683/0.004203, allocations: 79.81 kB / 0.6491 GB, free: 2.688 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002703/0.004474, allocations: 107.6 kB / 0.6492 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003633/0.004837, allocations: 107.6 kB / 0.6493 GB, free: 2.477 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.005029, allocations: 131.7 kB / 0.6494 GB, free: 2.348 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 7.089e-05/0.0051, allocations: 3.984 kB / 0.6494 GB, free: 2.344 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002339/0.005334, allocations: 95.78 kB / 0.6495 GB, free: 2.25 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001804/0.005514, allocations: 111.8 kB / 0.6496 GB, free: 2.141 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.513e-05/0.005539, allocations: 7.938 kB / 0.6496 GB, free: 2.133 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001597/0.005699, allocations: 79.92 kB / 0.6497 GB, free: 2.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.075e-05/0.00576, allocations: 35.84 kB / 0.6497 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.451e-05/0.005824, allocations: 31.92 kB / 0.6497 GB, free: 1.988 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002863/0.006111, allocations: 191.4 kB / 0.6499 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.006113, allocations: 0 / 0.6499 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.61e-07/0.006113, allocations: 0 / 0.6499 GB, free: 1.801 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.006121, allocations: 0 / 0.6499 GB, free: 1.801 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007066/0.006828, allocations: 415 kB / 0.6503 GB, free: 1.359 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.006866, allocations: 8.75 kB / 0.6503 GB, free: 1.352 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001671/0.007034, allocations: 28.77 kB / 0.6504 GB, free: 1.324 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002348/0.007268, allocations: 150.1 kB / 0.6505 GB, free: 1.152 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.077e-05/0.007289, allocations: 12.36 kB / 0.6505 GB, free: 1.141 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.939e-05/0.007309, allocations: 4.375 kB / 0.6505 GB, free: 1.137 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000251/0.00756, allocations: 153.6 kB / 0.6507 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.007567, allocations: 192 / 0.6507 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.00758, allocations: 384 / 0.6507 GB, free: 0.9688 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.302e-06/0.007586, allocations: 3.938 kB / 0.6507 GB, free: 0.9648 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001661/0.007753, allocations: 113.6 kB / 0.6508 GB, free: 0.8477 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004089/0.008162, allocations: 332.7 kB / 0.6511 GB, free: 500 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002097/0.008371, allocations: 134.8 kB / 0.6512 GB, free: 340 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001349/0.008506, allocations: 99.48 kB / 0.6513 GB, free: 228 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.008525, allocations: 4 kB / 0.6513 GB, free: 224 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.2406/0.2492, allocations: 211.2 kB / 0.6515 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=13): time 2.325e-06/0.2492, allocations: 0 / 0.6515 GB, free: 56.93 MB / 0.5606 GB Notification: Performance of matching and sorting (n=13): time 0.0005759/0.2497, allocations: 400.2 kB / 0.6519 GB, free: 56.8 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.48e-05/0.2498, allocations: 110.8 kB / 0.652 GB, free: 56.68 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001632/0.2499, allocations: 215.2 kB / 0.6522 GB, free: 56.57 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.2499, allocations: 32.22 kB / 0.6522 GB, free: 56.54 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.499e-05/0.25, allocations: 112.5 kB / 0.6524 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.488e-05/0.25, allocations: 34.02 kB / 0.6524 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.419e-05/0.2501, allocations: 32.98 kB / 0.6524 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.737e-05/0.2501, allocations: 334.1 kB / 0.6527 GB, free: 56.13 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.934e-05/0.2502, allocations: 88.06 kB / 0.6528 GB, free: 56.1 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001035/0.2503, allocations: 112.2 kB / 0.6529 GB, free: 56.05 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.2505, allocations: 199.6 kB / 0.6531 GB, free: 55.98 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.2505, allocations: 0 / 0.6531 GB, free: 55.98 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002763/0.2508, allocations: 315.5 kB / 0.6534 GB, free: 55.88 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.2508, allocations: 40.8 kB / 0.6535 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.24e-06/0.2508, allocations: 7.078 kB / 0.6535 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.2508, allocations: 0.8438 kB / 0.6535 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.879e-05/0.2509, allocations: 12.06 kB / 0.6535 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2509, allocations: 0 / 0.6535 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001044/0.251, allocations: 17.83 kB / 0.6535 GB, free: 55.84 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.584e-05/0.251, allocations: 3.656 kB / 0.6535 GB, free: 55.84 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * 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.0001004/0.2511, allocations: 176.2 kB / 0.6537 GB, free: 55.7 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.861e-05/0.2512, allocations: 26.41 kB / 0.6537 GB, free: 55.69 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000189/0.2514, allocations: 101.8 kB / 0.6538 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.826e-06/0.2514, allocations: 0.5 kB / 0.6538 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.2514, allocations: 6.234 kB / 0.6538 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.387e-06/0.2514, allocations: 0 / 0.6538 GB, free: 55.66 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001122/0.2515, allocations: 164.4 kB / 0.6539 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.2515, allocations: 1.172 kB / 0.6539 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.2515, allocations: 14.47 kB / 0.654 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.2515, allocations: 3.656 kB / 0.654 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.514e-05/0.2515, allocations: 7.562 kB / 0.654 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2515, allocations: 4.312 kB / 0.654 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/0.2516, allocations: 3.75 kB / 0.654 GB, free: 55.53 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003302/0.2519, allocations: 368.8 kB / 0.6543 GB, free: 55.37 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.39e-05/0.2519, allocations: 35.61 kB / 0.6544 GB, free: 55.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.389e-05/0.252, allocations: 3.531 kB / 0.6544 GB, free: 55.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.2521, allocations: 8.219 kB / 0.6544 GB, free: 55.35 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.95e-05/0.2521, allocations: 10.22 kB / 0.6544 GB, free: 55.35 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.998e-05/0.2521, allocations: 10.12 kB / 0.6544 GB, free: 55.35 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 8.976e-05/0.2522, allocations: 156.8 kB / 0.6545 GB, free: 55.26 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.2522, allocations: 3.5 kB / 0.6546 GB, free: 55.26 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002508/0.2525, allocations: 52.86 kB / 0.6546 GB, free: 55.25 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * 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.0001637/0.2526, allocations: 131.2 kB / 0.6547 GB, free: 55.16 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002722/0.2529, allocations: 283.5 kB / 0.655 GB, free: 54.99 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.2529, allocations: 0 / 0.655 GB, free: 54.99 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001256/0.253, allocations: 167.2 kB / 0.6552 GB, free: 54.88 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002057/0.2533, allocations: 17.73 kB / 0.6552 GB, free: 54.87 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004676/0.2537, allocations: 373.1 kB / 0.6555 GB, free: 54.64 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.672e-05/0.2538, allocations: 110.3 kB / 0.6556 GB, free: 54.56 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.519e-05/0.2538, allocations: 7.531 kB / 0.6556 GB, free: 54.56 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.2539, allocations: 15.03 kB / 0.6557 GB, free: 54.56 MB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2539, allocations: 3.125 kB / 0.6557 GB, free: 54.56 MB / 0.5606 GB Notification: Performance of Templates: time 0.004346/0.2582, allocations: 1.692 MB / 0.6573 GB, free: 54.47 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.72165348008275] Failed to read output from testmodel.py, exit status != 0: 0.2655506357550621 0.282113143 0.272174382 Calling exit ...