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.001642/0.001642, 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.00138/0.00138, allocations: 193.6 kB / 16.14 MB, free: 6.684 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.391/1.391, allocations: 222.9 MB / 239.8 MB, free: 4.621 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002647/0.002647, allocations: 290.4 kB / 290.2 MB, free: 2.219 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.077/1.077, allocations: 178.6 MB / 0.5068 GB, free: 4.766 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002811/0.002811, allocations: 99.91 kB / 0.6057 GB, free: 25.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1834, allocations: 89.15 MB / 0.6928 GB, free: 4.836 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002938/0.1864, allocations: 1.661 MB / 0.6944 GB, free: 3.176 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00117/0.1876, allocations: 0.6725 MB / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.489e-05/0.1876, allocations: 2.094 kB / 0.6951 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001672/0.1878, allocations: 71.89 kB / 0.6951 GB, free: 2.43 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000255/0.1881, allocations: 97.84 kB / 0.6952 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002832/0.1884, allocations: 76.48 kB / 0.6953 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.1885, allocations: 123.6 kB / 0.6954 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.626e-05/0.1886, allocations: 13.7 kB / 0.6954 GB, free: 2.129 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.1888, allocations: 63.81 kB / 0.6955 GB, free: 2.066 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001668/0.189, allocations: 100.4 kB / 0.6956 GB, free: 1.969 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.544e-05/0.189, allocations: 8 kB / 0.6956 GB, free: 1.961 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.1891, allocations: 67.94 kB / 0.6957 GB, free: 1.895 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.334e-05/0.1892, allocations: 39.84 kB / 0.6957 GB, free: 1.855 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 8.004e-05/0.1893, allocations: 51.59 kB / 0.6958 GB, free: 1.805 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.1895, allocations: 159.8 kB / 0.6959 GB, free: 1.648 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.1896, allocations: 0 / 0.6959 GB, free: 1.648 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1896, allocations: 0 / 0.6959 GB, free: 1.648 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.1896, allocations: 0 / 0.6959 GB, free: 1.648 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.0007528/0.1903, allocations: 484.4 kB / 0.6964 GB, free: 1.121 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.891e-05/0.1904, allocations: 8.031 kB / 0.6964 GB, free: 1.113 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.1904, allocations: 16.75 kB / 0.6964 GB, free: 1.098 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1907, allocations: 223.6 kB / 0.6966 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.282e-05/0.1907, allocations: 4.375 kB / 0.6966 GB, free: 0.8359 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.1907, allocations: 4.375 kB / 0.6966 GB, free: 0.832 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002291/0.191, allocations: 123.7 kB / 0.6967 GB, free: 0.6992 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.669e-06/0.191, allocations: 3.938 kB / 0.6967 GB, free: 0.6953 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.191, allocations: 7.984 kB / 0.6967 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.191, allocations: 4 kB / 0.6967 GB, free: 0.6836 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001309/0.1911, allocations: 67.97 kB / 0.6968 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004918/0.1916, allocations: 412.8 kB / 0.6972 GB, free: 164 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001853/0.1918, allocations: 121 kB / 0.6973 GB, free: 24 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001278/0.192, allocations: 81.78 kB / 0.6974 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.162e-05/0.192, allocations: 0 / 0.6974 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002892/0.1923, allocations: 170.7 kB / 0.6976 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=13): time 1.212e-06/0.1923, allocations: 0 / 0.6976 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13): time 0.000549/0.1929, allocations: 343.2 kB / 0.6979 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.809e-05/0.1929, allocations: 110.8 kB / 0.698 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.1932, allocations: 215.5 kB / 0.6982 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.371e-05/0.1932, allocations: 33.64 kB / 0.6982 GB, free: 15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.76e-05/0.1933, allocations: 112.1 kB / 0.6983 GB, free: 14.89 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 4.22e-05/0.1933, allocations: 35.45 kB / 0.6984 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.1934, allocations: 25.72 kB / 0.6984 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001419/0.1935, allocations: 334.8 kB / 0.6987 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.675e-05/0.1936, allocations: 63.98 kB / 0.6988 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.974e-05/0.1938, allocations: 73.69 kB / 0.6988 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002145/0.194, allocations: 197 kB / 0.699 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.194, allocations: 0 / 0.699 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003456/0.1943, allocations: 267.1 kB / 0.6993 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.202e-05/0.1944, allocations: 35.11 kB / 0.6993 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.1944, allocations: 320 / 0.6993 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.1944, allocations: 3.984 kB / 0.6993 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001053/0.1945, allocations: 16 kB / 0.6993 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.424e-06/0.1945, allocations: 4 kB / 0.6993 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.1947, allocations: 19.89 kB / 0.6994 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.65e-05/0.1947, allocations: 4 kB / 0.6994 GB, free: 13.78 MB / 0.4981 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.0001634/0.1948, allocations: 179.4 kB / 0.6995 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.471e-05/0.1949, allocations: 19.81 kB / 0.6996 GB, free: 13.57 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.1951, allocations: 95.08 kB / 0.6996 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.1951, allocations: 3.984 kB / 0.6997 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.1951, allocations: 0 / 0.6997 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.899e-06/0.1951, allocations: 0 / 0.6997 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.1954, allocations: 241.4 kB / 0.6999 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1954, allocations: 0 / 0.6999 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.171e-05/0.1955, allocations: 16.02 kB / 0.6999 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.1955, allocations: 3.938 kB / 0.6999 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.037e-05/0.1955, allocations: 8 kB / 0.6999 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.1955, allocations: 0 / 0.6999 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.1955, allocations: 4 kB / 0.6999 GB, free: 13.15 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000438/0.196, allocations: 334.5 kB / 0.7002 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.663e-05/0.1961, allocations: 112.8 kB / 0.7003 GB, free: 12.67 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.573e-05/0.1961, allocations: 4 kB / 0.7003 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.1962, allocations: 4 kB / 0.7003 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.001e-05/0.1963, allocations: 16.02 kB / 0.7004 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.1963, allocations: 4 kB / 0.7004 GB, free: 12.64 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001462/0.1965, allocations: 167.3 kB / 0.7005 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.1965, allocations: 0 / 0.7005 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002536/0.1967, allocations: 44 kB / 0.7006 GB, free: 12.43 MB / 0.4981 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.000208/0.1969, allocations: 139.1 kB / 0.7007 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003538/0.1973, allocations: 247.3 kB / 0.7009 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1973, allocations: 0 / 0.7009 GB, free: 12.04 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001816/0.1975, allocations: 159.4 kB / 0.7011 GB, free: 11.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002406/0.1978, allocations: 21.41 kB / 0.7011 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006251/0.1984, allocations: 390 kB / 0.7015 GB, free: 11.43 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00034/0.1987, allocations: 0.7245 MB / 0.7022 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.663e-05/0.1988, allocations: 8 kB / 0.7022 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.448e-05/0.1988, allocations: 15.42 kB / 0.7022 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1988, allocations: 0 / 0.7022 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of Templates: time 0.004862/0.2037, allocations: 1.554 MB / 0.7037 GB, free: 9.152 MB / 0.4981 GB 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)