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.491/1.491, allocations: 251.9 MB / 266.9 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.001215/0.001215, allocations: 179.3 kB / 326.5 MB, free: 2.242 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.946/1.946, allocations: 205.4 MB / 0.5775 GB, free: 20.34 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.0009/0.0009, allocations: 93.94 kB / 0.6821 GB, free: 12.91 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000365/0.0003651, allocations: 9.969 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2532, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001578/0.2548, allocations: 1.188 MB / 0.9013 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0008774/0.2557, allocations: 0.5901 MB / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.76e-05/0.2558, allocations: 0 / 0.9019 GB, free: 62.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001346/0.2559, allocations: 75.81 kB / 0.902 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.2561, allocations: 71.86 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002837/0.2564, allocations: 75.8 kB / 0.9021 GB, free: 61.86 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.362e-05/0.2565, allocations: 55.91 kB / 0.9022 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.872e-05/0.2566, allocations: 4 kB / 0.9022 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001237/0.2567, allocations: 59.81 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001308/0.2569, allocations: 71.84 kB / 0.9023 GB, free: 61.68 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.391e-05/0.2569, allocations: 4 kB / 0.9023 GB, free: 61.67 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.939e-05/0.257, allocations: 55.94 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.133e-05/0.257, allocations: 27.92 kB / 0.9024 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 5.75e-05/0.2571, allocations: 53.61 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001385/0.2572, allocations: 99.78 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.2573, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.465e-06/0.2573, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.2573, allocations: 0 / 0.9025 GB, free: 61.43 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.0004447/0.2577, allocations: 430.9 kB / 0.9029 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.2578, allocations: 8.031 kB / 0.9029 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.616e-05/0.2578, allocations: 34.56 kB / 0.903 GB, free: 60.91 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.436e-05/0.2578, allocations: 19.77 kB / 0.903 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001647/0.258, allocations: 203.5 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/0.258, allocations: 4 kB / 0.9032 GB, free: 60.65 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.448e-05/0.2581, allocations: 8 kB / 0.9032 GB, free: 60.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.2582, allocations: 103.4 kB / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.2582, allocations: 0 / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.2583, allocations: 0 / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.2583, allocations: 0 / 0.9033 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.907e-05/0.2584, allocations: 63.91 kB / 0.9033 GB, free: 60.46 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003398/0.2587, allocations: 301.8 kB / 0.9036 GB, free: 60.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.2588, allocations: 101.1 kB / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.077e-05/0.2589, allocations: 0 / 0.9037 GB, free: 60 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002008/0.2591, allocations: 150.8 kB / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.323e-06/0.2591, allocations: 0 / 0.9039 GB, free: 59.83 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0003871/0.2595, allocations: 380.2 kB / 0.9042 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.14e-05/0.2595, allocations: 106.8 kB / 0.9043 GB, free: 59.3 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2597, allocations: 203.1 kB / 0.9045 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.463e-05/0.2597, allocations: 37.64 kB / 0.9046 GB, free: 59.05 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.767e-05/0.2597, allocations: 108.2 kB / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.329e-05/0.2598, allocations: 27.66 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.632e-06/0.2598, allocations: 4 kB / 0.9047 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.987e-05/0.2598, allocations: 326.8 kB / 0.905 GB, free: 58.58 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.3e-05/0.2599, allocations: 47.97 kB / 0.9051 GB, free: 58.53 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.666e-05/0.26, allocations: 73.62 kB / 0.9051 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.395e-05/0.26, allocations: 77.69 kB / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.26, allocations: 4 kB / 0.9052 GB, free: 58.37 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002118/0.2603, allocations: 243.1 kB / 0.9054 GB, free: 58.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.408e-05/0.2603, allocations: 37.69 kB / 0.9055 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.2603, allocations: 0 / 0.9055 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.2603, allocations: 0 / 0.9055 GB, free: 58.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.763e-05/0.2604, allocations: 12 kB / 0.9055 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.464e-06/0.2604, allocations: 3.953 kB / 0.9055 GB, free: 58.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.687e-05/0.2605, allocations: 7.906 kB / 0.9055 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.058e-05/0.2605, allocations: 4 kB / 0.9055 GB, free: 58.05 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.000113/0.2607, allocations: 179.5 kB / 0.9057 GB, free: 57.86 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.159e-05/0.2607, allocations: 19.81 kB / 0.9057 GB, free: 57.84 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001314/0.2608, allocations: 67.08 kB / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.2608, allocations: 144 / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.2608, allocations: 0 / 0.9058 GB, free: 57.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.691e-06/0.2609, allocations: 7.938 kB / 0.9058 GB, free: 57.76 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001271/0.261, allocations: 217.5 kB / 0.906 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.261, allocations: 0 / 0.906 GB, free: 57.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.261, allocations: 11.98 kB / 0.906 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.846e-06/0.2611, allocations: 4 kB / 0.906 GB, free: 57.48 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.576e-05/0.2611, allocations: 7.938 kB / 0.906 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.2611, allocations: 0 / 0.906 GB, free: 57.47 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/0.2611, allocations: 8.062 kB / 0.906 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002725/0.2614, allocations: 313 kB / 0.9063 GB, free: 57.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.574e-05/0.2615, allocations: 100.9 kB / 0.9064 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.826e-05/0.2615, allocations: 11.98 kB / 0.9064 GB, free: 57 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.436e-05/0.2615, allocations: 4 kB / 0.9064 GB, free: 56.99 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.019e-05/0.2616, allocations: 11.95 kB / 0.9064 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.922e-05/0.2616, allocations: 4 kB / 0.9064 GB, free: 56.98 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 9.402e-05/0.2617, allocations: 153.2 kB / 0.9066 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2617, allocations: 0 / 0.9066 GB, free: 56.83 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002208/0.262, allocations: 40 kB / 0.9066 GB, free: 56.79 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.0005133/0.2625, allocations: 0.9502 MB / 0.9075 GB, free: 55.8 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002249/0.2627, allocations: 219.3 kB / 0.9077 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.2627, allocations: 0 / 0.9077 GB, free: 55.57 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.785e-05/0.2628, allocations: 151.4 kB / 0.9079 GB, free: 55.41 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.263, allocations: 18.23 kB / 0.9079 GB, free: 55.4 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001182/0.2642, allocations: 1.207 MB / 0.9091 GB, free: 54.13 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001809/0.2644, allocations: 0.7236 MB / 0.9098 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.003e-05/0.2644, allocations: 4 kB / 0.9098 GB, free: 53.38 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.471e-05/0.2645, allocations: 35.42 kB / 0.9098 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of SimCode: time 2.31e-07/0.2645, allocations: 0 / 0.9098 GB, free: 53.35 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01467/0.2791, allocations: 2.773 MB / 0.9125 GB, free: 50.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002068/0.2794, allocations: 228.1 kB / 0.9128 GB, free: 50.54 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.655/1.934, allocations: 4.062 kB / 0.9128 GB, free: 50.53 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)