Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.368/1.368, allocations: 252 MB / 267.3 MB, free: 10.85 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001229/0.001229, allocations: 168.3 kB / 327 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.61/1.61, allocations: 205.4 MB / 0.578 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007256/0.0007258, allocations: 86.34 kB / 0.6826 GB, free: 12.79 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 12.08 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1944, allocations: 106.3 MB / 0.9009 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001773/0.1962, allocations: 1.211 MB / 0.9021 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.1973, allocations: 0.6318 MB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.276e-05/0.1974, allocations: 7.938 kB / 0.9027 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001366/0.1976, allocations: 75.83 kB / 0.9028 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001681/0.1977, allocations: 75.81 kB / 0.9029 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003431/0.1981, allocations: 77.86 kB / 0.9029 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0001481/0.1983, allocations: 87.8 kB / 0.903 GB, free: 61.24 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.1984, allocations: 12 kB / 0.903 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001604/0.1985, allocations: 55.81 kB / 0.9031 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001621/0.1987, allocations: 87.78 kB / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.116e-05/0.1987, allocations: 0 / 0.9032 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001369/0.1989, allocations: 75.88 kB / 0.9032 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 6.536e-05/0.199, allocations: 27.91 kB / 0.9033 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 7.728e-05/0.199, allocations: 73.38 kB / 0.9033 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000196/0.1993, allocations: 131.6 kB / 0.9035 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.948e-06/0.1993, allocations: 0 / 0.9035 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.453e-06/0.1993, allocations: 0 / 0.9035 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.1993, allocations: 0 / 0.9035 GB, free: 60.78 MB / 0.6042 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.0004724/0.1998, allocations: 427.6 kB / 0.9039 GB, free: 60.31 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.395e-05/0.1998, allocations: 12.03 kB / 0.9039 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.756e-05/0.1999, allocations: 34.75 kB / 0.9039 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.68e-05/0.1999, allocations: 20.75 kB / 0.9039 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001643/0.2001, allocations: 208.8 kB / 0.9041 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.266e-05/0.2001, allocations: 8.375 kB / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.2001, allocations: 384 / 0.9041 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001641/0.2003, allocations: 111.4 kB / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2003, allocations: 0 / 0.9042 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.315e-05/0.2003, allocations: 4 kB / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.41e-06/0.2003, allocations: 3.984 kB / 0.9043 GB, free: 59.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.19e-05/0.2004, allocations: 55.97 kB / 0.9043 GB, free: 59.8 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.2008, allocations: 305.7 kB / 0.9046 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.2009, allocations: 93.19 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.815e-05/0.201, allocations: 69.75 kB / 0.9048 GB, free: 59.27 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.959e-05/0.201, allocations: 12.08 kB / 0.9048 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002548/0.2013, allocations: 146.8 kB / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 2.044e-06/0.2013, allocations: 0 / 0.9049 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0004057/0.2017, allocations: 303 kB / 0.9052 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.2018, allocations: 118.7 kB / 0.9053 GB, free: 58.64 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001362/0.2019, allocations: 203.2 kB / 0.9055 GB, free: 58.43 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.215e-05/0.2019, allocations: 29.7 kB / 0.9055 GB, free: 58.4 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.587e-05/0.202, allocations: 112 kB / 0.9056 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.894e-05/0.202, allocations: 23.66 kB / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.442e-06/0.202, allocations: 0 / 0.9057 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.283e-05/0.2021, allocations: 334.8 kB / 0.906 GB, free: 57.93 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.306e-05/0.2022, allocations: 51.98 kB / 0.906 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.561e-05/0.2022, allocations: 73.56 kB / 0.9061 GB, free: 57.8 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001642/0.2024, allocations: 177.1 kB / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2024, allocations: 0 / 0.9063 GB, free: 57.61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002219/0.2026, allocations: 239.1 kB / 0.9065 GB, free: 57.36 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.275e-05/0.2027, allocations: 37.69 kB / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/0.2027, allocations: 0 / 0.9065 GB, free: 57.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.496e-05/0.2027, allocations: 4 kB / 0.9065 GB, free: 57.31 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.627e-05/0.2028, allocations: 8 kB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.804e-06/0.2028, allocations: 7.984 kB / 0.9066 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.204e-05/0.2029, allocations: 7.938 kB / 0.9066 GB, free: 57.29 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.04e-05/0.2029, allocations: 4.031 kB / 0.9066 GB, free: 57.29 MB / 0.6042 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.203, allocations: 179.5 kB / 0.9067 GB, free: 57.09 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.117e-05/0.2031, allocations: 15.81 kB / 0.9067 GB, free: 57.08 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001379/0.2032, allocations: 63.08 kB / 0.9068 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.2032, allocations: 0 / 0.9068 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.2032, allocations: 4 kB / 0.9068 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2032, allocations: 4 kB / 0.9068 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001295/0.2034, allocations: 225.4 kB / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-06/0.2034, allocations: 0 / 0.907 GB, free: 56.73 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.368e-05/0.2034, allocations: 15.88 kB / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.2034, allocations: 0 / 0.907 GB, free: 56.72 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.328e-05/0.2035, allocations: 7.938 kB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.2035, allocations: 3.984 kB / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.2035, allocations: 0 / 0.9071 GB, free: 56.71 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002754/0.2038, allocations: 303.5 kB / 0.9073 GB, free: 56.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.745e-05/0.2038, allocations: 101 kB / 0.9074 GB, free: 56.27 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.812e-05/0.2039, allocations: 8.141 kB / 0.9075 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.574e-05/0.2039, allocations: 0 / 0.9075 GB, free: 56.26 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.779e-05/0.204, allocations: 15.97 kB / 0.9075 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.737e-05/0.204, allocations: 4 kB / 0.9075 GB, free: 56.24 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.27e-05/0.2041, allocations: 149.2 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2041, allocations: 3.938 kB / 0.9076 GB, free: 56.09 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002241/0.2043, allocations: 43.98 kB / 0.9077 GB, free: 56.05 MB / 0.6042 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.0004879/0.2048, allocations: 0.8646 MB / 0.9085 GB, free: 55.14 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002452/0.2051, allocations: 215.3 kB / 0.9087 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2051, allocations: 0 / 0.9087 GB, free: 54.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.851e-05/0.2052, allocations: 159.4 kB / 0.9089 GB, free: 54.75 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.2054, allocations: 15.05 kB / 0.9089 GB, free: 54.74 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001537/0.207, allocations: 2.104 MB / 0.9109 GB, free: 52.53 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001387/0.2071, allocations: 0.718 MB / 0.9116 GB, free: 51.79 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.202e-05/0.2071, allocations: 7.984 kB / 0.9116 GB, free: 51.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.394e-05/0.2072, allocations: 31.44 kB / 0.9117 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of SimCode: time 4.21e-07/0.2072, allocations: 0 / 0.9117 GB, free: 51.75 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01163/0.2188, allocations: 2.794 MB / 0.9144 GB, free: 49.18 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001542/0.219, allocations: 244.1 kB / 0.9146 GB, free: 48.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.769/1.988, allocations: 0 / 0.9146 GB, free: 48.91 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)