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.001099/0.001099, allocations: 105.4 kB / 15.7 MB, free: 24 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.001108/0.001108, allocations: 197.4 kB / 16.64 MB, free: 6.453 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.356/1.356, allocations: 205.1 MB / 222.5 MB, free: 4.543 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.646/1.646, allocations: 292.3 MB / 0.549 GB, free: 12.72 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.00148/0.00148, allocations: 72.16 kB / 0.6718 GB, free: 26.23 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2175, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002923/0.2204, allocations: 1.488 MB / 0.7851 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0009884/0.2214, allocations: 0.6135 MB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.205e-05/0.2215, allocations: 3.938 kB / 0.7857 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001434/0.2217, allocations: 79.81 kB / 0.7858 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001707/0.2219, allocations: 83.81 kB / 0.7859 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003481/0.2222, allocations: 95.33 kB / 0.7859 GB, free: 10.86 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001439/0.2224, allocations: 95.75 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 8.332e-05/0.2225, allocations: 15.97 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001139/0.2226, allocations: 55.88 kB / 0.7861 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001433/0.2228, allocations: 91.84 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.617e-05/0.2228, allocations: 4 kB / 0.7862 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001227/0.2229, allocations: 75.88 kB / 0.7863 GB, free: 10.52 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.295e-05/0.223, allocations: 31.84 kB / 0.7863 GB, free: 10.49 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 5.231e-05/0.223, allocations: 39.69 kB / 0.7863 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001943/0.2232, allocations: 143.9 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2232, allocations: 0 / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2232, allocations: 3.938 kB / 0.7865 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2233, allocations: 0 / 0.7865 GB, free: 10.31 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.0005127/0.2238, allocations: 452.5 kB / 0.7869 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.2238, allocations: 12.03 kB / 0.7869 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.2239, allocations: 38.67 kB / 0.787 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.081e-05/0.2239, allocations: 20.75 kB / 0.787 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002358/0.2241, allocations: 200.8 kB / 0.7872 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2242, allocations: 8.375 kB / 0.7872 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.2242, allocations: 4.375 kB / 0.7872 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001812/0.2244, allocations: 107.5 kB / 0.7873 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.2244, allocations: 0 / 0.7873 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2244, allocations: 4 kB / 0.7873 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.562e-06/0.2244, allocations: 3.984 kB / 0.7873 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.033e-05/0.2245, allocations: 63.91 kB / 0.7873 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003512/0.2249, allocations: 301.7 kB / 0.7876 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001122/0.225, allocations: 97.14 kB / 0.7877 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.057e-05/0.2251, allocations: 77.73 kB / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.906e-05/0.2251, allocations: 0 / 0.7878 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001816/0.2253, allocations: 146.8 kB / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.042e-06/0.2253, allocations: 0 / 0.7879 GB, free: 8.59 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004198/0.2257, allocations: 303.2 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.012e-05/0.2258, allocations: 114.8 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.226, allocations: 204.1 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.716e-05/0.226, allocations: 25.7 kB / 0.7886 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.153e-05/0.2261, allocations: 104.1 kB / 0.7887 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.343e-05/0.2261, allocations: 35.48 kB / 0.7887 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.465e-05/0.2262, allocations: 21.72 kB / 0.7887 GB, free: 7.738 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.2263, allocations: 334.8 kB / 0.789 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.117e-05/0.2263, allocations: 52.11 kB / 0.7891 GB, free: 7.352 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.312e-05/0.2264, allocations: 73.62 kB / 0.7892 GB, free: 7.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001488/0.2266, allocations: 173 kB / 0.7893 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.2266, allocations: 4 kB / 0.7893 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002533/0.2268, allocations: 239.1 kB / 0.7896 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.493e-05/0.2269, allocations: 37.69 kB / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.2269, allocations: 0 / 0.7896 GB, free: 6.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.2269, allocations: 8.031 kB / 0.7896 GB, free: 6.785 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.809e-05/0.227, allocations: 7.938 kB / 0.7896 GB, free: 6.777 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.227, allocations: 8.219 kB / 0.7896 GB, free: 6.77 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.328e-05/0.2271, allocations: 7.938 kB / 0.7896 GB, free: 6.762 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.316e-05/0.2271, allocations: 4 kB / 0.7896 GB, free: 6.758 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.0001255/0.2272, allocations: 175.5 kB / 0.7898 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.2273, allocations: 15.81 kB / 0.7898 GB, free: 6.555 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001332/0.2274, allocations: 71.08 kB / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.993e-06/0.2274, allocations: 0 / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.2274, allocations: 0 / 0.7899 GB, free: 6.477 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.2274, allocations: 7.938 kB / 0.7899 GB, free: 6.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001584/0.2276, allocations: 221.4 kB / 0.7901 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.2276, allocations: 0 / 0.7901 GB, free: 6.203 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.163e-05/0.2276, allocations: 4 kB / 0.7901 GB, free: 6.199 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.2277, allocations: 4 kB / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.186e-05/0.2277, allocations: 0 / 0.7901 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/0.2277, allocations: 12.05 kB / 0.7901 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.463e-06/0.2277, allocations: 3.984 kB / 0.7901 GB, free: 6.18 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003068/0.228, allocations: 303.4 kB / 0.7904 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 7.126e-05/0.2281, allocations: 105 kB / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.518e-05/0.2281, allocations: 0 / 0.7905 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.723e-05/0.2282, allocations: 4 kB / 0.7905 GB, free: 5.73 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.758e-05/0.2282, allocations: 15.91 kB / 0.7905 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.992e-05/0.2283, allocations: 8 kB / 0.7905 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001059/0.2284, allocations: 157.1 kB / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2284, allocations: 0 / 0.7907 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002367/0.2286, allocations: 39.98 kB / 0.7907 GB, free: 5.516 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.0006345/0.2293, allocations: 0.8607 MB / 0.7916 GB, free: 4.617 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002718/0.2295, allocations: 231.2 kB / 0.7918 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2296, allocations: 0 / 0.7918 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001314/0.2297, allocations: 155.3 kB / 0.7919 GB, free: 4.215 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000211/0.2299, allocations: 8 kB / 0.7919 GB, free: 4.207 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001934/0.2319, allocations: 2.096 MB / 0.794 GB, free: 2.004 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002574/0.2321, allocations: 0.7158 MB / 0.7947 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.079e-05/0.2322, allocations: 0 / 0.7947 GB, free: 1.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.982e-05/0.2323, allocations: 39.42 kB / 0.7947 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of SimCode: time 4.01e-07/0.2323, allocations: 0 / 0.7947 GB, free: 1.223 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01939/0.2517, allocations: 3.046 MB / 0.7977 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.66/7.912, allocations: 7.188 kB / 0.7977 GB, free: 14.32 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)