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.86/1.86, allocations: 289.9 MB / 297.4 MB, free: 6.363 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.001156/0.001156, allocations: 180.8 kB / 366.7 MB, free: 1.641 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.919/1.919, allocations: 205.2 MB / 0.626 GB, free: 7.168 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.0008417/0.0008417, allocations: 75.75 kB / 0.74 GB, free: 39.55 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.62e-05/3.621e-05, allocations: 4 kB / 0.8598 GB, free: 12.96 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8223/0.8224, allocations: 116.3 MB / 0.9733 GB, free: 76.13 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2238/1.046, allocations: 139.7 MB / 1.11 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003035/1.047, allocations: 79.95 kB / 1.11 GB, free: 10.29 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.009767/1.056, allocations: 3.196 MB / 1.113 GB, free: 7.133 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.034e-06/1.057, allocations: 3.938 kB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 8.386e-06/1.057, allocations: 4 kB / 1.113 GB, free: 7.125 MB / 0.7136 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.000549/1.057, allocations: 428.5 kB / 1.113 GB, free: 6.656 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/1.057, allocations: 13.22 kB / 1.113 GB, free: 6.645 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.909e-05/1.057, allocations: 15.8 kB / 1.113 GB, free: 6.629 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003346/1.058, allocations: 222.9 kB / 1.114 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.513e-05/1.058, allocations: 0 / 1.114 GB, free: 6.371 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/1.058, allocations: 4 kB / 1.114 GB, free: 6.367 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001819/1.058, allocations: 75.89 kB / 1.114 GB, free: 6.293 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/1.058, allocations: 121.1 kB / 1.114 GB, free: 6.164 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/1.058, allocations: 4 kB / 1.114 GB, free: 6.16 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.045e-05/1.058, allocations: 3.984 kB / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/1.058, allocations: 0 / 1.114 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005176/1.059, allocations: 382.5 kB / 1.114 GB, free: 5.746 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001634/1.059, allocations: 105.1 kB / 1.114 GB, free: 5.625 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001236/1.059, allocations: 89.78 kB / 1.114 GB, free: 5.531 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 2.256e-05/1.059, allocations: 4 kB / 1.114 GB, free: 5.527 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002339/1.059, allocations: 168.5 kB / 1.115 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.433e-06/1.059, allocations: 0 / 1.115 GB, free: 5.34 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0006623/1.06, allocations: 279.8 kB / 1.115 GB, free: 5.062 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.17e-05/1.06, allocations: 106.8 kB / 1.115 GB, free: 4.934 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000176/1.06, allocations: 185.7 kB / 1.115 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.626e-05/1.06, allocations: 25.7 kB / 1.115 GB, free: 4.719 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 7.759e-05/1.06, allocations: 112.1 kB / 1.115 GB, free: 4.605 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/1.06, allocations: 23.66 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.897e-06/1.06, allocations: 0 / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001677/1.061, allocations: 334.8 kB / 1.116 GB, free: 4.246 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.708e-05/1.061, allocations: 63.97 kB / 1.116 GB, free: 4.184 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001057/1.061, allocations: 85.69 kB / 1.116 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001206/1.061, allocations: 63.95 kB / 1.116 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/1.061, allocations: 4 kB / 1.116 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004137/1.061, allocations: 273.3 kB / 1.116 GB, free: 3.754 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.395e-05/1.061, allocations: 37.7 kB / 1.116 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.092e-06/1.061, allocations: 0 / 1.116 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.47e-05/1.061, allocations: 0 / 1.116 GB, free: 3.711 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.982e-05/1.061, allocations: 11.98 kB / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.119e-06/1.061, allocations: 0 / 1.116 GB, free: 3.699 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.96e-05/1.062, allocations: 8.031 kB / 1.116 GB, free: 3.691 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.152e-05/1.062, allocations: 8 kB / 1.116 GB, free: 3.684 MB / 0.7136 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.0001481/1.062, allocations: 148 kB / 1.116 GB, free: 3.527 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004708/1.062, allocations: 287 kB / 1.117 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.831e-05/1.062, allocations: 19.8 kB / 1.117 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/1.062, allocations: 59.47 kB / 1.117 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.295e-06/1.062, allocations: 4.031 kB / 1.117 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.506e-06/1.062, allocations: 7.25 kB / 1.117 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/1.062, allocations: 3.984 kB / 1.117 GB, free: 3.145 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000187/1.063, allocations: 213.9 kB / 1.117 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/1.063, allocations: 1.406 kB / 1.117 GB, free: 2.898 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.084e-05/1.063, allocations: 4 kB / 1.117 GB, free: 2.895 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.063, allocations: 4 kB / 1.117 GB, free: 2.891 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.009e-05/1.063, allocations: 7.984 kB / 1.117 GB, free: 2.883 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.717e-06/1.063, allocations: 3.984 kB / 1.117 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.063, allocations: 0 / 1.117 GB, free: 2.879 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005166/1.063, allocations: 339.7 kB / 1.117 GB, free: 2.523 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001199/1.063, allocations: 113 kB / 1.117 GB, free: 2.395 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.11e-05/1.063, allocations: 4 kB / 1.117 GB, free: 2.391 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.971e-05/1.064, allocations: 4 kB / 1.117 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/1.064, allocations: 3.984 kB / 1.117 GB, free: 2.383 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.469e-05/1.064, allocations: 12 kB / 1.117 GB, free: 2.371 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0001278/1.064, allocations: 152.1 kB / 1.117 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.064, allocations: 2.062 kB / 1.117 GB, free: 2.223 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002627/1.064, allocations: 39.94 kB / 1.117 GB, free: 2.184 MB / 0.7136 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.0009261/1.065, allocations: 0.9109 MB / 1.118 GB, free: 1.242 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.000311/1.065, allocations: 199.4 kB / 1.119 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/1.065, allocations: 0 / 1.119 GB, free: 1.035 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001697/1.066, allocations: 155.3 kB / 1.119 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000198/1.066, allocations: 8.188 kB / 1.119 GB, free: 0.8594 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007558/1.067, allocations: 294 kB / 1.119 GB, free: 0.5352 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/1.067, allocations: 0.7235 MB / 1.12 GB, free: 15.79 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.616e-05/1.067, allocations: 4 kB / 1.12 GB, free: 15.78 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.563e-05/1.067, allocations: 35.42 kB / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of SimCode: time 2.31e-07/1.067, allocations: 0 / 1.12 GB, free: 15.75 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03102/1.098, allocations: 2.447 MB / 1.122 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002577/1.099, allocations: 163.2 kB / 1.122 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.73/2.829, allocations: 4.031 kB / 1.122 GB, free: 13.2 MB / 0.7292 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)