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.001092/0.001092, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001072/0.001072, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.109/1.109, allocations: 205.1 MB / 222 MB, free: 4.961 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.475/1.475, allocations: 292.3 MB / 0.5484 GB, free: 13.62 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.001237/0.001237, allocations: 70.91 kB / 0.6709 GB, free: 26.18 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.1615, allocations: 114.5 MB / 0.7828 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002201/0.1637, allocations: 1.561 MB / 0.7843 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000836/0.1646, allocations: 0.6331 MB / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.095e-05/0.1646, allocations: 0 / 0.7849 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001264/0.1648, allocations: 79.88 kB / 0.785 GB, free: 11.6 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001383/0.1649, allocations: 79.81 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.1652, allocations: 71.86 kB / 0.7852 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.035e-05/0.1653, allocations: 83.75 kB / 0.7852 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.8e-05/0.1653, allocations: 15.98 kB / 0.7852 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001013/0.1655, allocations: 51.83 kB / 0.7853 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001245/0.1656, allocations: 87.84 kB / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.1656, allocations: 0 / 0.7854 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1657, allocations: 79.84 kB / 0.7855 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.545e-05/0.1658, allocations: 27.86 kB / 0.7855 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.152e-05/0.1658, allocations: 43.67 kB / 0.7855 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001596/0.166, allocations: 135.9 kB / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.016e-06/0.166, allocations: 0 / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.52e-07/0.166, allocations: 0 / 0.7857 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.015e-06/0.166, allocations: 0 / 0.7857 GB, free: 10.93 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.0004333/0.1665, allocations: 456.5 kB / 0.7861 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.1665, allocations: 12.03 kB / 0.7861 GB, free: 10.42 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.794e-05/0.1665, allocations: 34.69 kB / 0.7861 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.151e-05/0.1666, allocations: 16.75 kB / 0.7862 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1667, allocations: 196.9 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.746e-06/0.1667, allocations: 4.375 kB / 0.7863 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.1668, allocations: 8.359 kB / 0.7864 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001554/0.1669, allocations: 115.4 kB / 0.7865 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.301e-06/0.1669, allocations: 3.938 kB / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.167, allocations: 0 / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.486e-06/0.167, allocations: 0 / 0.7865 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.006e-05/0.167, allocations: 59.97 kB / 0.7865 GB, free: 9.934 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.1674, allocations: 309.6 kB / 0.7868 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001048/0.1675, allocations: 97.17 kB / 0.7869 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.469e-05/0.1676, allocations: 73.75 kB / 0.787 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.56e-05/0.1676, allocations: 3.938 kB / 0.787 GB, free: 9.383 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001672/0.1678, allocations: 150.8 kB / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.022e-06/0.1678, allocations: 0 / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.000372/0.1682, allocations: 303 kB / 0.7874 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/0.1682, allocations: 106.8 kB / 0.7875 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.1684, allocations: 200.3 kB / 0.7877 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.1684, allocations: 25.7 kB / 0.7877 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.1684, allocations: 120.2 kB / 0.7878 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.614e-05/0.1685, allocations: 23.86 kB / 0.7879 GB, free: 8.395 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.1685, allocations: 25.7 kB / 0.7879 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.497e-05/0.1686, allocations: 326.8 kB / 0.7882 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.766e-05/0.1687, allocations: 51.98 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.454e-05/0.1688, allocations: 77.56 kB / 0.7883 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001468/0.1689, allocations: 181.1 kB / 0.7885 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.1689, allocations: 0 / 0.7885 GB, free: 7.707 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002393/0.1692, allocations: 239.1 kB / 0.7887 GB, free: 7.461 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.1692, allocations: 41.64 kB / 0.7888 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1692, allocations: 0 / 0.7888 GB, free: 7.414 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.107e-06/0.1692, allocations: 4 kB / 0.7888 GB, free: 7.41 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.432e-05/0.1693, allocations: 7.984 kB / 0.7888 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.093e-06/0.1693, allocations: 7.938 kB / 0.7888 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.641e-05/0.1694, allocations: 3.938 kB / 0.7888 GB, free: 7.391 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.1694, allocations: 4 kB / 0.7888 GB, free: 7.387 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.0001118/0.1695, allocations: 179.5 kB / 0.789 GB, free: 7.195 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.503e-05/0.1695, allocations: 19.81 kB / 0.789 GB, free: 7.176 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.1697, allocations: 67.08 kB / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.572e-06/0.1697, allocations: 0 / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-06/0.1697, allocations: 0 / 0.7891 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.1697, allocations: 4 kB / 0.7891 GB, free: 7.098 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/0.1698, allocations: 213.5 kB / 0.7893 GB, free: 6.84 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.021e-06/0.1698, allocations: 4 kB / 0.7893 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.162e-05/0.1699, allocations: 15.92 kB / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.1699, allocations: 0 / 0.7893 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.1699, allocations: 8 kB / 0.7893 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1699, allocations: 0 / 0.7893 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.1699, allocations: 0 / 0.7893 GB, free: 6.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002969/0.1702, allocations: 307.4 kB / 0.7896 GB, free: 6.484 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 5.934e-05/0.1703, allocations: 101 kB / 0.7897 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.269e-05/0.1703, allocations: 0 / 0.7897 GB, free: 6.367 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.289e-05/0.1704, allocations: 11.98 kB / 0.7897 GB, free: 6.355 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.901e-05/0.1704, allocations: 4 kB / 0.7897 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.375e-05/0.1704, allocations: 4 kB / 0.7897 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 9.961e-05/0.1706, allocations: 161.1 kB / 0.7898 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1706, allocations: 0 / 0.7898 GB, free: 6.191 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002105/0.1708, allocations: 40 kB / 0.7899 GB, free: 6.152 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.0005712/0.1713, allocations: 0.8705 MB / 0.7907 GB, free: 5.25 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002308/0.1716, allocations: 223.3 kB / 0.791 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.1716, allocations: 3.938 kB / 0.791 GB, free: 5.016 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.1717, allocations: 147.4 kB / 0.7911 GB, free: 4.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.1719, allocations: 16.06 kB / 0.7911 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00173/0.1736, allocations: 2.109 MB / 0.7932 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002284/0.1739, allocations: 0.7158 MB / 0.7939 GB, free: 1.891 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.502e-05/0.1739, allocations: 11.92 kB / 0.7939 GB, free: 1.879 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.174, allocations: 27.44 kB / 0.7939 GB, free: 1.855 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.174, allocations: 4 kB / 0.7939 GB, free: 1.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01133/0.1853, allocations: 2.852 MB / 0.7967 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002034/0.1855, allocations: 232.9 kB / 0.7969 GB, free: 14.9 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.665/1.85, allocations: 4.812 kB / 0.7969 GB, free: 14.9 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)