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.001467/0.001467, allocations: 102.3 kB / 19.7 MB, free: 2.254 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.001821/0.001821, allocations: 217.9 kB / 23.01 MB, free: 4.609 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.525/1.525, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.002594/0.002594, allocations: 286.4 kB / 313.5 MB, free: 2.84 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.34/1.34, allocations: 180.6 MB / 0.5377 GB, free: 13.09 MB / 382.1 MB " [Timeout remaining time 178] 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.002959/0.002959, allocations: 101 kB / 0.7408 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2293/0.2323, allocations: 95.39 MB / 0.8339 GB, free: 8.211 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003474/0.2357, allocations: 1.632 MB / 0.8355 GB, free: 6.566 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001389/0.2371, allocations: 0.7011 MB / 0.8362 GB, free: 5.859 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.757e-05/0.2372, allocations: 4 kB / 0.8362 GB, free: 5.855 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 0.0001863/0.2374, allocations: 71.81 kB / 0.8363 GB, free: 5.785 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0003237/0.2377, allocations: 104.9 kB / 0.8364 GB, free: 5.684 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.000389/0.2381, allocations: 103.7 kB / 0.8365 GB, free: 5.582 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001969/0.2383, allocations: 127.7 kB / 0.8366 GB, free: 5.457 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 9.985e-05/0.2384, allocations: 8 kB / 0.8366 GB, free: 5.449 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002228/0.2386, allocations: 79.8 kB / 0.8367 GB, free: 5.371 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002047/0.2388, allocations: 115.7 kB / 0.8368 GB, free: 5.258 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 2.537e-05/0.2388, allocations: 8 kB / 0.8368 GB, free: 5.25 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001707/0.239, allocations: 87.94 kB / 0.8369 GB, free: 5.164 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 6.853e-05/0.2391, allocations: 35.84 kB / 0.8369 GB, free: 5.129 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 8.532e-05/0.2392, allocations: 59.59 kB / 0.837 GB, free: 5.07 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0003086/0.2395, allocations: 175.2 kB / 0.8372 GB, free: 4.898 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2395, allocations: 0 / 0.8372 GB, free: 4.898 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2395, allocations: 3.938 kB / 0.8372 GB, free: 4.895 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 5.63e-06/0.2395, allocations: 0 / 0.8372 GB, free: 4.895 MB / 0.5763 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.0008279/0.2403, allocations: 415 kB / 0.8376 GB, free: 4.453 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.2403, allocations: 12.75 kB / 0.8376 GB, free: 4.441 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001953/0.2405, allocations: 20.84 kB / 0.8376 GB, free: 4.422 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.2408, allocations: 162.2 kB / 0.8377 GB, free: 4.238 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.2409, allocations: 4.375 kB / 0.8378 GB, free: 4.234 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.59e-05/0.2409, allocations: 4.375 kB / 0.8378 GB, free: 4.23 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002369/0.2411, allocations: 133 kB / 0.8379 GB, free: 4.09 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.2411, allocations: 4 kB / 0.8379 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.2411, allocations: 0 / 0.8379 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.2411, allocations: 0 / 0.8379 GB, free: 4.086 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001595/0.2413, allocations: 67.97 kB / 0.838 GB, free: 4.02 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005078/0.2418, allocations: 384 kB / 0.8383 GB, free: 3.598 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001948/0.242, allocations: 101.2 kB / 0.8384 GB, free: 3.48 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001134/0.2421, allocations: 73.72 kB / 0.8385 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 2.424e-05/0.2421, allocations: 0 / 0.8385 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002806/0.2424, allocations: 178.8 kB / 0.8387 GB, free: 3.203 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.2424, allocations: 4 kB / 0.8387 GB, free: 3.199 MB / 0.5763 GB Notification: Performance of matching and sorting (n=13): time 0.0005995/0.243, allocations: 343.3 kB / 0.839 GB, free: 2.852 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.41e-05/0.2431, allocations: 106.8 kB / 0.8391 GB, free: 2.723 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002405/0.2434, allocations: 215.2 kB / 0.8393 GB, free: 2.496 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 2.999e-05/0.2434, allocations: 29.7 kB / 0.8393 GB, free: 2.461 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 8.811e-05/0.2435, allocations: 112.1 kB / 0.8394 GB, free: 2.348 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 4.374e-05/0.2435, allocations: 35.73 kB / 0.8395 GB, free: 2.312 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.704e-05/0.2436, allocations: 25.67 kB / 0.8395 GB, free: 2.281 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.2438, allocations: 342.8 kB / 0.8398 GB, free: 1.938 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.683e-05/0.2439, allocations: 63.92 kB / 0.8399 GB, free: 1.875 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001029/0.244, allocations: 80.2 kB / 0.84 GB, free: 1.793 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002342/0.2442, allocations: 193.1 kB / 0.8401 GB, free: 1.586 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.2442, allocations: 0 / 0.8401 GB, free: 1.586 MB / 0.5763 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003598/0.2446, allocations: 271.2 kB / 0.8404 GB, free: 1.309 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.342e-05/0.2446, allocations: 33.7 kB / 0.8404 GB, free: 1.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.2446, allocations: 7.922 kB / 0.8404 GB, free: 1.262 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.2446, allocations: 4 kB / 0.8404 GB, free: 1.258 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001099/0.2447, allocations: 15.94 kB / 0.8405 GB, free: 1.242 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.2448, allocations: 0 / 0.8405 GB, free: 1.242 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001013/0.2449, allocations: 15.92 kB / 0.8405 GB, free: 1.227 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.72e-05/0.2449, allocations: 4 kB / 0.8405 GB, free: 1.223 MB / 0.5763 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.0001998/0.2451, allocations: 180.9 kB / 0.8406 GB, free: 1.031 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.426e-05/0.2451, allocations: 19.86 kB / 0.8407 GB, free: 1.012 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002234/0.2453, allocations: 103 kB / 0.8408 GB, free: 0.9023 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.2453, allocations: 4 kB / 0.8408 GB, free: 0.8984 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.08e-06/0.2453, allocations: 0 / 0.8408 GB, free: 0.8984 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.2453, allocations: 0 / 0.8408 GB, free: 0.8984 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002328/0.2456, allocations: 205 kB / 0.841 GB, free: 0.6562 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.2456, allocations: 0 / 0.841 GB, free: 0.6562 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.939e-05/0.2456, allocations: 15.98 kB / 0.841 GB, free: 0.6406 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2456, allocations: 0 / 0.841 GB, free: 0.6406 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.062e-05/0.2457, allocations: 8 kB / 0.841 GB, free: 0.6328 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.2457, allocations: 0 / 0.841 GB, free: 0.6328 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.2457, allocations: 0 / 0.841 GB, free: 0.6328 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005007/0.2462, allocations: 351.3 kB / 0.8413 GB, free: 268 kB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 8.142e-05/0.2462, allocations: 39.78 kB / 0.8414 GB, free: 228 kB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.2463, allocations: 7.984 kB / 0.8414 GB, free: 220 kB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.086e-05/0.2464, allocations: 4 kB / 0.8414 GB, free: 216 kB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.291e-05/0.2464, allocations: 11.98 kB / 0.8414 GB, free: 204 kB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.2465, allocations: 4 kB / 0.8414 GB, free: 200 kB / 0.5763 GB Notification: Performance of sorting global known variables: time 0.0001687/0.2466, allocations: 168.2 kB / 0.8415 GB, free: 32 kB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.2466, allocations: 0 / 0.8415 GB, free: 32 kB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002946/0.2469, allocations: 48.06 kB / 0.8416 GB, free: 15.98 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.0002451/0.2472, allocations: 127 kB / 0.8417 GB, free: 15.85 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003836/0.2475, allocations: 219.2 kB / 0.8419 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/0.2476, allocations: 4.094 kB / 0.8419 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001767/0.2477, allocations: 135.2 kB / 0.8421 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002345/0.248, allocations: 26.11 kB / 0.8421 GB, free: 15.45 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007666/0.2487, allocations: 378 kB / 0.8424 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004539/0.2492, allocations: 0.7197 MB / 0.8431 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.802e-05/0.2492, allocations: 19.42 kB / 0.8432 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.2492, allocations: 0 / 0.8432 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of Templates: time 0.005092/0.2543, allocations: 1.863 MB / 0.845 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: 8.967228240100667] Failed to read output from testmodel.py, exit status != 0: 0.2633125470019877 0.280485741 0.037679023 Calling exit ...