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.0009637/0.0009637, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001109/0.001109, allocations: 194.5 kB / 16.25 MB, free: 6.621 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.463/1.463, allocations: 205.1 MB / 222.1 MB, free: 4.707 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3728/0.3728, allocations: 54.92 MB / 324.4 MB, free: 140 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.00168/0.00168, allocations: 68.23 kB / 394.9 MB, free: 12.12 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1261/0.1278, allocations: 59.59 MB / 454.4 MB, free: 484 kB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.254/0.3819, allocations: 1.536 MB / 456 MB, free: 39.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009693/0.3829, allocations: 0.616 MB / 456.6 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.635e-05/0.3831, allocations: 0 / 456.6 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001603/0.3833, allocations: 75.47 kB / 456.7 MB, free: 38.88 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001808/0.3835, allocations: 84.41 kB / 456.7 MB, free: 38.87 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003568/0.3838, allocations: 82.27 kB / 456.8 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001394/0.384, allocations: 101.1 kB / 456.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.923e-05/0.3841, allocations: 3.469 kB / 456.9 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001337/0.3842, allocations: 63.27 kB / 457 MB, free: 38.86 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.3844, allocations: 91.17 kB / 457.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.728e-05/0.3844, allocations: 2.781 kB / 457.1 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001265/0.3845, allocations: 74.48 kB / 457.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.344e-05/0.3846, allocations: 33.59 kB / 457.2 MB, free: 38.84 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.284e-05/0.3846, allocations: 39.81 kB / 457.2 MB, free: 38.82 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001844/0.3848, allocations: 135.8 kB / 457.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.3848, allocations: 0.5625 kB / 457.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.3849, allocations: 0.5938 kB / 457.4 MB, free: 38.79 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.911e-06/0.3849, allocations: 0 / 457.4 MB, free: 38.79 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.0005215/0.3854, allocations: 455.2 kB / 457.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.272e-05/0.3854, allocations: 10.16 kB / 457.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.648e-05/0.3855, allocations: 16.78 kB / 457.8 MB, free: 38.36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.3857, allocations: 207.2 kB / 458 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.147e-05/0.3857, allocations: 6.781 kB / 458 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.3857, allocations: 3.844 kB / 458 MB, free: 38.13 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001744/0.3859, allocations: 112 kB / 458.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.233e-06/0.3859, allocations: 0.6562 kB / 458.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.396e-05/0.3859, allocations: 3.438 kB / 458.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.548e-06/0.3859, allocations: 0 / 458.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.785e-05/0.386, allocations: 61.94 kB / 458.2 MB, free: 38.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003124/0.3864, allocations: 304.5 kB / 458.5 MB, free: 37.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001079/0.3865, allocations: 96.94 kB / 458.6 MB, free: 37.76 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.333e-05/0.3866, allocations: 73.36 kB / 458.7 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.01e-05/0.3866, allocations: 2.297 kB / 458.7 MB, free: 37.74 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001696/0.3868, allocations: 151.2 kB / 458.8 MB, free: 37.65 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 2.104e-06/0.3868, allocations: 3.531 kB / 458.8 MB, free: 37.65 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003612/0.3872, allocations: 298.4 kB / 459.1 MB, free: 37.57 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.687e-05/0.3872, allocations: 110.6 kB / 459.2 MB, free: 37.45 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.3873, allocations: 207.2 kB / 459.4 MB, free: 37.35 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.283e-05/0.3874, allocations: 27.48 kB / 459.5 MB, free: 37.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.269e-05/0.3874, allocations: 109.5 kB / 459.6 MB, free: 37.23 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.708e-05/0.3874, allocations: 25.94 kB / 459.6 MB, free: 37.22 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.781e-05/0.3875, allocations: 22.03 kB / 459.6 MB, free: 37.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.658e-05/0.3875, allocations: 334.7 kB / 459.9 MB, free: 36.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.456e-05/0.3876, allocations: 50.11 kB / 460 MB, free: 36.89 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.567e-05/0.3877, allocations: 69.8 kB / 460.1 MB, free: 36.87 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001222/0.3878, allocations: 172.8 kB / 460.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.3878, allocations: 0 / 460.2 MB, free: 36.79 MB / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002103/0.388, allocations: 246.1 kB / 460.5 MB, free: 36.72 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.828e-05/0.3881, allocations: 40.14 kB / 460.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3881, allocations: 0 / 460.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.481e-05/0.3881, allocations: 3.688 kB / 460.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.525e-05/0.3882, allocations: 10.58 kB / 460.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.3882, allocations: 3.547 kB / 460.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.033e-05/0.3882, allocations: 6.938 kB / 460.5 MB, free: 36.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.015e-05/0.3883, allocations: 6.594 kB / 460.5 MB, free: 36.69 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 0.0001027/0.3884, allocations: 179.8 kB / 460.7 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.195e-05/0.3884, allocations: 16.09 kB / 460.7 MB, free: 36.54 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001291/0.3885, allocations: 65.8 kB / 460.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.3885, allocations: 0 / 460.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.3886, allocations: 2.625 kB / 460.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/0.3886, allocations: 2.844 kB / 460.8 MB, free: 36.5 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001226/0.3887, allocations: 228 kB / 461 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.3887, allocations: 6.5 kB / 461 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.837e-05/0.3887, allocations: 6.625 kB / 461 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.136e-06/0.3887, allocations: 5.953 kB / 461 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.362e-05/0.3888, allocations: 3.156 kB / 461 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.3888, allocations: 0.5 kB / 461 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.3888, allocations: 0.5312 kB / 461 MB, free: 36.3 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002695/0.3891, allocations: 313.6 kB / 461.4 MB, free: 36.18 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.119e-05/0.3891, allocations: 99.48 kB / 461.5 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.642e-05/0.3892, allocations: 6.719 kB / 461.5 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.159e-05/0.3892, allocations: 2.844 kB / 461.5 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.738e-05/0.3893, allocations: 6.156 kB / 461.5 MB, free: 36.08 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.733e-05/0.3893, allocations: 6.781 kB / 461.5 MB, free: 36.08 MB / 382.1 MB Notification: Performance of sorting global known variables: time 8.444e-05/0.3894, allocations: 154.1 kB / 461.6 MB, free: 36 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3894, allocations: 3.031 kB / 461.6 MB, free: 36 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002207/0.3896, allocations: 40.88 kB / 461.7 MB, free: 36 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.0001514/0.3898, allocations: 122.3 kB / 461.8 MB, free: 35.91 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002321/0.39, allocations: 232.4 kB / 462 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.39, allocations: 1.031 kB / 462 MB, free: 35.84 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001149/0.3901, allocations: 152.7 kB / 462.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001992/0.3903, allocations: 13.28 kB / 462.2 MB, free: 35.77 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/0.3908, allocations: 349.1 kB / 462.5 MB, free: 35.59 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001385/0.3909, allocations: 0.7198 MB / 463.2 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.847e-05/0.391, allocations: 6.297 kB / 463.2 MB, free: 34.89 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.874e-05/0.391, allocations: 11.41 kB / 463.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.391, allocations: 0 / 463.3 MB, free: 34.89 MB / 382.1 MB Notification: Performance of Templates: time 0.003499/0.3945, allocations: 1.319 MB / 464.6 MB, free: 34.82 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)