Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.004775/0.004775, allocations: 101.8 kB / 15.73 MB, free: 6.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 194.1 kB / 16.68 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 222.9 MB / 240.4 MB, free: 4.145 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.02/1.02, allocations: 143.3 MB / 433.8 MB, free: 11.46 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001907/0.001907, allocations: 59.91 kB / 0.5953 GB, free: 8.574 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3352/0.3371, allocations: 82.03 MB / 0.6754 GB, free: 1.008 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002084/0.3392, allocations: 1.49 MB / 0.6769 GB, free: 15.84 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0009721/0.3402, allocations: 0.5796 MB / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.938e-05/0.3403, allocations: 0 / 0.6774 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.3404, allocations: 74.8 kB / 0.6775 GB, free: 15.36 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001687/0.3406, allocations: 83.62 kB / 0.6776 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003428/0.3409, allocations: 92.55 kB / 0.6777 GB, free: 15.25 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001502/0.3411, allocations: 101.5 kB / 0.6778 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 7.16e-05/0.3412, allocations: 11.75 kB / 0.6778 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001174/0.3413, allocations: 61.56 kB / 0.6778 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001421/0.3414, allocations: 90.78 kB / 0.6779 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3415, allocations: 3.688 kB / 0.6779 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001351/0.3416, allocations: 76.92 kB / 0.678 GB, free: 15.09 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.961e-05/0.3417, allocations: 27.17 kB / 0.678 GB, free: 15.07 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 6.982e-05/0.3417, allocations: 46.64 kB / 0.6781 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002049/0.342, allocations: 134 kB / 0.6782 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.342, allocations: 1.562 kB / 0.6782 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.322e-06/0.342, allocations: 0 / 0.6782 GB, free: 14.96 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.668e-06/0.342, allocations: 0 / 0.6782 GB, free: 14.96 MB / 0.5137 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.0005775/0.3426, allocations: 470.8 kB / 0.6786 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.3426, allocations: 12.45 kB / 0.6787 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.754e-05/0.3426, allocations: 33.41 kB / 0.6787 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.521e-05/0.3427, allocations: 15.5 kB / 0.6787 GB, free: 14.43 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002403/0.3429, allocations: 207.2 kB / 0.6789 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.076e-05/0.343, allocations: 1.812 kB / 0.6789 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.343, allocations: 3.312 kB / 0.6789 GB, free: 14.2 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001875/0.3432, allocations: 117 kB / 0.679 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.624e-06/0.3432, allocations: 4 kB / 0.679 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.749e-06/0.3432, allocations: 1.031 kB / 0.679 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.3432, allocations: 1.281 kB / 0.679 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001009/0.3433, allocations: 59.25 kB / 0.6791 GB, free: 14.09 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003816/0.3437, allocations: 296.4 kB / 0.6794 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.3438, allocations: 98 kB / 0.6795 GB, free: 13.7 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.326e-05/0.3439, allocations: 73.62 kB / 0.6795 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.518e-05/0.344, allocations: 1.281 kB / 0.6795 GB, free: 13.66 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002138/0.3442, allocations: 162.8 kB / 0.6797 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 4.949e-06/0.3442, allocations: 4 kB / 0.6797 GB, free: 13.52 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.00044/0.3446, allocations: 297.8 kB / 0.68 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.723e-05/0.3447, allocations: 105.9 kB / 0.6801 GB, free: 13.25 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001934/0.3449, allocations: 203.9 kB / 0.6803 GB, free: 13.11 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.932e-05/0.3449, allocations: 26.89 kB / 0.6803 GB, free: 13.08 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.449e-05/0.345, allocations: 114.9 kB / 0.6804 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.366e-05/0.3451, allocations: 27.28 kB / 0.6804 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.753e-05/0.3451, allocations: 27.17 kB / 0.6804 GB, free: 12.92 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.3453, allocations: 331.6 kB / 0.6808 GB, free: 12.59 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.899e-05/0.3454, allocations: 54.3 kB / 0.6808 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.41e-05/0.3454, allocations: 65.66 kB / 0.6809 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001877/0.3456, allocations: 183 kB / 0.6811 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3456, allocations: 0 / 0.6811 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002905/0.3459, allocations: 242.4 kB / 0.6813 GB, free: 12.29 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 3.57e-05/0.346, allocations: 37.36 kB / 0.6813 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.346, allocations: 4.031 kB / 0.6813 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.346, allocations: 1.031 kB / 0.6813 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.149e-05/0.3461, allocations: 11.58 kB / 0.6813 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.3461, allocations: 1.031 kB / 0.6813 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.106e-05/0.3462, allocations: 3.688 kB / 0.6813 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3462, allocations: 3.375 kB / 0.6813 GB, free: 12.25 MB / 0.5137 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.0001623/0.3464, allocations: 179 kB / 0.6815 GB, free: 12.08 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.866e-05/0.3464, allocations: 20.19 kB / 0.6815 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001406/0.3465, allocations: 76.72 kB / 0.6816 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.364e-06/0.3466, allocations: 1.406 kB / 0.6816 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.3466, allocations: 0.9688 kB / 0.6816 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3466, allocations: 1.094 kB / 0.6816 GB, free: 12 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001964/0.3468, allocations: 217.1 kB / 0.6818 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.3468, allocations: 1.344 kB / 0.6818 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.669e-05/0.3468, allocations: 9.828 kB / 0.6818 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.3468, allocations: 1.219 kB / 0.6818 GB, free: 11.76 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.634e-05/0.3469, allocations: 7.469 kB / 0.6818 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.3469, allocations: 8.938 kB / 0.6818 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3469, allocations: 0 / 0.6818 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003605/0.3473, allocations: 301.9 kB / 0.6821 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.88e-05/0.3473, allocations: 105.2 kB / 0.6822 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.026e-05/0.3474, allocations: 8.125 kB / 0.6822 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.478e-05/0.3474, allocations: 2.75 kB / 0.6822 GB, free: 11.45 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.158e-05/0.3475, allocations: 10.73 kB / 0.6823 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.3475, allocations: 4.125 kB / 0.6823 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001277/0.3476, allocations: 162.5 kB / 0.6824 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3476, allocations: 0 / 0.6824 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002312/0.3479, allocations: 35.56 kB / 0.6824 GB, free: 11.32 MB / 0.5137 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.0007374/0.3486, allocations: 0.8735 MB / 0.6833 GB, free: 10.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002926/0.3489, allocations: 217.3 kB / 0.6835 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.3489, allocations: 0 / 0.6835 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000147/0.3491, allocations: 148.4 kB / 0.6836 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001913/0.3493, allocations: 14.31 kB / 0.6837 GB, free: 10.36 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002194/0.3515, allocations: 2.097 MB / 0.6857 GB, free: 8.762 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003583/0.3519, allocations: 0.7153 MB / 0.6864 GB, free: 8.047 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.095e-05/0.3519, allocations: 6.641 kB / 0.6864 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.284e-05/0.352, allocations: 37.95 kB / 0.6865 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of SimCode: time 2.4e-07/0.352, allocations: 1.688 kB / 0.6865 GB, free: 8.008 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02332/0.3753, allocations: 3.087 MB / 0.6895 GB, free: 6.477 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.78/8.156, allocations: 14.12 kB / 0.6895 GB, free: 6.469 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildSysPro_BuildSysPro_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildSysPro_BuildSysPro.IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)