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.0008247/0.0008248, allocations: 98.19 kB / 15.36 MB, free: 0.7344 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.004773/0.004773, allocations: 168.7 kB / 16.26 MB, free: 6.652 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.181/1.181, allocations: 205.4 MB / 222.4 MB, free: 5.805 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.491/1.491, allocations: 292.7 MB / 0.5502 GB, free: 14.48 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.0004514/0.0004514, allocations: 19.27 kB / 0.6744 GB, free: 25.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1749/0.1753, allocations: 116.3 MB / 0.788 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001407/0.1768, allocations: 1.214 MB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009376/0.1777, allocations: 0.6293 MB / 0.7898 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.247e-05/0.1778, allocations: 3.938 kB / 0.7898 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.1779, allocations: 75.83 kB / 0.7899 GB, free: 9.555 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001413/0.1781, allocations: 79.81 kB / 0.79 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002398/0.1783, allocations: 75.48 kB / 0.79 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.1784, allocations: 91.8 kB / 0.7901 GB, free: 9.316 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.554e-05/0.1785, allocations: 4 kB / 0.7901 GB, free: 9.312 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001043/0.1786, allocations: 55.77 kB / 0.7902 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001199/0.1787, allocations: 87.83 kB / 0.7903 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.1788, allocations: 0 / 0.7903 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001093/0.1789, allocations: 79.92 kB / 0.7903 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.362e-05/0.1789, allocations: 19.92 kB / 0.7903 GB, free: 9.074 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.132e-05/0.179, allocations: 73.38 kB / 0.7904 GB, free: 8.996 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001592/0.1792, allocations: 131.8 kB / 0.7905 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1792, allocations: 0 / 0.7905 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.142e-06/0.1792, allocations: 0 / 0.7905 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.986e-06/0.1792, allocations: 0 / 0.7905 GB, free: 8.867 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.0004086/0.1796, allocations: 432.6 kB / 0.791 GB, free: 8.391 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.046e-05/0.1796, allocations: 12.03 kB / 0.791 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.161e-05/0.1797, allocations: 46.72 kB / 0.791 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.984e-05/0.1797, allocations: 16.75 kB / 0.791 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001611/0.1799, allocations: 204.8 kB / 0.7912 GB, free: 8.07 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.1799, allocations: 4.375 kB / 0.7912 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.1799, allocations: 4.375 kB / 0.7912 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.1801, allocations: 107.5 kB / 0.7913 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.761e-06/0.1801, allocations: 0 / 0.7913 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1801, allocations: 0 / 0.7913 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.441e-06/0.1801, allocations: 0 / 0.7913 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.446e-05/0.1802, allocations: 71.84 kB / 0.7914 GB, free: 7.875 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000305/0.1805, allocations: 301.7 kB / 0.7917 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.1806, allocations: 93.14 kB / 0.7918 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.809e-05/0.1807, allocations: 77.73 kB / 0.7919 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.623e-05/0.1807, allocations: 4 kB / 0.7919 GB, free: 7.332 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001745/0.1809, allocations: 150.7 kB / 0.792 GB, free: 7.16 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.122e-06/0.1809, allocations: 4 kB / 0.792 GB, free: 7.156 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003615/0.1813, allocations: 291.2 kB / 0.7923 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/0.1814, allocations: 118.9 kB / 0.7924 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001502/0.1815, allocations: 200.3 kB / 0.7926 GB, free: 6.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.492e-05/0.1815, allocations: 25.7 kB / 0.7926 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/0.1816, allocations: 112.1 kB / 0.7927 GB, free: 6.371 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.53e-05/0.1816, allocations: 23.7 kB / 0.7927 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-05/0.1817, allocations: 13.72 kB / 0.7928 GB, free: 6.328 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.1818, allocations: 330.8 kB / 0.7931 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.084e-05/0.1818, allocations: 55.97 kB / 0.7931 GB, free: 5.941 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.467e-05/0.1819, allocations: 69.69 kB / 0.7932 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001474/0.1821, allocations: 176.9 kB / 0.7934 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.1821, allocations: 0 / 0.7934 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002401/0.1823, allocations: 243.1 kB / 0.7936 GB, free: 5.426 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.803e-05/0.1823, allocations: 37.69 kB / 0.7936 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.446e-06/0.1824, allocations: 0 / 0.7936 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.125e-06/0.1824, allocations: 0 / 0.7936 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.646e-05/0.1824, allocations: 8 kB / 0.7936 GB, free: 5.375 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.1825, allocations: 4.031 kB / 0.7936 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.1825, allocations: 11.94 kB / 0.7936 GB, free: 5.359 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.1825, allocations: 11.92 kB / 0.7937 GB, free: 5.348 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.0001153/0.1827, allocations: 172.1 kB / 0.7938 GB, free: 5.164 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.329e-05/0.1827, allocations: 19.8 kB / 0.7938 GB, free: 5.145 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001254/0.1828, allocations: 67.03 kB / 0.7939 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.1828, allocations: 208 / 0.7939 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.1828, allocations: 8 kB / 0.7939 GB, free: 5.062 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1828, allocations: 7.969 kB / 0.7939 GB, free: 5.055 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.183, allocations: 213.5 kB / 0.7941 GB, free: 4.797 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.183, allocations: 7.938 kB / 0.7941 GB, free: 4.789 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.828e-05/0.1831, allocations: 4 kB / 0.7941 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.1831, allocations: 4 kB / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.007e-05/0.1831, allocations: 0 / 0.7941 GB, free: 4.781 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.886e-06/0.1831, allocations: 4 kB / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.1831, allocations: 0 / 0.7941 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000305/0.1834, allocations: 307.3 kB / 0.7944 GB, free: 4.449 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.18e-05/0.1835, allocations: 104.9 kB / 0.7945 GB, free: 4.328 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.1835, allocations: 4 kB / 0.7945 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.567e-05/0.1836, allocations: 4 kB / 0.7945 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.1836, allocations: 11.92 kB / 0.7946 GB, free: 4.309 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.617e-05/0.1836, allocations: 11.98 kB / 0.7946 GB, free: 4.297 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001038/0.1837, allocations: 153.1 kB / 0.7947 GB, free: 4.148 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1837, allocations: 4 kB / 0.7947 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002125/0.1839, allocations: 36 kB / 0.7948 GB, free: 4.109 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.0005624/0.1845, allocations: 0.8607 MB / 0.7956 GB, free: 3.211 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002259/0.1847, allocations: 215.3 kB / 0.7958 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1848, allocations: 4.062 kB / 0.7958 GB, free: 2.984 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001207/0.1849, allocations: 159.3 kB / 0.796 GB, free: 2.816 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001798/0.1851, allocations: 8 kB / 0.796 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001723/0.1868, allocations: 2.115 MB / 0.798 GB, free: 0.5859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002382/0.1871, allocations: 0.7158 MB / 0.7987 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 2.376e-05/0.1871, allocations: 4 kB / 0.7987 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.235e-05/0.1871, allocations: 39.42 kB / 0.7988 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of SimCode: time 2.21e-07/0.1871, allocations: 0 / 0.7988 GB, free: 15.8 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7852/0.9724, allocations: 2.788 MB / 0.8015 GB, free: 13.21 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002595/0.9726, allocations: 223 kB / 0.8017 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.532, allocations: 4.062 kB / 0.8017 GB, free: 12.95 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/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)