Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json 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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_7_0_0_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.1/package.mo): time 2.207/2.207, allocations: 251 MB / 265.9 MB, free: 11.67 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.001618/0.001618, allocations: 178.5 kB / 325.5 MB, free: 2.883 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.436/2.436, allocations: 205.4 MB / 0.5764 GB, free: 20.84 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.001182/0.001182, allocations: 93.73 kB / 0.6809 GB, free: 13.67 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004813/0.0004813, allocations: 11.91 kB / 0.795 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2106/0.2111, allocations: 106.3 MB / 0.8988 GB, free: 65.5 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2596/0.4708, allocations: 133 MB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003467/0.4712, allocations: 83.95 kB / 1.029 GB, free: 12.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01541/0.4866, allocations: 3.231 MB / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.445e-06/0.4867, allocations: 0 / 1.032 GB, free: 8.984 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.965e-06/0.4867, allocations: 0 / 1.032 GB, free: 8.984 MB / 0.6823 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.0006867/0.4874, allocations: 458.2 kB / 1.032 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.016e-05/0.4875, allocations: 12.03 kB / 1.032 GB, free: 8.473 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.119e-05/0.4875, allocations: 38.55 kB / 1.032 GB, free: 8.426 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.588e-05/0.4876, allocations: 19.77 kB / 1.032 GB, free: 8.406 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003521/0.488, allocations: 219.6 kB / 1.033 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.488, allocations: 4 kB / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.542e-05/0.488, allocations: 0 / 1.033 GB, free: 8.145 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.4884, allocations: 127.3 kB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.4884, allocations: 0 / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.24e-05/0.4884, allocations: 7.938 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.059e-06/0.4884, allocations: 4 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002163/0.4887, allocations: 83.88 kB / 1.033 GB, free: 7.914 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000595/0.4893, allocations: 400.9 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000248/0.4895, allocations: 118.9 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.984e-05/0.4896, allocations: 4 kB / 1.033 GB, free: 7.332 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003369/0.4899, allocations: 174.8 kB / 1.034 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=10): time 1.853e-06/0.49, allocations: 0 / 1.034 GB, free: 7.137 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10): time 0.001121/0.4911, allocations: 446.2 kB / 1.034 GB, free: 6.668 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.539e-05/0.4912, allocations: 122.7 kB / 1.034 GB, free: 6.523 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003147/0.4915, allocations: 190.3 kB / 1.034 GB, free: 6.328 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/0.4916, allocations: 29.7 kB / 1.034 GB, free: 6.293 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.805e-05/0.4917, allocations: 108.1 kB / 1.034 GB, free: 6.184 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.797e-05/0.4917, allocations: 19.66 kB / 1.034 GB, free: 6.164 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.145e-05/0.4918, allocations: 8 kB / 1.034 GB, free: 6.156 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001681/0.4919, allocations: 322.8 kB / 1.035 GB, free: 5.832 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001749/0.4921, allocations: 71.95 kB / 1.035 GB, free: 5.762 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4923, allocations: 81.67 kB / 1.035 GB, free: 5.676 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002178/0.4926, allocations: 105.7 kB / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.276e-06/0.4926, allocations: 0 / 1.035 GB, free: 5.566 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007554/0.4933, allocations: 307 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.636e-05/0.4934, allocations: 33.7 kB / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.953e-06/0.4934, allocations: 0 / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.786e-05/0.4935, allocations: 0 / 1.035 GB, free: 5.215 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001377/0.4936, allocations: 11.98 kB / 1.035 GB, free: 5.203 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.4936, allocations: 4.172 kB / 1.035 GB, free: 5.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.4937, allocations: 11.89 kB / 1.035 GB, free: 5.188 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.677e-05/0.4938, allocations: 16.03 kB / 1.035 GB, free: 5.172 MB / 0.6823 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.0002152/0.494, allocations: 171.5 kB / 1.036 GB, free: 4.988 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.351e-05/0.4941, allocations: 19.81 kB / 1.036 GB, free: 4.969 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002262/0.4943, allocations: 67.16 kB / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.4943, allocations: 0 / 1.036 GB, free: 4.891 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.4944, allocations: 4 kB / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.4944, allocations: 0 / 1.036 GB, free: 4.887 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000274/0.4947, allocations: 233.5 kB / 1.036 GB, free: 4.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.4947, allocations: 4 kB / 1.036 GB, free: 4.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.352e-05/0.4948, allocations: 11.94 kB / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.4948, allocations: 0 / 1.036 GB, free: 4.594 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.683e-05/0.4948, allocations: 8.062 kB / 1.036 GB, free: 4.586 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.001e-06/0.4948, allocations: 7.984 kB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.4948, allocations: 0 / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008877/0.4957, allocations: 383 kB / 1.036 GB, free: 4.172 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001589/0.4959, allocations: 112.9 kB / 1.036 GB, free: 4.043 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.408e-05/0.496, allocations: 4 kB / 1.036 GB, free: 4.039 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001072/0.4961, allocations: 7.938 kB / 1.036 GB, free: 4.031 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.537e-05/0.4962, allocations: 11.98 kB / 1.036 GB, free: 4.02 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.748e-05/0.4962, allocations: 15.89 kB / 1.036 GB, free: 4.004 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0002017/0.4964, allocations: 152.1 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4964, allocations: 0 / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003738/0.4968, allocations: 43.94 kB / 1.037 GB, free: 3.812 MB / 0.6823 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.001037/0.4979, allocations: 0.9371 MB / 1.037 GB, free: 2.836 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004126/0.4983, allocations: 219.2 kB / 1.038 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.4983, allocations: 0 / 1.038 GB, free: 2.609 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002186/0.4985, allocations: 155.4 kB / 1.038 GB, free: 2.445 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002355/0.4988, allocations: 12.08 kB / 1.038 GB, free: 2.43 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002249/0.5011, allocations: 1.211 MB / 1.039 GB, free: 1.156 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003879/0.5015, allocations: 0.7275 MB / 1.04 GB, free: 412 kB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.817e-05/0.5016, allocations: 0 / 1.04 GB, free: 412 kB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.869e-05/0.5016, allocations: 39.42 kB / 1.04 GB, free: 372 kB / 0.6823 GB Notification: Performance of SimCode: time 1.122e-06/0.5017, allocations: 0 / 1.04 GB, free: 372 kB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.5291, allocations: 2.745 MB / 1.042 GB, free: 13.8 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002396/0.5294, allocations: 214.4 kB / 1.043 GB, free: 13.56 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.378/2.908, allocations: 0 / 1.043 GB, free: 13.56 MB / 0.698 GB