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/BuildingSystems 2.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) 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/NcDataReader2 2.5.1-master/package.mo", uses=false) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") translateModel(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.812/0.812, allocations: 143.4 MB / 159.2 MB, free: 4.875 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001207/0.001207, allocations: 187.6 kB / 191.9 MB, free: 5.723 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 222.9 MB / 447.3 MB, free: 5.848 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001011/0.001011, allocations: 111.2 kB / 0.517 GB, free: 3.695 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001869/0.001869, allocations: 286.9 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 83.88 kB / 0.6885 GB, free: 3.832 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4021, allocations: 81.29 MB / 0.7679 GB, free: 27.66 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.00311/0.4053, allocations: 1.559 MB / 0.7694 GB, free: 26.1 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.00104/0.4064, allocations: 0.5962 MB / 0.77 GB, free: 25.5 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.575e-05/0.4065, allocations: 7.938 kB / 0.77 GB, free: 25.49 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001695/0.4066, allocations: 67.89 kB / 0.7701 GB, free: 25.42 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001939/0.4069, allocations: 83.81 kB / 0.7702 GB, free: 25.34 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003051/0.4072, allocations: 67.86 kB / 0.7702 GB, free: 25.27 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.4073, allocations: 91.8 kB / 0.7703 GB, free: 25.18 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001093/0.4074, allocations: 11.98 kB / 0.7703 GB, free: 25.17 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.4076, allocations: 51.83 kB / 0.7704 GB, free: 25.12 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.4077, allocations: 87.78 kB / 0.7705 GB, free: 25.04 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.4078, allocations: 4 kB / 0.7705 GB, free: 25.03 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000125/0.4079, allocations: 75.92 kB / 0.7705 GB, free: 24.96 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.729e-05/0.408, allocations: 27.86 kB / 0.7706 GB, free: 24.93 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.998e-05/0.4081, allocations: 39.67 kB / 0.7706 GB, free: 24.89 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001998/0.4083, allocations: 142.2 kB / 0.7707 GB, free: 24.75 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.4083, allocations: 0 / 0.7707 GB, free: 24.75 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.4083, allocations: 7.938 kB / 0.7707 GB, free: 24.75 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.63e-06/0.4083, allocations: 0 / 0.7707 GB, free: 24.75 MB / 458.7 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.0005484/0.4088, allocations: 448.5 kB / 0.7712 GB, free: 24.25 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.483e-05/0.4089, allocations: 8.031 kB / 0.7712 GB, free: 24.25 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.776e-05/0.409, allocations: 16.75 kB / 0.7712 GB, free: 24.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.4092, allocations: 213.3 kB / 0.7714 GB, free: 23.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.4092, allocations: 384 / 0.7714 GB, free: 23.98 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.884e-05/0.4092, allocations: 8.375 kB / 0.7714 GB, free: 23.97 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.4094, allocations: 107.7 kB / 0.7715 GB, free: 23.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.4094, allocations: 3.938 kB / 0.7715 GB, free: 23.85 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.222e-05/0.4094, allocations: 0 / 0.7715 GB, free: 23.85 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.044e-06/0.4095, allocations: 4 kB / 0.7715 GB, free: 23.85 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.987e-05/0.4096, allocations: 59.95 kB / 0.7716 GB, free: 23.79 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003838/0.4099, allocations: 297.7 kB / 0.7719 GB, free: 23.45 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.4101, allocations: 97.12 kB / 0.772 GB, free: 23.33 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.967e-05/0.4102, allocations: 69.75 kB / 0.772 GB, free: 23.26 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.97e-05/0.4102, allocations: 8 kB / 0.772 GB, free: 23.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002618/0.4105, allocations: 158.7 kB / 0.7722 GB, free: 23.07 MB / 458.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4105, allocations: 0 / 0.7722 GB, free: 23.07 MB / 458.7 MB Notification: Performance of matching and sorting (n=10): time 0.000399/0.4109, allocations: 295.1 kB / 0.7725 GB, free: 22.77 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.332e-05/0.4109, allocations: 106.8 kB / 0.7726 GB, free: 22.64 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001429/0.4111, allocations: 203.1 kB / 0.7728 GB, free: 22.43 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.4111, allocations: 25.7 kB / 0.7728 GB, free: 22.4 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.476e-05/0.4112, allocations: 116.4 kB / 0.7729 GB, free: 22.29 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.887e-05/0.4112, allocations: 27.64 kB / 0.7729 GB, free: 22.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.295e-05/0.4113, allocations: 29.61 kB / 0.7729 GB, free: 22.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.091e-05/0.4113, allocations: 330.8 kB / 0.7733 GB, free: 21.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.798e-05/0.4114, allocations: 51.98 kB / 0.7733 GB, free: 21.84 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.523e-05/0.4115, allocations: 65.69 kB / 0.7734 GB, free: 21.77 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.4116, allocations: 189 kB / 0.7736 GB, free: 21.57 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/0.4116, allocations: 0 / 0.7736 GB, free: 21.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000269/0.4119, allocations: 243.1 kB / 0.7738 GB, free: 21.32 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.861e-05/0.4119, allocations: 33.7 kB / 0.7738 GB, free: 21.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.4119, allocations: 4 kB / 0.7738 GB, free: 21.27 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.412, allocations: 3.984 kB / 0.7738 GB, free: 21.27 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.815e-05/0.4121, allocations: 8 kB / 0.7738 GB, free: 21.26 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.783e-06/0.4121, allocations: 0 / 0.7738 GB, free: 21.26 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.195e-05/0.4121, allocations: 4 kB / 0.7738 GB, free: 21.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.12e-05/0.4122, allocations: 4 kB / 0.7738 GB, free: 21.25 MB / 458.7 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.00013/0.4123, allocations: 179.5 kB / 0.774 GB, free: 21.06 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.356e-05/0.4123, allocations: 15.81 kB / 0.774 GB, free: 21.05 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000139/0.4125, allocations: 71.02 kB / 0.7741 GB, free: 20.97 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4125, allocations: 0 / 0.7741 GB, free: 20.97 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.4125, allocations: 4 kB / 0.7741 GB, free: 20.97 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4125, allocations: 0 / 0.7741 GB, free: 20.97 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001347/0.4126, allocations: 217.4 kB / 0.7743 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.4127, allocations: 4 kB / 0.7743 GB, free: 20.7 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.295e-05/0.4127, allocations: 11.98 kB / 0.7743 GB, free: 20.69 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4127, allocations: 0 / 0.7743 GB, free: 20.69 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.561e-05/0.4127, allocations: 8 kB / 0.7743 GB, free: 20.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.4127, allocations: 0 / 0.7743 GB, free: 20.68 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4127, allocations: 0 / 0.7743 GB, free: 20.68 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005386/0.4133, allocations: 0.9502 MB / 0.7753 GB, free: 19.66 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.638e-05/0.4134, allocations: 97 kB / 0.7754 GB, free: 19.55 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.036e-05/0.4134, allocations: 4 kB / 0.7754 GB, free: 19.55 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.085e-05/0.4135, allocations: 7.938 kB / 0.7754 GB, free: 19.54 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.679e-05/0.4135, allocations: 12.06 kB / 0.7754 GB, free: 19.53 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.771e-05/0.4135, allocations: 7.938 kB / 0.7754 GB, free: 19.52 MB / 458.7 MB Notification: Performance of sorting global known variables: time 9.793e-05/0.4136, allocations: 157.1 kB / 0.7755 GB, free: 19.37 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4136, allocations: 0 / 0.7755 GB, free: 19.37 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003301/0.414, allocations: 32 kB / 0.7756 GB, free: 19.34 MB / 458.7 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.000199/0.4142, allocations: 144.9 kB / 0.7757 GB, free: 19.19 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002497/0.4144, allocations: 219.4 kB / 0.7759 GB, free: 18.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.4145, allocations: 0 / 0.7759 GB, free: 18.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001055/0.4146, allocations: 151.4 kB / 0.7761 GB, free: 18.8 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002416/0.4148, allocations: 15.98 kB / 0.7761 GB, free: 18.79 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007122/0.4155, allocations: 488.2 kB / 0.7765 GB, free: 18.27 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002415/0.4158, allocations: 0.7188 MB / 0.7772 GB, free: 17.52 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.406e-05/0.4158, allocations: 4 kB / 0.7772 GB, free: 17.52 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.4159, allocations: 7.438 kB / 0.7772 GB, free: 17.52 MB / 458.7 MB Notification: Performance of SimCode: time 2.2e-07/0.4159, allocations: 0 / 0.7772 GB, free: 17.52 MB / 458.7 MB Notification: Performance of Templates: time 0.004141/0.42, allocations: 1.331 MB / 0.7785 GB, free: 16.23 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.makefile (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)