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.609/1.609, allocations: 252 MB / 267 MB, free: 10.98 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.001157/0.001157, allocations: 186.8 kB / 326.6 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.089/2.089, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0008161/0.0008163, allocations: 89.98 kB / 0.6822 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003419/0.0003419, allocations: 9.656 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2478/0.2482, allocations: 106.3 MB / 0.9003 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001753/0.25, allocations: 1.196 MB / 0.9015 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000896/0.2509, allocations: 0.5853 MB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.973e-05/0.251, allocations: 4 kB / 0.902 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.2511, allocations: 79.81 kB / 0.9021 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001746/0.2513, allocations: 79.81 kB / 0.9022 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002592/0.2516, allocations: 71.86 kB / 0.9023 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.796e-05/0.2516, allocations: 71.8 kB / 0.9023 GB, free: 61.72 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.134e-05/0.2517, allocations: 8 kB / 0.9023 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.979e-05/0.2518, allocations: 51.81 kB / 0.9024 GB, free: 61.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000101/0.2519, allocations: 75.84 kB / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.2519, allocations: 0 / 0.9025 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.2521, allocations: 67.94 kB / 0.9025 GB, free: 61.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.591e-05/0.2521, allocations: 27.91 kB / 0.9026 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.2522, allocations: 45.64 kB / 0.9026 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001373/0.2523, allocations: 91.84 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2523, allocations: 0 / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.945e-06/0.2523, allocations: 0 / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.2523, allocations: 3.938 kB / 0.9027 GB, free: 61.35 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.0004737/0.2528, allocations: 432.8 kB / 0.9031 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.823e-05/0.2529, allocations: 8.031 kB / 0.9031 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.086e-05/0.2529, allocations: 42.56 kB / 0.9032 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.933e-05/0.253, allocations: 19.77 kB / 0.9032 GB, free: 60.8 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001775/0.2531, allocations: 199.6 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.134e-05/0.2532, allocations: 3.984 kB / 0.9034 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.238e-05/0.2532, allocations: 4 kB / 0.9034 GB, free: 60.55 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000167/0.2533, allocations: 111.3 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.2534, allocations: 0 / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.125e-05/0.2534, allocations: 4 kB / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.2534, allocations: 0 / 0.9035 GB, free: 60.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.66e-05/0.2535, allocations: 67.89 kB / 0.9035 GB, free: 60.36 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003425/0.2538, allocations: 297.7 kB / 0.9038 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001083/0.254, allocations: 101.1 kB / 0.9039 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.343e-05/0.254, allocations: 69.75 kB / 0.904 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2541, allocations: 4 kB / 0.904 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002038/0.2543, allocations: 154.7 kB / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.2543, allocations: 0 / 0.9041 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003719/0.2547, allocations: 295 kB / 0.9044 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.2547, allocations: 110.8 kB / 0.9045 GB, free: 59.21 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001438/0.2549, allocations: 203.2 kB / 0.9047 GB, free: 59.01 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.206e-05/0.2549, allocations: 29.7 kB / 0.9047 GB, free: 58.97 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.599e-05/0.255, allocations: 112.1 kB / 0.9049 GB, free: 58.86 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.725e-05/0.255, allocations: 27.78 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.534e-06/0.255, allocations: 4 kB / 0.9049 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.563e-05/0.2551, allocations: 322.8 kB / 0.9052 GB, free: 58.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.435e-05/0.2551, allocations: 51.98 kB / 0.9052 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.637e-05/0.2552, allocations: 65.69 kB / 0.9053 GB, free: 58.38 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.963e-05/0.2553, allocations: 85.69 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.2553, allocations: 3.938 kB / 0.9054 GB, free: 58.29 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002153/0.2555, allocations: 235.1 kB / 0.9056 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.2555, allocations: 41.69 kB / 0.9057 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.2556, allocations: 0 / 0.9057 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.289e-05/0.2556, allocations: 4 kB / 0.9057 GB, free: 58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.974e-05/0.2556, allocations: 4 kB / 0.9057 GB, free: 57.99 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.2557, allocations: 7.953 kB / 0.9057 GB, free: 57.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.643e-05/0.2557, allocations: 11.89 kB / 0.9057 GB, free: 57.97 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.097e-05/0.2558, allocations: 4.031 kB / 0.9057 GB, free: 57.97 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001222/0.2559, allocations: 182 kB / 0.9059 GB, free: 57.78 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.486e-05/0.2559, allocations: 23.81 kB / 0.9059 GB, free: 57.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001344/0.2561, allocations: 63.03 kB / 0.9059 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.2561, allocations: 0 / 0.9059 GB, free: 57.69 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.2561, allocations: 3.984 kB / 0.9059 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.2561, allocations: 7.953 kB / 0.906 GB, free: 57.68 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001225/0.2562, allocations: 213.5 kB / 0.9062 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2562, allocations: 0 / 0.9062 GB, free: 57.42 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.26e-05/0.2563, allocations: 8 kB / 0.9062 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.2563, allocations: 0 / 0.9062 GB, free: 57.41 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.47e-05/0.2563, allocations: 8 kB / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.293e-06/0.2563, allocations: 0 / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.2563, allocations: 64 / 0.9062 GB, free: 57.4 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002621/0.2566, allocations: 307.3 kB / 0.9065 GB, free: 57.07 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.468e-05/0.2567, allocations: 104.9 kB / 0.9066 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.596e-05/0.2567, allocations: 8 kB / 0.9066 GB, free: 56.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.765e-05/0.2567, allocations: 4 kB / 0.9066 GB, free: 56.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.671e-05/0.2568, allocations: 8.125 kB / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.609e-05/0.2568, allocations: 7.938 kB / 0.9066 GB, free: 56.93 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.187e-05/0.2569, allocations: 149.2 kB / 0.9067 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2569, allocations: 0 / 0.9067 GB, free: 56.78 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002279/0.2571, allocations: 43.94 kB / 0.9068 GB, free: 56.74 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 (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.000563/0.2577, allocations: 0.8648 MB / 0.9076 GB, free: 55.84 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002414/0.258, allocations: 219.3 kB / 0.9078 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.258, allocations: 0 / 0.9078 GB, free: 55.61 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.000105/0.2581, allocations: 151.3 kB / 0.908 GB, free: 55.45 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002118/0.2583, allocations: 19.3 kB / 0.908 GB, free: 55.43 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.2595, allocations: 1.084 MB / 0.9091 GB, free: 54.29 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001798/0.2597, allocations: 0.7158 MB / 0.9098 GB, free: 53.55 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.314e-05/0.2598, allocations: 11.98 kB / 0.9098 GB, free: 53.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.576e-05/0.2598, allocations: 27.44 kB / 0.9098 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of SimCode: time 2.11e-07/0.2598, allocations: 0 / 0.9098 GB, free: 53.51 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01354/0.2734, allocations: 2.801 MB / 0.9125 GB, free: 50.94 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001629/0.2736, allocations: 239.1 kB / 0.9128 GB, free: 50.68 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.93/2.204, allocations: 5.188 kB / 0.9128 GB, free: 50.68 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)