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.482/1.482, allocations: 249.3 MB / 261.8 MB, free: 5.926 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001085/0.001085, allocations: 182.5 kB / 321.3 MB, free: 14.64 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.657/1.657, allocations: 205.2 MB / 0.572 GB, free: 10.66 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.0008279/0.0008279, allocations: 92.3 kB / 0.6764 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.304e-05/3.307e-05, allocations: 4 kB / 0.788 GB, free: 97.01 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2481/0.2481, allocations: 106.3 MB / 0.8919 GB, free: 6.574 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8749/1.123, allocations: 133.1 MB / 1.022 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003234/1.124, allocations: 85.27 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00977/1.133, allocations: 3.225 MB / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.535e-06/1.133, allocations: 0 / 1.025 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.016e-06/1.133, allocations: 0 / 1.025 GB, free: 14.79 MB / 0.6511 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.000517/1.134, allocations: 438.4 kB / 1.026 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.346e-05/1.134, allocations: 12.03 kB / 1.026 GB, free: 14.31 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.057e-05/1.134, allocations: 34.25 kB / 1.026 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.544e-05/1.134, allocations: 11.91 kB / 1.026 GB, free: 14.26 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003318/1.134, allocations: 219 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.075e-05/1.134, allocations: 7.438 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.858e-05/1.134, allocations: 4 kB / 1.026 GB, free: 14 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/1.135, allocations: 129.4 kB / 1.026 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.715e-06/1.135, allocations: 4 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.865e-05/1.135, allocations: 4 kB / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/1.135, allocations: 0 / 1.026 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001465/1.135, allocations: 82.7 kB / 1.026 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004654/1.135, allocations: 394.3 kB / 1.026 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001598/1.136, allocations: 111.6 kB / 1.027 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001172/1.136, allocations: 95.53 kB / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.116e-05/1.136, allocations: 0 / 1.027 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002404/1.136, allocations: 172 kB / 1.027 GB, free: 13.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/1.136, allocations: 4 kB / 1.027 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10): time 0.000574/1.137, allocations: 310.4 kB / 1.027 GB, free: 12.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.334e-05/1.137, allocations: 110.8 kB / 1.027 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001797/1.137, allocations: 183.4 kB / 1.027 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.344e-05/1.137, allocations: 25.7 kB / 1.027 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.049e-05/1.137, allocations: 113.5 kB / 1.027 GB, free: 12.32 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.529e-05/1.137, allocations: 23.41 kB / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.785e-06/1.137, allocations: 0 / 1.027 GB, free: 12.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001531/1.137, allocations: 330 kB / 1.028 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001183/1.137, allocations: 80.27 kB / 1.028 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.778e-05/1.137, allocations: 77.06 kB / 1.028 GB, free: 11.85 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001212/1.138, allocations: 108.7 kB / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/1.138, allocations: 0 / 1.028 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004258/1.138, allocations: 303.7 kB / 1.028 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.954e-05/1.138, allocations: 33.69 kB / 1.028 GB, free: 11.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/1.138, allocations: 8.031 kB / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.412e-05/1.138, allocations: 0 / 1.028 GB, free: 11.44 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.84e-05/1.138, allocations: 8 kB / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.335e-06/1.138, allocations: 0 / 1.028 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.795e-05/1.138, allocations: 15.84 kB / 1.028 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.044e-05/1.138, allocations: 11.62 kB / 1.028 GB, free: 11.41 MB / 0.6511 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 () * 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.0001081/1.138, allocations: 134.7 kB / 1.029 GB, free: 11.26 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.932e-05/1.138, allocations: 19 kB / 1.029 GB, free: 11.25 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001678/1.139, allocations: 78.41 kB / 1.029 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.414e-06/1.139, allocations: 0 / 1.029 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/1.139, allocations: 0 / 1.029 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.782e-06/1.139, allocations: 3.984 kB / 1.029 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/1.139, allocations: 226.7 kB / 1.029 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/1.139, allocations: 0 / 1.029 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-05/1.139, allocations: 7.984 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/1.139, allocations: 4 kB / 1.029 GB, free: 10.91 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.065e-05/1.139, allocations: 4 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/1.139, allocations: 0 / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/1.139, allocations: 4 kB / 1.029 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005476/1.14, allocations: 382.4 kB / 1.029 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/1.14, allocations: 112.4 kB / 1.029 GB, free: 10.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.67e-05/1.14, allocations: 7.984 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.83e-05/1.14, allocations: 4 kB / 1.029 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/1.14, allocations: 11.12 kB / 1.029 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.981e-05/1.14, allocations: 8 kB / 1.029 GB, free: 10.39 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.000132/1.14, allocations: 159.2 kB / 1.03 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.3e-07/1.14, allocations: 0 / 1.03 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002308/1.14, allocations: 43.94 kB / 1.03 GB, free: 10.21 MB / 0.6511 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) * 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.0007837/1.141, allocations: 0.9445 MB / 1.031 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002711/1.141, allocations: 214.8 kB / 1.031 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.141, allocations: 0 / 1.031 GB, free: 9.098 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/1.141, allocations: 150.6 kB / 1.031 GB, free: 8.969 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001567/1.142, allocations: 11.39 kB / 1.031 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005952/1.142, allocations: 302.4 kB / 1.031 GB, free: 8.656 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003478/1.143, allocations: 0.7158 MB / 1.032 GB, free: 7.914 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.377e-05/1.143, allocations: 16.23 kB / 1.032 GB, free: 7.898 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.535e-05/1.143, allocations: 35.38 kB / 1.032 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of SimCode: time 6.01e-07/1.143, allocations: 0 / 1.032 GB, free: 7.887 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.015/1.158, allocations: 2.787 MB / 1.035 GB, free: 5.285 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001819/1.158, allocations: 191.2 kB / 1.035 GB, free: 5.062 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.781/2.939, allocations: 0 / 1.035 GB, free: 5.062 MB / 0.6511 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)