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.001424/0.001425, allocations: 108 kB / 15.6 MB, free: 132 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.001132/0.001132, allocations: 194.7 kB / 16.53 MB, free: 6.391 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.383/1.383, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.731/1.731, allocations: 292.3 MB / 0.5489 GB, free: 12.85 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.001464/0.001464, allocations: 77.31 kB / 0.6716 GB, free: 26.13 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2599/0.2613, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002577/0.2639, allocations: 1.488 MB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001036/0.265, allocations: 0.6213 MB / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.66e-05/0.2651, allocations: 0 / 0.7855 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0001515/0.2652, allocations: 75.83 kB / 0.7856 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001756/0.2654, allocations: 87.75 kB / 0.7857 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003325/0.2658, allocations: 87.77 kB / 0.7858 GB, free: 11 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0001541/0.2659, allocations: 95.8 kB / 0.7859 GB, free: 10.9 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.106e-05/0.266, allocations: 11.97 kB / 0.7859 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001185/0.2662, allocations: 71.75 kB / 0.7859 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001292/0.2663, allocations: 79.86 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.147e-05/0.2663, allocations: 4 kB / 0.786 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001408/0.2665, allocations: 83.92 kB / 0.7861 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.576e-05/0.2665, allocations: 19.92 kB / 0.7861 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 6.608e-05/0.2666, allocations: 43.67 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0002005/0.2668, allocations: 135.8 kB / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.2668, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2668, allocations: 0 / 0.7863 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.092e-05/0.2668, allocations: 0 / 0.7863 GB, free: 10.46 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.0005181/0.2674, allocations: 468.4 kB / 0.7867 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.2674, allocations: 8.031 kB / 0.7868 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.674e-05/0.2675, allocations: 34.75 kB / 0.7868 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.553e-05/0.2675, allocations: 16.75 kB / 0.7868 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.2677, allocations: 200.9 kB / 0.787 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.091e-05/0.2677, allocations: 4.359 kB / 0.787 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.284e-05/0.2677, allocations: 4.375 kB / 0.787 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001762/0.2679, allocations: 111.4 kB / 0.7871 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-06/0.2679, allocations: 4 kB / 0.7871 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.357e-05/0.2679, allocations: 4 kB / 0.7871 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.2679, allocations: 3.938 kB / 0.7871 GB, free: 9.508 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.953e-05/0.268, allocations: 59.97 kB / 0.7872 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003588/0.2684, allocations: 297.7 kB / 0.7875 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001223/0.2685, allocations: 101.1 kB / 0.7876 GB, free: 8.988 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.743e-05/0.2686, allocations: 73.75 kB / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.8e-05/0.2687, allocations: 0 / 0.7876 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002168/0.2689, allocations: 154.7 kB / 0.7878 GB, free: 8.734 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.2689, allocations: 4 kB / 0.7878 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of matching and sorting (n=10): time 0.0004022/0.2693, allocations: 303.2 kB / 0.7881 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.632e-05/0.2694, allocations: 102.8 kB / 0.7882 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000165/0.2695, allocations: 200.3 kB / 0.7884 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/0.2696, allocations: 29.7 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.2696, allocations: 112.1 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.544e-05/0.2697, allocations: 23.62 kB / 0.7885 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.2697, allocations: 25.7 kB / 0.7885 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.2698, allocations: 330.9 kB / 0.7889 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.595e-05/0.2699, allocations: 51.98 kB / 0.7889 GB, free: 7.508 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.253e-05/0.27, allocations: 65.69 kB / 0.789 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001592/0.2702, allocations: 181 kB / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.2702, allocations: 0 / 0.7891 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002554/0.2704, allocations: 239.1 kB / 0.7894 GB, free: 6.996 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.401e-05/0.2705, allocations: 38.67 kB / 0.7894 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.2705, allocations: 4 kB / 0.7894 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.246e-05/0.2705, allocations: 3.984 kB / 0.7894 GB, free: 6.945 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.673e-05/0.2706, allocations: 8 kB / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.12e-06/0.2706, allocations: 0 / 0.7894 GB, free: 6.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.2707, allocations: 11.88 kB / 0.7894 GB, free: 6.926 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.157e-05/0.2707, allocations: 4.062 kB / 0.7894 GB, free: 6.922 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.000137/0.2708, allocations: 176.1 kB / 0.7896 GB, free: 6.734 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.954e-05/0.2709, allocations: 27.84 kB / 0.7896 GB, free: 6.707 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.271, allocations: 75 kB / 0.7897 GB, free: 6.625 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.271, allocations: 4 kB / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.271, allocations: 0 / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2711, allocations: 0 / 0.7897 GB, free: 6.621 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001641/0.2712, allocations: 217.4 kB / 0.7899 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.2712, allocations: 0 / 0.7899 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.449e-05/0.2713, allocations: 11.98 kB / 0.7899 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2713, allocations: 0 / 0.7899 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.2713, allocations: 8 kB / 0.7899 GB, free: 6.34 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.2713, allocations: 4 kB / 0.7899 GB, free: 6.336 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.574e-06/0.2713, allocations: 4 kB / 0.7899 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003197/0.2716, allocations: 295.4 kB / 0.7902 GB, free: 6.016 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.876e-05/0.2717, allocations: 100.9 kB / 0.7903 GB, free: 5.898 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.2718, allocations: 8 kB / 0.7903 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.821e-05/0.2718, allocations: 11.92 kB / 0.7903 GB, free: 5.879 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.297e-05/0.2719, allocations: 8 kB / 0.7903 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.619e-05/0.2719, allocations: 4 kB / 0.7903 GB, free: 5.867 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0001115/0.272, allocations: 161.1 kB / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.272, allocations: 0 / 0.7905 GB, free: 5.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002315/0.2722, allocations: 36 kB / 0.7905 GB, free: 5.676 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.0006302/0.2729, allocations: 0.8711 MB / 0.7914 GB, free: 4.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002842/0.2732, allocations: 215.3 kB / 0.7916 GB, free: 4.547 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.2732, allocations: 4 kB / 0.7916 GB, free: 4.543 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.2733, allocations: 151.4 kB / 0.7917 GB, free: 4.383 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002011/0.2735, allocations: 8 kB / 0.7917 GB, free: 4.375 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001922/0.2755, allocations: 2.097 MB / 0.7938 GB, free: 2.172 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002588/0.2757, allocations: 0.7158 MB / 0.7945 GB, free: 1.43 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.2758, allocations: 12.22 kB / 0.7945 GB, free: 1.418 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.388e-05/0.2758, allocations: 31.44 kB / 0.7945 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of SimCode: time 1.453e-06/0.2758, allocations: 0 / 0.7945 GB, free: 1.391 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01938/0.2952, allocations: 3.032 MB / 0.7975 GB, free: 14.49 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.205/7.5, allocations: 5.062 kB / 0.7975 GB, free: 14.49 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)