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.001107/0.001106, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001125/0.001125, allocations: 200.6 kB / 16.64 MB, free: 6.43 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.333/1.333, allocations: 205.1 MB / 222.5 MB, free: 4.551 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.649/1.649, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001414/0.001414, allocations: 68.92 kB / 0.6718 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1893/0.1907, allocations: 114.5 MB / 0.7836 GB, free: 13.31 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002538/0.1933, allocations: 1.506 MB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009416/0.1942, allocations: 0.6058 MB / 0.7857 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.76e-05/0.1943, allocations: 7.938 kB / 0.7857 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001354/0.1944, allocations: 79.81 kB / 0.7858 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.1946, allocations: 79.81 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000325/0.195, allocations: 99.33 kB / 0.7859 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.000133/0.1951, allocations: 99.73 kB / 0.786 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.742e-05/0.1952, allocations: 7.984 kB / 0.786 GB, free: 10.81 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001137/0.1953, allocations: 59.88 kB / 0.7861 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1955, allocations: 87.84 kB / 0.7862 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.715e-05/0.1955, allocations: 4 kB / 0.7862 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001217/0.1956, allocations: 79.86 kB / 0.7863 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.746e-05/0.1957, allocations: 27.86 kB / 0.7863 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.42e-05/0.1957, allocations: 47.67 kB / 0.7863 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001751/0.1959, allocations: 135.9 kB / 0.7865 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.474e-06/0.1959, allocations: 7.984 kB / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1959, allocations: 3.938 kB / 0.7865 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.761e-06/0.196, allocations: 0 / 0.7865 GB, free: 10.37 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.0004588/0.1964, allocations: 448.5 kB / 0.7869 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.489e-05/0.1965, allocations: 12.03 kB / 0.7869 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.978e-05/0.1965, allocations: 30.75 kB / 0.7869 GB, free: 9.824 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.671e-05/0.1965, allocations: 16.75 kB / 0.787 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002199/0.1968, allocations: 212.8 kB / 0.7872 GB, free: 9.562 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.738e-06/0.1968, allocations: 4.375 kB / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.225e-05/0.1968, allocations: 384 / 0.7872 GB, free: 9.559 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.197, allocations: 115.4 kB / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.197, allocations: 0 / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.01e-05/0.197, allocations: 0 / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.098e-06/0.197, allocations: 0 / 0.7873 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.538e-05/0.1971, allocations: 63.91 kB / 0.7873 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.1974, allocations: 301.7 kB / 0.7876 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.1976, allocations: 101.1 kB / 0.7877 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.951e-05/0.1976, allocations: 73.73 kB / 0.7878 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1977, allocations: 4 kB / 0.7878 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001646/0.1978, allocations: 142.8 kB / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.203e-06/0.1978, allocations: 0 / 0.7879 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003861/0.1982, allocations: 303.2 kB / 0.7882 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.1983, allocations: 106.8 kB / 0.7883 GB, free: 8.223 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001536/0.1985, allocations: 208.2 kB / 0.7885 GB, free: 8.012 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.1985, allocations: 33.7 kB / 0.7886 GB, free: 7.973 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.307e-05/0.1985, allocations: 108.1 kB / 0.7887 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.122e-05/0.1986, allocations: 31.55 kB / 0.7887 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.162e-05/0.1986, allocations: 21.72 kB / 0.7887 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.85e-05/0.1987, allocations: 330.8 kB / 0.789 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.062e-05/0.1988, allocations: 51.97 kB / 0.7891 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.247e-05/0.1988, allocations: 65.7 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001386/0.199, allocations: 177.1 kB / 0.7893 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.199, allocations: 4 kB / 0.7893 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002451/0.1993, allocations: 243 kB / 0.7895 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.189e-05/0.1993, allocations: 37.69 kB / 0.7896 GB, free: 6.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.1993, allocations: 4.062 kB / 0.7896 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.406e-05/0.1993, allocations: 4 kB / 0.7896 GB, free: 6.855 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.375e-05/0.1994, allocations: 7.938 kB / 0.7896 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.1994, allocations: 4.234 kB / 0.7896 GB, free: 6.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.469e-05/0.1995, allocations: 7.969 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.376e-05/0.1995, allocations: 8.094 kB / 0.7896 GB, free: 6.828 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 (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.0001148/0.1996, allocations: 180.1 kB / 0.7898 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.1997, allocations: 15.81 kB / 0.7898 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001299/0.1998, allocations: 71.02 kB / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.1998, allocations: 0 / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1998, allocations: 0 / 0.7899 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.1998, allocations: 8 kB / 0.7899 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001454/0.2, allocations: 221.4 kB / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.2, allocations: 0 / 0.7901 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.232e-05/0.2, allocations: 8 kB / 0.7901 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.2001, allocations: 4 kB / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/0.2001, allocations: 0 / 0.7901 GB, free: 6.258 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.665e-06/0.2001, allocations: 7.984 kB / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.2001, allocations: 0 / 0.7901 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003031/0.2004, allocations: 303.4 kB / 0.7904 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.79e-05/0.2005, allocations: 104.8 kB / 0.7905 GB, free: 5.805 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.2005, allocations: 7.984 kB / 0.7905 GB, free: 5.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/0.2006, allocations: 4 kB / 0.7905 GB, free: 5.793 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.177e-05/0.2006, allocations: 4 kB / 0.7905 GB, free: 5.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.748e-05/0.2006, allocations: 8 kB / 0.7905 GB, free: 5.781 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001031/0.2007, allocations: 157.1 kB / 0.7907 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2007, allocations: 0 / 0.7907 GB, free: 5.629 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002345/0.201, allocations: 36 kB / 0.7907 GB, free: 5.594 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 (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.0006002/0.2016, allocations: 0.8711 MB / 0.7916 GB, free: 4.688 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002513/0.2018, allocations: 219.4 kB / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2019, allocations: 0 / 0.7918 GB, free: 4.461 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001213/0.202, allocations: 159.4 kB / 0.7919 GB, free: 4.293 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002084/0.2022, allocations: 22.3 kB / 0.7919 GB, free: 4.273 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00181/0.204, allocations: 2.089 MB / 0.794 GB, free: 2.074 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.2042, allocations: 0.72 MB / 0.7947 GB, free: 1.328 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.964e-05/0.2043, allocations: 3.984 kB / 0.7947 GB, free: 1.324 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.558e-05/0.2043, allocations: 35.42 kB / 0.7947 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.2043, allocations: 0 / 0.7947 GB, free: 1.289 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01723/0.2216, allocations: 3.045 MB / 0.7977 GB, free: 14.39 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.432/7.654, allocations: 7.062 kB / 0.7977 GB, free: 14.39 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)