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/Buildings 8.1.4-maint.8.1.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 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.71/1.71, allocations: 289.7 MB / 302.2 MB, free: 2.152 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001069/0.001068, allocations: 181.1 kB / 371.6 MB, free: 3.391 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.957/1.957, allocations: 205.2 MB / 0.6309 GB, free: 11.74 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001627/0.001627, allocations: 88.44 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.487e-05/5.489e-05, allocations: 4 kB / 0.8663 GB, free: 14.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3059/0.3059, allocations: 116.3 MB / 0.9799 GB, free: 10.52 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.044/1.35, allocations: 140.4 MB / 1.117 GB, free: 43.59 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002199/1.35, allocations: 81.56 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.008739/1.359, allocations: 3.208 MB / 1.12 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.693e-06/1.359, allocations: 0 / 1.12 GB, free: 41.68 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.728e-06/1.359, allocations: 4 kB / 1.12 GB, free: 41.67 MB / 0.7448 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.0004143/1.359, allocations: 444 kB / 1.121 GB, free: 41.22 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/1.359, allocations: 8.031 kB / 1.121 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.385e-05/1.359, allocations: 35.19 kB / 1.121 GB, free: 41.17 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.667e-05/1.359, allocations: 13.53 kB / 1.121 GB, free: 41.16 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002616/1.36, allocations: 225.6 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.302e-05/1.36, allocations: 3.266 kB / 1.121 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.81e-05/1.36, allocations: 4 kB / 1.121 GB, free: 40.9 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/1.36, allocations: 131 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/1.36, allocations: 0 / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/1.36, allocations: 8.5 kB / 1.121 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.36, allocations: 3.938 kB / 1.121 GB, free: 40.79 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001281/1.36, allocations: 74.62 kB / 1.121 GB, free: 40.74 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000426/1.361, allocations: 393.4 kB / 1.121 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/1.361, allocations: 119.3 kB / 1.122 GB, free: 40.25 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001118/1.361, allocations: 91.88 kB / 1.122 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.332e-05/1.361, allocations: 0.5625 kB / 1.122 GB, free: 40.19 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002126/1.361, allocations: 180.6 kB / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=10): time 1.072e-06/1.361, allocations: 0.9375 kB / 1.122 GB, free: 40.03 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10): time 0.0005009/1.362, allocations: 302 kB / 1.122 GB, free: 39.8 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.071e-05/1.362, allocations: 114.7 kB / 1.122 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/1.362, allocations: 184.1 kB / 1.122 GB, free: 39.51 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/1.362, allocations: 25.7 kB / 1.122 GB, free: 39.48 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.486e-05/1.362, allocations: 110.8 kB / 1.123 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.09e-05/1.362, allocations: 26.81 kB / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.474e-06/1.362, allocations: 0 / 1.123 GB, free: 39.36 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.301e-05/1.362, allocations: 336.4 kB / 1.123 GB, free: 39.04 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.469e-05/1.362, allocations: 70.33 kB / 1.123 GB, free: 39 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.822e-05/1.362, allocations: 81.77 kB / 1.123 GB, free: 38.93 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001422/1.362, allocations: 96.94 kB / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.362, allocations: 0 / 1.123 GB, free: 38.86 MB / 0.7448 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005427/1.363, allocations: 312.9 kB / 1.123 GB, free: 38.62 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.492e-05/1.363, allocations: 34.36 kB / 1.123 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/1.363, allocations: 0 / 1.123 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/1.363, allocations: 0 / 1.123 GB, free: 38.58 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.832e-05/1.363, allocations: 11.88 kB / 1.123 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.763e-06/1.363, allocations: 3.938 kB / 1.123 GB, free: 38.57 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.865e-05/1.363, allocations: 7.25 kB / 1.124 GB, free: 38.56 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.805e-05/1.363, allocations: 8 kB / 1.124 GB, free: 38.55 MB / 0.7448 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 8.715e-05/1.363, allocations: 146.6 kB / 1.124 GB, free: 38.41 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/1.363, allocations: 20.47 kB / 1.124 GB, free: 38.39 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000151/1.364, allocations: 71.14 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.364, allocations: 0 / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/1.364, allocations: 0 / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.72e-06/1.364, allocations: 3.281 kB / 1.124 GB, free: 38.33 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001486/1.364, allocations: 225.6 kB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.983e-06/1.364, allocations: 1 kB / 1.124 GB, free: 38.11 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.108e-05/1.364, allocations: 15.31 kB / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/1.364, allocations: 0 / 1.124 GB, free: 38.09 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.354e-05/1.364, allocations: 11.94 kB / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.873e-06/1.364, allocations: 0 / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/1.364, allocations: 0 / 1.124 GB, free: 38.08 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006888/1.365, allocations: 379.9 kB / 1.124 GB, free: 37.77 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001138/1.365, allocations: 112.6 kB / 1.124 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.963e-05/1.365, allocations: 4 kB / 1.124 GB, free: 37.65 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.775e-05/1.365, allocations: 11.94 kB / 1.124 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.456e-05/1.365, allocations: 4 kB / 1.124 GB, free: 37.64 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-05/1.365, allocations: 15.84 kB / 1.124 GB, free: 37.62 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0001433/1.365, allocations: 156 kB / 1.125 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.7e-07/1.365, allocations: 0 / 1.125 GB, free: 37.5 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003728/1.366, allocations: 39.38 kB / 1.125 GB, free: 37.46 MB / 0.7448 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.0007633/1.366, allocations: 0.9496 MB / 1.126 GB, free: 36.55 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0003279/1.367, allocations: 208.2 kB / 1.126 GB, free: 36.39 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/1.367, allocations: 4 kB / 1.126 GB, free: 36.38 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.0001433/1.367, allocations: 153.8 kB / 1.126 GB, free: 36.26 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002212/1.367, allocations: 7.375 kB / 1.126 GB, free: 36.25 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007382/1.368, allocations: 306.5 kB / 1.126 GB, free: 35.98 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000206/1.368, allocations: 0.723 MB / 1.127 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 4.33e-05/1.368, allocations: 4.984 kB / 1.127 GB, free: 35.25 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.061e-05/1.368, allocations: 37.83 kB / 1.127 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of SimCode: time 3e-07/1.368, allocations: 0 / 1.127 GB, free: 35.24 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.021/1.389, allocations: 2.767 MB / 1.13 GB, free: 33.69 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001936/1.389, allocations: 179.5 kB / 1.13 GB, free: 33.47 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.028/3.417, allocations: 0 / 1.13 GB, free: 33.47 MB / 0.7448 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)