Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007045/0.0007083, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0007282/0.0007282, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.154/1.154, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.53/1.53, allocations: 292.7 MB / 0.5499 GB, free: 14.54 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005099/0.00051, allocations: 15.56 kB / 0.6738 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1873/0.1878, allocations: 116.3 MB / 0.7874 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001279/0.1891, allocations: 1.199 MB / 0.7886 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007389/0.1899, allocations: 0.5829 MB / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.429e-05/0.1899, allocations: 0 / 0.7891 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001136/0.19, allocations: 67.89 kB / 0.7892 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.1902, allocations: 79.81 kB / 0.7893 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002401/0.1905, allocations: 71.84 kB / 0.7893 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.042e-05/0.1906, allocations: 83.73 kB / 0.7894 GB, free: 9.719 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.549e-05/0.1906, allocations: 7.984 kB / 0.7894 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 9.605e-05/0.1907, allocations: 51.83 kB / 0.7895 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001151/0.1908, allocations: 75.83 kB / 0.7896 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.38e-05/0.1909, allocations: 4 kB / 0.7896 GB, free: 9.582 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.605e-05/0.191, allocations: 63.94 kB / 0.7896 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.617e-05/0.191, allocations: 23.91 kB / 0.7896 GB, free: 9.496 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.696e-05/0.1911, allocations: 49.64 kB / 0.7897 GB, free: 9.441 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001156/0.1912, allocations: 96.02 kB / 0.7898 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/0.1912, allocations: 4 kB / 0.7898 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.122e-06/0.1912, allocations: 0 / 0.7898 GB, free: 9.344 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.357e-06/0.1912, allocations: 0 / 0.7898 GB, free: 9.344 MB / 0.6075 GB 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.0003945/0.1916, allocations: 432.4 kB / 0.7902 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.1916, allocations: 12.03 kB / 0.7902 GB, free: 8.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.789e-05/0.1917, allocations: 38.5 kB / 0.7902 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.943e-05/0.1917, allocations: 15.81 kB / 0.7903 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/0.1919, allocations: 195.7 kB / 0.7904 GB, free: 8.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1919, allocations: 8 kB / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1919, allocations: 7.984 kB / 0.7905 GB, free: 8.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001422/0.192, allocations: 99.38 kB / 0.7906 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1921, allocations: 0 / 0.7906 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.759e-06/0.1921, allocations: 11.88 kB / 0.7906 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1921, allocations: 0 / 0.7906 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.983e-05/0.1922, allocations: 55.97 kB / 0.7906 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003158/0.1925, allocations: 309.6 kB / 0.7909 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.1926, allocations: 97.12 kB / 0.791 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.142e-05/0.1927, allocations: 69.75 kB / 0.7911 GB, free: 7.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.812e-05/0.1927, allocations: 4 kB / 0.7911 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001805/0.1929, allocations: 154.7 kB / 0.7912 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 9.82e-07/0.1929, allocations: 0 / 0.7912 GB, free: 7.648 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003566/0.1933, allocations: 295.3 kB / 0.7915 GB, free: 7.348 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.096e-05/0.1933, allocations: 114.8 kB / 0.7916 GB, free: 7.211 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.1935, allocations: 208.3 kB / 0.7918 GB, free: 7 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.536e-05/0.1935, allocations: 25.7 kB / 0.7918 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.864e-05/0.1936, allocations: 112.1 kB / 0.7919 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.788e-05/0.1936, allocations: 23.7 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.179e-06/0.1936, allocations: 0 / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.683e-05/0.1937, allocations: 330.8 kB / 0.7923 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.594e-05/0.1937, allocations: 47.98 kB / 0.7923 GB, free: 6.453 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.099e-05/0.1938, allocations: 65.69 kB / 0.7924 GB, free: 6.383 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.599e-05/0.1939, allocations: 81.69 kB / 0.7925 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.1939, allocations: 0 / 0.7925 GB, free: 6.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002357/0.1941, allocations: 243.1 kB / 0.7927 GB, free: 6.047 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.144e-05/0.1942, allocations: 44.66 kB / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.1942, allocations: 0 / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.796e-06/0.1942, allocations: 0 / 0.7927 GB, free: 6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.473e-05/0.1943, allocations: 11.94 kB / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.168e-06/0.1943, allocations: 0 / 0.7928 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.141e-05/0.1944, allocations: 19.81 kB / 0.7928 GB, free: 5.969 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.1944, allocations: 4.031 kB / 0.7928 GB, free: 5.965 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,$PRE.solDecNOAA.nextEvent,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001113/0.1945, allocations: 172.2 kB / 0.7929 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.11e-05/0.1945, allocations: 19.8 kB / 0.793 GB, free: 5.762 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001155/0.1946, allocations: 67.17 kB / 0.793 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.1947, allocations: 4 kB / 0.793 GB, free: 5.684 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.1947, allocations: 7.922 kB / 0.793 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1947, allocations: 0 / 0.793 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001367/0.1948, allocations: 221.5 kB / 0.7933 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1948, allocations: 0 / 0.7933 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.001e-05/0.1949, allocations: 8 kB / 0.7933 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.943e-06/0.1949, allocations: 0 / 0.7933 GB, free: 5.402 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1949, allocations: 8 kB / 0.7933 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1949, allocations: 0 / 0.7933 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.1949, allocations: 0 / 0.7933 GB, free: 5.395 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002869/0.1952, allocations: 307.4 kB / 0.7936 GB, free: 5.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.982e-05/0.1953, allocations: 105 kB / 0.7937 GB, free: 4.945 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.537e-05/0.1953, allocations: 4 kB / 0.7937 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.34e-05/0.1954, allocations: 11.94 kB / 0.7937 GB, free: 4.93 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.799e-05/0.1954, allocations: 3.984 kB / 0.7937 GB, free: 4.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.1954, allocations: 4 kB / 0.7937 GB, free: 4.922 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.862e-05/0.1955, allocations: 153.1 kB / 0.7938 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1955, allocations: 0 / 0.7938 GB, free: 4.773 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002153/0.1958, allocations: 39.98 kB / 0.7939 GB, free: 4.734 MB / 0.6075 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005511/0.1963, allocations: 0.8673 MB / 0.7947 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002361/0.1966, allocations: 219.3 kB / 0.7949 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1966, allocations: 0 / 0.7949 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001172/0.1967, allocations: 151.3 kB / 0.7951 GB, free: 3.445 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001702/0.1969, allocations: 18.69 kB / 0.7951 GB, free: 3.43 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.198, allocations: 1.084 MB / 0.7961 GB, free: 2.285 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002179/0.1983, allocations: 0.7189 MB / 0.7968 GB, free: 1.543 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.037e-05/0.1983, allocations: 11.98 kB / 0.7969 GB, free: 1.531 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.781e-05/0.1984, allocations: 31.44 kB / 0.7969 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of SimCode: time 2.41e-07/0.1984, allocations: 0 / 0.7969 GB, free: 1.504 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01134/0.2097, allocations: 2.787 MB / 0.7996 GB, free: 14.91 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/0.2099, allocations: 224.5 kB / 0.7998 GB, free: 14.66 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.756, allocations: 0 / 0.7998 GB, free: 14.66 MB / 0.6231 GB (rm -f Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) Environment - environmentSimulation: