Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.633/2.633, allocations: 287.3 MB / 302.3 MB, free: 8.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001543/0.001543, allocations: 188 kB / 370.8 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.193/2.193, allocations: 205.4 MB / 0.6295 GB, free: 10.6 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001111/0.00111, allocations: 101.5 kB / 0.7428 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005162, allocations: 11.2 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.22/0.2206, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001788/0.2224, allocations: 1.183 MB / 0.9794 GB, free: 27.09 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.00114/0.2236, allocations: 0.579 MB / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.519e-05/0.2237, allocations: 0 / 0.98 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0001563/0.2239, allocations: 75.81 kB / 0.9801 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001845/0.2241, allocations: 79.81 kB / 0.9802 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003549/0.2245, allocations: 65.8 kB / 0.9802 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0001124/0.2246, allocations: 63.89 kB / 0.9803 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.039e-05/0.2247, allocations: 8 kB / 0.9803 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001865/0.2249, allocations: 59.81 kB / 0.9803 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.225, allocations: 67.86 kB / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.865e-05/0.2251, allocations: 0 / 0.9804 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001381/0.2252, allocations: 67.92 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.2253, allocations: 19.92 kB / 0.9805 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 5.515e-05/0.2253, allocations: 45.64 kB / 0.9805 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001732/0.2255, allocations: 92.08 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.2255, allocations: 0 / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2256, allocations: 4 kB / 0.9806 GB, free: 25.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.749e-06/0.2256, allocations: 0 / 0.9806 GB, free: 25.87 MB / 0.6198 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.0005172/0.2261, allocations: 436.4 kB / 0.981 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.2261, allocations: 8.031 kB / 0.9811 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.704e-05/0.2262, allocations: 42.55 kB / 0.9811 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.2262, allocations: 19.77 kB / 0.9811 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001949/0.2264, allocations: 195.6 kB / 0.9813 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.375e-05/0.2265, allocations: 4 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.049e-05/0.2265, allocations: 4 kB / 0.9813 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002018/0.2267, allocations: 103.4 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.009e-05/0.2267, allocations: 0 / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.2268, allocations: 8 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.2268, allocations: 4 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.2269, allocations: 59.84 kB / 0.9815 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003962/0.2273, allocations: 317.5 kB / 0.9818 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001357/0.2275, allocations: 93.14 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.2275, allocations: 4.156 kB / 0.9819 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002369/0.2278, allocations: 150.8 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=10): time 2.134e-06/0.2278, allocations: 4 kB / 0.982 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10): time 0.0005513/0.2283, allocations: 368.3 kB / 0.9824 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/0.2284, allocations: 122.7 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002049/0.2286, allocations: 203.1 kB / 0.9827 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/0.2286, allocations: 25.7 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.102e-05/0.2287, allocations: 104.1 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.594e-05/0.2288, allocations: 23.7 kB / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.777e-06/0.2288, allocations: 0 / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.493e-05/0.2289, allocations: 331 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.078e-05/0.229, allocations: 55.97 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.334e-05/0.2291, allocations: 61.7 kB / 0.9833 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001076/0.2292, allocations: 77.69 kB / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.2292, allocations: 0 / 0.9833 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000352/0.2296, allocations: 243.1 kB / 0.9836 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.2296, allocations: 37.7 kB / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.2296, allocations: 96 / 0.9836 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.495e-05/0.2297, allocations: 12.02 kB / 0.9836 GB, free: 22.49 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000124/0.2298, allocations: 7.984 kB / 0.9836 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.935e-06/0.2298, allocations: 8.188 kB / 0.9836 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001117/0.2299, allocations: 7.938 kB / 0.9836 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.717e-05/0.23, allocations: 7.938 kB / 0.9836 GB, free: 22.46 MB / 0.6198 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.0001505/0.2301, allocations: 175.6 kB / 0.9838 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.101e-05/0.2302, allocations: 19.75 kB / 0.9838 GB, free: 22.25 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000181/0.2304, allocations: 75.02 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.2304, allocations: 0 / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.2304, allocations: 4 kB / 0.9839 GB, free: 22.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.2304, allocations: 3.953 kB / 0.9839 GB, free: 22.17 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.2306, allocations: 213.5 kB / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2306, allocations: 0 / 0.9841 GB, free: 21.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.692e-05/0.2307, allocations: 11.94 kB / 0.9841 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.2307, allocations: 0 / 0.9841 GB, free: 21.9 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.976e-05/0.2308, allocations: 7.984 kB / 0.9841 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2308, allocations: 0 / 0.9841 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2308, allocations: 7.984 kB / 0.9841 GB, free: 21.89 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004184/0.2312, allocations: 313.1 kB / 0.9844 GB, free: 21.55 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.189e-05/0.2313, allocations: 101 kB / 0.9845 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.795e-05/0.2314, allocations: 8 kB / 0.9845 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.443e-05/0.2315, allocations: 0 / 0.9845 GB, free: 21.42 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.083e-05/0.2315, allocations: 15.94 kB / 0.9846 GB, free: 21.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.699e-05/0.2316, allocations: 4 kB / 0.9846 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001472/0.2317, allocations: 157.1 kB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.403e-06/0.2317, allocations: 3.938 kB / 0.9847 GB, free: 21.25 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003377/0.2321, allocations: 39.94 kB / 0.9847 GB, free: 21.21 MB / 0.6198 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.0007926/0.2329, allocations: 0.9392 MB / 0.9857 GB, free: 20.23 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003327/0.2332, allocations: 219.3 kB / 0.9859 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2332, allocations: 0 / 0.9859 GB, free: 20 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001668/0.2334, allocations: 151.4 kB / 0.986 GB, free: 19.84 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002273/0.2337, allocations: 16.12 kB / 0.986 GB, free: 19.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001729/0.2354, allocations: 1.212 MB / 0.9872 GB, free: 18.55 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000191/0.2356, allocations: 0.7197 MB / 0.9879 GB, free: 17.8 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.969e-05/0.2357, allocations: 11.88 kB / 0.9879 GB, free: 17.79 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.567e-05/0.2358, allocations: 43.42 kB / 0.988 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of SimCode: time 9.71e-07/0.2358, allocations: 0 / 0.988 GB, free: 17.75 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02215/0.2579, allocations: 2.77 MB / 0.9907 GB, free: 15.16 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002566/0.2583, allocations: 228 kB / 0.9909 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.557/2.816, allocations: 0 / 0.9909 GB, free: 14.91 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)