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.001602/0.001602, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001788/0.001788, allocations: 209.3 kB / 22.24 MB, free: 5.262 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.488/1.488, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.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.00282/0.00282, allocations: 298.7 kB / 312.7 MB, free: 2.594 MB / 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.246/1.246, allocations: 180.6 MB / 0.5369 GB, free: 14.54 MB / 382.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: NcDataReader2 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: BuildingSystems 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.003087/0.003087, allocations: 109 kB / 0.74 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.171/0.1741, allocations: 95.38 MB / 0.8331 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002893/0.177, allocations: 1.616 MB / 0.8347 GB, free: 6.207 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001242/0.1783, allocations: 0.6349 MB / 0.8353 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.703e-05/0.1783, allocations: 4 kB / 0.8353 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.1785, allocations: 71.83 kB / 0.8354 GB, free: 5.492 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002753/0.1787, allocations: 99.67 kB / 0.8355 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003519/0.1791, allocations: 108.4 kB / 0.8356 GB, free: 5.289 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001977/0.1793, allocations: 135.7 kB / 0.8357 GB, free: 5.156 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 8.838e-05/0.1794, allocations: 4 kB / 0.8357 GB, free: 5.152 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002054/0.1796, allocations: 75.73 kB / 0.8358 GB, free: 5.078 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001953/0.1798, allocations: 115.7 kB / 0.8359 GB, free: 4.965 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.462e-05/0.1798, allocations: 4 kB / 0.8359 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001556/0.18, allocations: 79.92 kB / 0.836 GB, free: 4.883 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 6.746e-05/0.18, allocations: 31.91 kB / 0.836 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 7.306e-05/0.1801, allocations: 51.67 kB / 0.8361 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002738/0.1804, allocations: 183.2 kB / 0.8362 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.1804, allocations: 0 / 0.8362 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.794e-06/0.1804, allocations: 0 / 0.8362 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.829e-06/0.1804, allocations: 0 / 0.8362 GB, free: 4.621 MB / 0.5762 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.000779/0.1812, allocations: 411 kB / 0.8366 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/0.1812, allocations: 12.75 kB / 0.8366 GB, free: 4.172 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001765/0.1814, allocations: 20.84 kB / 0.8367 GB, free: 4.152 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.1817, allocations: 150.2 kB / 0.8368 GB, free: 3.98 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.1817, allocations: 16.31 kB / 0.8368 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2e-05/0.1817, allocations: 384 / 0.8368 GB, free: 3.965 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.182, allocations: 164.5 kB / 0.837 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.182, allocations: 0 / 0.837 GB, free: 3.789 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.615e-05/0.182, allocations: 4 kB / 0.837 GB, free: 3.785 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.578e-06/0.182, allocations: 4 kB / 0.837 GB, free: 3.781 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001616/0.1822, allocations: 97.61 kB / 0.8371 GB, free: 3.68 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004555/0.1826, allocations: 340.6 kB / 0.8374 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002173/0.1828, allocations: 142.8 kB / 0.8375 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000142/0.183, allocations: 103.5 kB / 0.8376 GB, free: 3.035 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.321e-05/0.183, allocations: 3.938 kB / 0.8376 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002951/0.1833, allocations: 208.5 kB / 0.8378 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1833, allocations: 0 / 0.8378 GB, free: 2.797 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0006379/0.1839, allocations: 406.6 kB / 0.8382 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/0.184, allocations: 106.8 kB / 0.8383 GB, free: 2.246 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002459/0.1843, allocations: 215.2 kB / 0.8385 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.785e-05/0.1843, allocations: 29.7 kB / 0.8386 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.847e-05/0.1844, allocations: 116.1 kB / 0.8387 GB, free: 1.867 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.868e-05/0.1844, allocations: 31.73 kB / 0.8387 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.08e-05/0.1845, allocations: 33.67 kB / 0.8387 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.1847, allocations: 330.8 kB / 0.8391 GB, free: 1.465 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.1848, allocations: 89.67 kB / 0.8391 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.185, allocations: 115.4 kB / 0.8393 GB, free: 1.246 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002523/0.1852, allocations: 197.3 kB / 0.8394 GB, free: 1.035 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.302e-06/0.1852, allocations: 8 kB / 0.8394 GB, free: 1.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004355/0.1856, allocations: 300.9 kB / 0.8397 GB, free: 0.7148 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.746e-05/0.1857, allocations: 37.7 kB / 0.8398 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.1857, allocations: 0 / 0.8398 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.688e-05/0.1857, allocations: 0 / 0.8398 GB, free: 0.6719 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001097/0.1858, allocations: 19.92 kB / 0.8398 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.792e-06/0.1858, allocations: 8.031 kB / 0.8398 GB, free: 0.6445 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001188/0.186, allocations: 19.86 kB / 0.8398 GB, free: 0.625 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.989e-05/0.186, allocations: 8 kB / 0.8398 GB, free: 0.6172 MB / 0.5762 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.0001837/0.1862, allocations: 176.9 kB / 0.84 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.511e-05/0.1862, allocations: 23.86 kB / 0.84 GB, free: 416 kB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002299/0.1864, allocations: 103.1 kB / 0.8401 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.1864, allocations: 0 / 0.8401 GB, free: 304 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.1864, allocations: 4 kB / 0.8401 GB, free: 300 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.1864, allocations: 4 kB / 0.8401 GB, free: 296 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001735/0.1866, allocations: 165.2 kB / 0.8403 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1866, allocations: 0 / 0.8403 GB, free: 100 kB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.456e-05/0.1867, allocations: 8 kB / 0.8403 GB, free: 92 kB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.037e-06/0.1867, allocations: 3.984 kB / 0.8403 GB, free: 88 kB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.1867, allocations: 4 kB / 0.8403 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.1867, allocations: 0 / 0.8403 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.173e-06/0.1867, allocations: 0 / 0.8403 GB, free: 84 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005028/0.1872, allocations: 381.3 kB / 0.8407 GB, free: 15.68 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 8.085e-05/0.1873, allocations: 43.77 kB / 0.8407 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.1873, allocations: 0 / 0.8407 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.56e-05/0.1874, allocations: 12 kB / 0.8407 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.1875, allocations: 11.98 kB / 0.8407 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.26e-05/0.1875, allocations: 8.109 kB / 0.8407 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001494/0.1876, allocations: 164.2 kB / 0.8409 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1876, allocations: 0 / 0.8409 GB, free: 15.44 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002548/0.1879, allocations: 44 kB / 0.8409 GB, free: 15.4 MB / 0.5919 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.0001914/0.1881, allocations: 129 kB / 0.8411 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003827/0.1885, allocations: 278.7 kB / 0.8413 GB, free: 14.97 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1885, allocations: 4 kB / 0.8413 GB, free: 14.96 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.1887, allocations: 173 kB / 0.8415 GB, free: 14.78 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002175/0.1889, allocations: 26.06 kB / 0.8415 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000676/0.1896, allocations: 378 kB / 0.8419 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001334/0.1897, allocations: 110.1 kB / 0.842 GB, free: 14.22 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.147e-05/0.1897, allocations: 12.17 kB / 0.842 GB, free: 14.21 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.137e-05/0.1898, allocations: 11.44 kB / 0.842 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of SimCode: time 3e-07/0.1898, allocations: 0 / 0.842 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of Templates: time 0.005153/0.1949, allocations: 1.827 MB / 0.8438 GB, free: 12.43 MB / 0.5919 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: 6.212623128667474] Failed to read output from testmodel.py, exit status != 0: 0.20234758593142033 0.217370169 0.033935331 Calling exit ...