Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001711/0.001711, allocations: 191.9 kB / 16.13 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.359/1.359, allocations: 205.1 MB / 222 MB, free: 4.785 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3835/0.3835, allocations: 54.94 MB / 324.3 MB, free: 184 kB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001292/0.001292, allocations: 63.91 kB / 394.7 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1223/0.1236, allocations: 59.59 MB / 454.3 MB, free: 0.5781 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.2351/0.3588, allocations: 1.538 MB / 455.8 MB, free: 38.97 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009029/0.3597, allocations: 0.6374 MB / 456.5 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.624e-05/0.3598, allocations: 0 / 456.5 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001518/0.36, allocations: 76.7 kB / 456.5 MB, free: 38.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001514/0.3601, allocations: 80.09 kB / 456.6 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002452/0.3604, allocations: 71.59 kB / 456.7 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.207e-05/0.3605, allocations: 92.09 kB / 456.8 MB, free: 38.73 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.425e-05/0.3606, allocations: 12.89 kB / 456.8 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001071/0.3607, allocations: 45.08 kB / 456.8 MB, free: 38.72 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.3608, allocations: 89.77 kB / 456.9 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.834e-05/0.3608, allocations: 7.359 kB / 456.9 MB, free: 38.71 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000112/0.361, allocations: 79.3 kB / 457 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.154e-05/0.361, allocations: 23.52 kB / 457 MB, free: 38.7 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.817e-05/0.3611, allocations: 42.22 kB / 457.1 MB, free: 38.68 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001551/0.3612, allocations: 132.6 kB / 457.2 MB, free: 38.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3612, allocations: 0 / 457.2 MB, free: 38.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3613, allocations: 3.656 kB / 457.2 MB, free: 38.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.97e-06/0.3613, allocations: 0 / 457.2 MB, free: 38.65 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0004517/0.3617, allocations: 450.2 kB / 457.6 MB, free: 38.22 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3618, allocations: 13.38 kB / 457.6 MB, free: 38.22 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.317e-05/0.3618, allocations: 11.59 kB / 457.7 MB, free: 38.21 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001508/0.362, allocations: 210.1 kB / 457.9 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-06/0.362, allocations: 3.125 kB / 457.9 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.808e-05/0.362, allocations: 8.469 kB / 457.9 MB, free: 38 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3622, allocations: 111 kB / 458 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.3622, allocations: 2.812 kB / 458 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.207e-05/0.3622, allocations: 0 / 458 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.3622, allocations: 4.406 kB / 458 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.566e-05/0.3623, allocations: 59.66 kB / 458 MB, free: 37.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003175/0.3626, allocations: 305.1 kB / 458.3 MB, free: 37.67 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000102/0.3628, allocations: 97.64 kB / 458.4 MB, free: 37.62 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.279e-05/0.3628, allocations: 72.86 kB / 458.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3629, allocations: 0 / 458.5 MB, free: 37.61 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.3631, allocations: 155.5 kB / 458.7 MB, free: 37.51 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.3631, allocations: 0.625 kB / 458.7 MB, free: 37.51 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003951/0.3635, allocations: 288.8 kB / 458.9 MB, free: 37.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.125e-05/0.3636, allocations: 118.3 kB / 459.1 MB, free: 37.32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001294/0.3637, allocations: 202.1 kB / 459.3 MB, free: 37.21 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3637, allocations: 28.36 kB / 459.3 MB, free: 37.18 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.733e-05/0.3638, allocations: 108.1 kB / 459.4 MB, free: 37.1 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.827e-05/0.3638, allocations: 32.11 kB / 459.4 MB, free: 37.08 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/0.3639, allocations: 26.64 kB / 459.4 MB, free: 37.07 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.3639, allocations: 330 kB / 459.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.756e-05/0.364, allocations: 51.95 kB / 459.8 MB, free: 36.75 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.707e-05/0.364, allocations: 67.61 kB / 459.9 MB, free: 36.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001242/0.3642, allocations: 179.6 kB / 460.1 MB, free: 36.66 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.3642, allocations: 0 / 460.1 MB, free: 36.66 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00021/0.3644, allocations: 245 kB / 460.3 MB, free: 36.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.711e-05/0.3644, allocations: 37.72 kB / 460.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.868e-06/0.3644, allocations: 0 / 460.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.748e-06/0.3645, allocations: 0 / 460.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.271e-05/0.3645, allocations: 14 kB / 460.4 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.3646, allocations: 0 / 460.4 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.449e-05/0.3646, allocations: 8.156 kB / 460.4 MB, free: 36.55 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.091e-05/0.3646, allocations: 6.438 kB / 460.4 MB, free: 36.55 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (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 (6): * Single equations (assignments): 5 * 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 9.634e-05/0.3647, allocations: 175.5 kB / 460.5 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.328e-05/0.3648, allocations: 21.34 kB / 460.6 MB, free: 36.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001226/0.3649, allocations: 67.86 kB / 460.6 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.3649, allocations: 2.75 kB / 460.6 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.3649, allocations: 1.438 kB / 460.6 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3649, allocations: 0 / 460.6 MB, free: 36.37 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001095/0.365, allocations: 223.1 kB / 460.8 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3651, allocations: 0 / 460.8 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.288e-05/0.3651, allocations: 10.78 kB / 460.9 MB, free: 36.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.3651, allocations: 6.875 kB / 460.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.3651, allocations: 2.812 kB / 460.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.3651, allocations: 3.906 kB / 460.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3651, allocations: 0 / 460.9 MB, free: 36.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002511/0.3654, allocations: 306.3 kB / 461.2 MB, free: 36.05 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.768e-05/0.3655, allocations: 104.9 kB / 461.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3655, allocations: 3 kB / 461.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.556e-05/0.3655, allocations: 6.469 kB / 461.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.251e-05/0.3656, allocations: 8.938 kB / 461.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.546e-05/0.3656, allocations: 2.781 kB / 461.3 MB, free: 35.95 MB / 382.1 MB Notification: Performance of sorting global known variables: time 7.926e-05/0.3657, allocations: 159.2 kB / 461.4 MB, free: 35.87 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3657, allocations: 0 / 461.4 MB, free: 35.87 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002227/0.3659, allocations: 38.94 kB / 461.5 MB, free: 35.87 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0001392/0.3661, allocations: 129 kB / 461.6 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.3663, allocations: 222.1 kB / 461.8 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.3663, allocations: 2.906 kB / 461.8 MB, free: 35.7 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001025/0.3664, allocations: 155.5 kB / 462 MB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002096/0.3666, allocations: 11.84 kB / 462 MB, free: 35.64 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004424/0.3671, allocations: 351 kB / 462.3 MB, free: 35.45 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.3673, allocations: 0.7147 MB / 463.1 MB, free: 34.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.972e-05/0.3673, allocations: 10.47 kB / 463.1 MB, free: 34.75 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.684e-05/0.3673, allocations: 11.12 kB / 463.1 MB, free: 34.75 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3673, allocations: 0 / 463.1 MB, free: 34.75 MB / 382.1 MB Notification: Performance of Templates: time 0.003447/0.3708, allocations: 1.265 MB / 464.3 MB, free: 34.68 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (rm -f Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & ./Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)