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.001086/0.001086, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.00107/0.00107, allocations: 201.6 kB / 16.26 MB, free: 6.621 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.125/1.125, allocations: 205.1 MB / 222.1 MB, free: 4.715 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.486/1.486, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001253/0.001253, allocations: 71.42 kB / 0.6711 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.164, allocations: 114.5 MB / 0.783 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002231/0.1662, allocations: 1.557 MB / 0.7845 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0008288/0.1671, allocations: 0.6175 MB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.658e-05/0.1671, allocations: 3.938 kB / 0.7851 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001156/0.1672, allocations: 71.88 kB / 0.7852 GB, free: 11.56 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001456/0.1674, allocations: 83.81 kB / 0.7852 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002653/0.1677, allocations: 79.86 kB / 0.7853 GB, free: 11.4 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001172/0.1678, allocations: 107.7 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.24e-05/0.1679, allocations: 8 kB / 0.7854 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001077/0.168, allocations: 59.81 kB / 0.7855 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001062/0.1681, allocations: 87.84 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1681, allocations: 4 kB / 0.7856 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000107/0.1682, allocations: 79.92 kB / 0.7856 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.713e-05/0.1683, allocations: 23.92 kB / 0.7857 GB, free: 11.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.086e-05/0.1683, allocations: 47.66 kB / 0.7857 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1685, allocations: 131.8 kB / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.1685, allocations: 0 / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.284e-06/0.1685, allocations: 0 / 0.7858 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.1685, allocations: 3.938 kB / 0.7858 GB, free: 10.86 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.0004309/0.1689, allocations: 456.5 kB / 0.7863 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.378e-05/0.169, allocations: 12.03 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.585e-05/0.169, allocations: 34.75 kB / 0.7863 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.1691, allocations: 16.75 kB / 0.7863 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001571/0.1692, allocations: 204.8 kB / 0.7865 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.938e-06/0.1692, allocations: 4.375 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.436e-05/0.1693, allocations: 8.312 kB / 0.7865 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.1694, allocations: 115.4 kB / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.342e-06/0.1694, allocations: 0 / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.336e-06/0.1694, allocations: 0 / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-06/0.1694, allocations: 0 / 0.7867 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.432e-05/0.1695, allocations: 63.97 kB / 0.7867 GB, free: 9.848 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002996/0.1698, allocations: 297.7 kB / 0.787 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.17, allocations: 101.1 kB / 0.7871 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.405e-05/0.17, allocations: 73.75 kB / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.531e-05/0.1701, allocations: 0 / 0.7872 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001738/0.1702, allocations: 154.9 kB / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1703, allocations: 4 kB / 0.7873 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0003678/0.1706, allocations: 295.1 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.219e-05/0.1707, allocations: 110.9 kB / 0.7877 GB, free: 8.695 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1708, allocations: 200.3 kB / 0.7879 GB, free: 8.492 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.273e-05/0.1709, allocations: 29.7 kB / 0.7879 GB, free: 8.457 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.796e-05/0.1709, allocations: 108.1 kB / 0.788 GB, free: 8.348 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.637e-05/0.1709, allocations: 23.62 kB / 0.7881 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.06e-05/0.171, allocations: 25.7 kB / 0.7881 GB, free: 8.293 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.1711, allocations: 334.8 kB / 0.7884 GB, free: 7.957 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.842e-05/0.1712, allocations: 51.97 kB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.069e-05/0.1712, allocations: 65.7 kB / 0.7885 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001479/0.1714, allocations: 185 kB / 0.7887 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.1714, allocations: 0 / 0.7887 GB, free: 7.637 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002395/0.1716, allocations: 247.1 kB / 0.7889 GB, free: 7.383 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.1717, allocations: 37.69 kB / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.1717, allocations: 0 / 0.789 GB, free: 7.34 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.909e-06/0.1717, allocations: 4 kB / 0.789 GB, free: 7.336 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.238e-05/0.1718, allocations: 7.938 kB / 0.789 GB, free: 7.328 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1718, allocations: 8.266 kB / 0.789 GB, free: 7.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.354e-05/0.1718, allocations: 7.938 kB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.1719, allocations: 0 / 0.789 GB, free: 7.312 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.0001121/0.172, allocations: 180.1 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.355e-05/0.172, allocations: 19.81 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001235/0.1721, allocations: 67.02 kB / 0.7892 GB, free: 7.027 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1722, allocations: 4 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.936e-06/0.1722, allocations: 0 / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.1722, allocations: 4 kB / 0.7892 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001447/0.1723, allocations: 217.4 kB / 0.7895 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.1723, allocations: 0 / 0.7895 GB, free: 6.758 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.194e-05/0.1724, allocations: 11.98 kB / 0.7895 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1724, allocations: 0 / 0.7895 GB, free: 6.746 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.348e-05/0.1724, allocations: 8 kB / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1724, allocations: 0 / 0.7895 GB, free: 6.738 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.1724, allocations: 3.984 kB / 0.7895 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002946/0.1727, allocations: 307.5 kB / 0.7898 GB, free: 6.406 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.754e-05/0.1728, allocations: 100.8 kB / 0.7899 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.1728, allocations: 8 kB / 0.7899 GB, free: 6.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.277e-05/0.1729, allocations: 3.984 kB / 0.7899 GB, free: 6.277 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.761e-05/0.1729, allocations: 4 kB / 0.7899 GB, free: 6.273 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.435e-05/0.1729, allocations: 4 kB / 0.7899 GB, free: 6.27 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001055/0.173, allocations: 161.1 kB / 0.79 GB, free: 6.113 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.41e-07/0.173, allocations: 4 kB / 0.79 GB, free: 6.109 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000208/0.1732, allocations: 36 kB / 0.7901 GB, free: 6.074 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.0005821/0.1738, allocations: 0.8645 MB / 0.7909 GB, free: 5.172 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002353/0.1741, allocations: 223.3 kB / 0.7911 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.1741, allocations: 4.062 kB / 0.7911 GB, free: 4.938 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001234/0.1742, allocations: 151.6 kB / 0.7913 GB, free: 4.777 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001795/0.1744, allocations: 20.11 kB / 0.7913 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.1762, allocations: 2.117 MB / 0.7934 GB, free: 2.543 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002434/0.1764, allocations: 0.7158 MB / 0.7941 GB, free: 1.801 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.906e-05/0.1765, allocations: 15.89 kB / 0.7941 GB, free: 1.785 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.582e-05/0.1765, allocations: 35.42 kB / 0.7941 GB, free: 1.754 MB / 0.6075 GB Notification: Performance of SimCode: time 5.21e-07/0.1765, allocations: 3.938 kB / 0.7941 GB, free: 1.75 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.518/2.694, allocations: 2.931 MB / 0.797 GB, free: 15 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002388/2.695, allocations: 230.5 kB / 0.7972 GB, free: 14.74 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.494/5.189, allocations: 11.38 kB / 0.7972 GB, free: 14.73 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)