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.001321/0.001321, allocations: 77.78 kB / 19.76 MB, free: 2.031 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.001371/0.001371, allocations: 162.4 kB / 23.01 MB, free: 4.945 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.401/1.401, allocations: 177.2 MB / 203.4 MB, free: 8.949 MB / 190.1 MB " [Timeout remaining time 179] 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.002458/0.002458, allocations: 241.9 kB / 260 MB, free: 424 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 0.9335/0.9335, allocations: 138.5 MB / 455 MB, free: 15.06 MB / 430.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.003097/0.003097, allocations: 103.8 kB / 0.6473 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3867/0.3898, allocations: 95.35 MB / 0.7404 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002353/0.3921, allocations: 1.611 MB / 0.742 GB, free: 16.36 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0009417/0.3931, allocations: 0.6379 MB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.3931, allocations: 1.125 kB / 0.7426 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.3933, allocations: 69.94 kB / 0.7427 GB, free: 15.94 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002428/0.3935, allocations: 108.1 kB / 0.7428 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003121/0.3938, allocations: 108.2 kB / 0.7429 GB, free: 15.86 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0002047/0.394, allocations: 124.8 kB / 0.743 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 8.046e-05/0.3941, allocations: 4.75 kB / 0.743 GB, free: 15.82 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001936/0.3943, allocations: 81.16 kB / 0.7431 GB, free: 15.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001678/0.3945, allocations: 113.5 kB / 0.7432 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.3945, allocations: 5.781 kB / 0.7432 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001417/0.3947, allocations: 86.48 kB / 0.7433 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 5.569e-05/0.3947, allocations: 30.34 kB / 0.7433 GB, free: 15.73 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 6.042e-05/0.3948, allocations: 44.62 kB / 0.7434 GB, free: 15.71 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002349/0.395, allocations: 181.4 kB / 0.7436 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.395, allocations: 0 / 0.7436 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.322e-06/0.395, allocations: 0 / 0.7436 GB, free: 15.64 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.009e-05/0.395, allocations: 0 / 0.7436 GB, free: 15.64 MB / 0.5919 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.0005452/0.3956, allocations: 415.8 kB / 0.744 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3e-05/0.3956, allocations: 10.78 kB / 0.744 GB, free: 15.27 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001593/0.3958, allocations: 21.88 kB / 0.744 GB, free: 15.26 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.3959, allocations: 155.5 kB / 0.7441 GB, free: 15.11 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3959, allocations: 7.125 kB / 0.7441 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.722e-05/0.396, allocations: 7.062 kB / 0.7441 GB, free: 15.1 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.3962, allocations: 162.1 kB / 0.7443 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.3962, allocations: 0.6562 kB / 0.7443 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.421e-05/0.3962, allocations: 5.375 kB / 0.7443 GB, free: 14.99 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.3962, allocations: 5.375 kB / 0.7443 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001286/0.3963, allocations: 99.05 kB / 0.7444 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.3966, allocations: 344.3 kB / 0.7447 GB, free: 14.62 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000159/0.3968, allocations: 136.9 kB / 0.7449 GB, free: 14.52 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001005/0.3969, allocations: 105.4 kB / 0.745 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 1.715e-05/0.3969, allocations: 5.828 kB / 0.745 GB, free: 14.45 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000218/0.3971, allocations: 204.6 kB / 0.7452 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=13): time 1.132e-06/0.3971, allocations: 1 kB / 0.7452 GB, free: 14.3 MB / 0.5919 GB Notification: Performance of matching and sorting (n=13): time 0.000508/0.3976, allocations: 410.7 kB / 0.7456 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.259e-05/0.3977, allocations: 109 kB / 0.7457 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001836/0.3978, allocations: 214.3 kB / 0.7459 GB, free: 13.82 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 1.405e-05/0.3979, allocations: 27.67 kB / 0.7459 GB, free: 13.79 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.3979, allocations: 115.8 kB / 0.746 GB, free: 13.69 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.141e-05/0.3979, allocations: 31.84 kB / 0.746 GB, free: 13.66 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.922e-05/0.398, allocations: 31.98 kB / 0.7461 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 4.842e-05/0.398, allocations: 329.5 kB / 0.7464 GB, free: 13.32 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.879e-05/0.3981, allocations: 90.91 kB / 0.7465 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.822e-05/0.3982, allocations: 114.6 kB / 0.7466 GB, free: 13.2 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001694/0.3984, allocations: 203.1 kB / 0.7468 GB, free: 13.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3984, allocations: 4 kB / 0.7468 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003141/0.3987, allocations: 309.9 kB / 0.7471 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.834e-05/0.3987, allocations: 36.48 kB / 0.7471 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.978e-06/0.3987, allocations: 1.312 kB / 0.7471 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.3988, allocations: 5.188 kB / 0.7471 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.491e-05/0.3989, allocations: 16.47 kB / 0.7471 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.3989, allocations: 2.312 kB / 0.7471 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.94e-05/0.399, allocations: 10.59 kB / 0.7471 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.399, allocations: 9.094 kB / 0.7471 GB, free: 12.87 MB / 0.5919 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.000106/0.3991, allocations: 181.4 kB / 0.7473 GB, free: 12.71 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.044e-05/0.3991, allocations: 22.67 kB / 0.7473 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001839/0.3993, allocations: 94.28 kB / 0.7474 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.3993, allocations: 6.781 kB / 0.7474 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.407e-06/0.3993, allocations: 0 / 0.7474 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.3993, allocations: 2.156 kB / 0.7474 GB, free: 12.64 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001233/0.3994, allocations: 169.7 kB / 0.7476 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.3994, allocations: 0 / 0.7476 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.63e-05/0.3995, allocations: 10.06 kB / 0.7476 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.3995, allocations: 2.234 kB / 0.7476 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.3995, allocations: 8 kB / 0.7476 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.415e-06/0.3995, allocations: 1.156 kB / 0.7476 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.3995, allocations: 0 / 0.7476 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003868/0.3999, allocations: 373.4 kB / 0.748 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 6.408e-05/0.4, allocations: 31.22 kB / 0.748 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.184e-05/0.4, allocations: 8.516 kB / 0.748 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.863e-05/0.4001, allocations: 7.047 kB / 0.748 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.648e-05/0.4001, allocations: 11.95 kB / 0.748 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.4002, allocations: 6.484 kB / 0.748 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.000122/0.4003, allocations: 163.8 kB / 0.7482 GB, free: 12.15 MB / 0.5919 GB Notification: Performance of sort global known variables: time 7e-08/0.4003, allocations: 5.156 kB / 0.7482 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002596/0.4005, allocations: 47.47 kB / 0.7482 GB, free: 12.14 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.0001327/0.4007, allocations: 129.8 kB / 0.7484 GB, free: 12.04 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003049/0.401, allocations: 282.8 kB / 0.7486 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.401, allocations: 3.938 kB / 0.7486 GB, free: 11.86 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001404/0.4011, allocations: 172.6 kB / 0.7488 GB, free: 11.74 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002031/0.4013, allocations: 20.59 kB / 0.7488 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005108/0.4018, allocations: 384 kB / 0.7492 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.773e-05/0.4019, allocations: 111.7 kB / 0.7493 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.402, allocations: 5.125 kB / 0.7493 GB, free: 11.4 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.782e-05/0.402, allocations: 18 kB / 0.7493 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of SimCode: time 3.61e-07/0.402, allocations: 0 / 0.7493 GB, free: 11.39 MB / 0.5919 GB Notification: Performance of Templates: time 0.004738/0.4067, allocations: 1.702 MB / 0.751 GB, free: 11.2 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.701562273083255] Failed to read output from testmodel.py, exit status != 0: 0.4140363240148872 0.42466094099999996 0.02725527 Calling exit ...