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.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 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00134/0.00134, allocations: 103 kB / 16.36 MB, free: 6.336 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.001349/0.001349, allocations: 198.3 kB / 17.3 MB, free: 5.883 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00236/0.00236, allocations: 289.1 kB / 291.4 MB, free: 14.49 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.052/1.052, allocations: 169.2 MB / 0.4989 GB, free: 4.465 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001748/0.001749, allocations: 95.34 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1668/0.1686, allocations: 86.97 MB / 0.6816 GB, free: 7.465 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002755/0.1714, allocations: 1.598 MB / 0.6832 GB, free: 5.855 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001091/0.1725, allocations: 0.6434 MB / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.648e-05/0.1726, allocations: 0 / 0.6838 GB, free: 5.207 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001427/0.1727, allocations: 79.81 kB / 0.6839 GB, free: 5.129 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002516/0.173, allocations: 107.6 kB / 0.684 GB, free: 5.023 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003393/0.1733, allocations: 95.77 kB / 0.684 GB, free: 4.93 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000185/0.1735, allocations: 135.6 kB / 0.6842 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.237e-05/0.1736, allocations: 11.97 kB / 0.6842 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001378/0.1738, allocations: 71.8 kB / 0.6843 GB, free: 4.715 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.1739, allocations: 103.8 kB / 0.6844 GB, free: 4.613 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.066e-05/0.174, allocations: 8 kB / 0.6844 GB, free: 4.605 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001256/0.1741, allocations: 75.94 kB / 0.6844 GB, free: 4.531 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.959e-05/0.1742, allocations: 39.78 kB / 0.6845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.766e-05/0.1743, allocations: 63.53 kB / 0.6845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002224/0.1745, allocations: 167.4 kB / 0.6847 GB, free: 4.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.199e-06/0.1745, allocations: 4 kB / 0.6847 GB, free: 4.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.163e-06/0.1745, allocations: 0 / 0.6847 GB, free: 4.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.719e-06/0.1745, allocations: 0 / 0.6847 GB, free: 4.262 MB / 494.1 MB 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.0006489/0.1752, allocations: 488.3 kB / 0.6852 GB, free: 3.73 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.1752, allocations: 8.031 kB / 0.6852 GB, free: 3.723 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.04e-05/0.1753, allocations: 16.75 kB / 0.6852 GB, free: 3.707 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.1755, allocations: 212.4 kB / 0.6854 GB, free: 3.461 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.542e-05/0.1755, allocations: 4.375 kB / 0.6854 GB, free: 3.457 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.018e-05/0.1755, allocations: 12.31 kB / 0.6854 GB, free: 3.445 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002007/0.1757, allocations: 115.7 kB / 0.6855 GB, free: 3.32 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.1758, allocations: 4 kB / 0.6855 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.1758, allocations: 8 kB / 0.6855 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.1758, allocations: 0 / 0.6855 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000118/0.1759, allocations: 75.83 kB / 0.6856 GB, free: 3.234 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004192/0.1763, allocations: 408.9 kB / 0.686 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001707/0.1765, allocations: 113.1 kB / 0.6861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.96e-05/0.1766, allocations: 85.78 kB / 0.6862 GB, free: 2.562 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.136e-05/0.1767, allocations: 4 kB / 0.6862 GB, free: 2.559 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002277/0.1769, allocations: 169.9 kB / 0.6863 GB, free: 2.371 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.303e-06/0.1769, allocations: 0 / 0.6863 GB, free: 2.371 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.0005169/0.1774, allocations: 343.2 kB / 0.6867 GB, free: 2.023 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.927e-05/0.1775, allocations: 114.8 kB / 0.6868 GB, free: 1.887 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1777, allocations: 214.6 kB / 0.687 GB, free: 1.664 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.068e-05/0.1777, allocations: 29.7 kB / 0.687 GB, free: 1.629 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.1778, allocations: 112.1 kB / 0.6871 GB, free: 1.516 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.687e-05/0.1778, allocations: 31.56 kB / 0.6872 GB, free: 1.484 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-05/0.1779, allocations: 29.7 kB / 0.6872 GB, free: 1.449 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001079/0.178, allocations: 338.8 kB / 0.6875 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/0.1781, allocations: 59.98 kB / 0.6876 GB, free: 1.051 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.203e-05/0.1782, allocations: 73.69 kB / 0.6876 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002044/0.1784, allocations: 201.3 kB / 0.6878 GB, free: 0.7578 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.1784, allocations: 4 kB / 0.6878 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003131/0.1787, allocations: 267.1 kB / 0.6881 GB, free: 492 kB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.83e-05/0.1788, allocations: 39.73 kB / 0.6881 GB, free: 448 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.449e-06/0.1788, allocations: 3.938 kB / 0.6881 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.1788, allocations: 0 / 0.6881 GB, free: 444 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.821e-05/0.1789, allocations: 15.98 kB / 0.6881 GB, free: 428 kB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.1789, allocations: 4 kB / 0.6881 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.827e-05/0.179, allocations: 7.984 kB / 0.6882 GB, free: 416 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.581e-05/0.1791, allocations: 4 kB / 0.6882 GB, free: 412 kB / 494.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: 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.0001392/0.1792, allocations: 188.8 kB / 0.6883 GB, free: 208 kB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.014e-05/0.1792, allocations: 15.81 kB / 0.6884 GB, free: 192 kB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002022/0.1795, allocations: 98.95 kB / 0.6884 GB, free: 88 kB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.1795, allocations: 8 kB / 0.6885 GB, free: 80 kB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/0.1795, allocations: 3.984 kB / 0.6885 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.587e-06/0.1795, allocations: 0 / 0.6885 GB, free: 76 kB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3236/0.5031, allocations: 228.8 kB / 0.6887 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.663e-06/0.5032, allocations: 0.625 kB / 0.6887 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001063/0.5033, allocations: 9.781 kB / 0.6887 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.045e-05/0.5033, allocations: 0.5 kB / 0.6887 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.278e-05/0.5033, allocations: 6.734 kB / 0.6887 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.025e-06/0.5034, allocations: 1.5 kB / 0.6887 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.5034, allocations: 4.984 kB / 0.6887 GB, free: 18.82 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007171/0.5041, allocations: 342.7 kB / 0.689 GB, free: 18.72 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.5042, allocations: 107.1 kB / 0.6891 GB, free: 18.63 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.687e-05/0.5043, allocations: 4.328 kB / 0.6891 GB, free: 18.63 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.5044, allocations: 10.48 kB / 0.6891 GB, free: 18.63 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/0.5045, allocations: 12.19 kB / 0.6892 GB, free: 18.63 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.922e-05/0.5046, allocations: 11.91 kB / 0.6892 GB, free: 18.63 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001945/0.5048, allocations: 162.5 kB / 0.6893 GB, free: 18.55 MB / 494.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.5048, allocations: 0.7812 kB / 0.6893 GB, free: 18.55 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003602/0.5051, allocations: 41.33 kB / 0.6894 GB, free: 18.55 MB / 494.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: 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.0002583/0.5054, allocations: 137.8 kB / 0.6895 GB, free: 18.46 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0004268/0.5058, allocations: 241.9 kB / 0.6897 GB, free: 18.34 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.5058, allocations: 0.8125 kB / 0.6897 GB, free: 18.34 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002167/0.5061, allocations: 166.4 kB / 0.6899 GB, free: 18.24 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.5064, allocations: 17.19 kB / 0.6899 GB, free: 18.24 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007435/0.5071, allocations: 345.3 kB / 0.6902 GB, free: 18.05 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002951/0.5074, allocations: 0.7251 MB / 0.6909 GB, free: 17.35 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.544e-05/0.5075, allocations: 8.562 kB / 0.6909 GB, free: 17.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.536e-05/0.5075, allocations: 16.36 kB / 0.691 GB, free: 17.34 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.5075, allocations: 5.234 kB / 0.691 GB, free: 17.34 MB / 494.1 MB Notification: Performance of Templates: time 0.007341/0.5149, allocations: 1.647 MB / 0.6926 GB, free: 17.31 MB / 494.1 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 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)