Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 2.303/2.303, allocations: 285.6 MB / 293.1 MB, free: 10.17 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.001141/0.001141, allocations: 184.2 kB / 361.4 MB, free: 6.832 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.265/2.265, allocations: 205.2 MB / 0.62 GB, free: 11.65 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.001525/0.001525, allocations: 86.5 kB / 0.733 GB, free: 44.17 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.903e-05/2.905e-05, allocations: 4 kB / 0.8518 GB, free: 2.648 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.278/1.278, allocations: 115.3 MB / 0.9644 GB, free: 78.53 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/1.582, allocations: 138.8 MB / 1.1 GB, free: 1 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000362/1.582, allocations: 79.95 kB / 1.1 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01209/1.594, allocations: 3.201 MB / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.43e-06/1.594, allocations: 0 / 1.103 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.297e-05/1.594, allocations: 8.562 kB / 1.103 GB, free: 13.78 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.0006622/1.595, allocations: 432.4 kB / 1.104 GB, free: 13.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 6.256e-05/1.595, allocations: 8.688 kB / 1.104 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.259e-05/1.595, allocations: 16.84 kB / 1.104 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003731/1.596, allocations: 216.4 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.389e-05/1.596, allocations: 4 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/1.596, allocations: 0.5625 kB / 1.104 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000216/1.596, allocations: 78.33 kB / 1.104 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002661/1.596, allocations: 124.7 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/1.596, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.416e-05/1.596, allocations: 4 kB / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.933e-06/1.596, allocations: 0 / 1.104 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005655/1.597, allocations: 379.5 kB / 1.104 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/1.597, allocations: 109.1 kB / 1.104 GB, free: 12.28 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001629/1.597, allocations: 92.47 kB / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.498e-05/1.597, allocations: 0 / 1.105 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002904/1.598, allocations: 177.6 kB / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/1.598, allocations: 0 / 1.105 GB, free: 11.99 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10): time 0.0008407/1.598, allocations: 270.9 kB / 1.105 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.52e-05/1.598, allocations: 110.8 kB / 1.105 GB, free: 11.59 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/1.599, allocations: 178.3 kB / 1.105 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.988e-05/1.599, allocations: 25.7 kB / 1.105 GB, free: 11.38 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 9.758e-05/1.599, allocations: 112.1 kB / 1.105 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 5.262e-05/1.599, allocations: 23.66 kB / 1.105 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.192e-05/1.599, allocations: 4.031 kB / 1.105 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001544/1.599, allocations: 330.8 kB / 1.106 GB, free: 10.9 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000124/1.599, allocations: 67.95 kB / 1.106 GB, free: 10.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001371/1.599, allocations: 77.69 kB / 1.106 GB, free: 10.75 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001747/1.6, allocations: 71.95 kB / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.6, allocations: 0 / 1.106 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005905/1.6, allocations: 277.3 kB / 1.106 GB, free: 10.41 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 5.078e-05/1.6, allocations: 29.7 kB / 1.106 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.043e-05/1.6, allocations: 8.031 kB / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.947e-05/1.6, allocations: 0 / 1.106 GB, free: 10.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/1.6, allocations: 15.73 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.167e-05/1.6, allocations: 3.938 kB / 1.106 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.197e-05/1.601, allocations: 4 kB / 1.106 GB, free: 10.34 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.073e-05/1.601, allocations: 8 kB / 1.106 GB, free: 10.34 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.0001443/1.601, allocations: 149.1 kB / 1.106 GB, free: 10.18 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0006857/1.601, allocations: 283.1 kB / 1.107 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.736e-05/1.601, allocations: 27.78 kB / 1.107 GB, free: 9.871 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001959/1.602, allocations: 67.64 kB / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.945e-06/1.602, allocations: 0 / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.602, allocations: 0 / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/1.602, allocations: 0 / 1.107 GB, free: 9.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002324/1.602, allocations: 205.9 kB / 1.107 GB, free: 9.562 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/1.602, allocations: 3.938 kB / 1.107 GB, free: 9.559 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.743e-05/1.602, allocations: 8 kB / 1.107 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.574e-06/1.602, allocations: 0 / 1.107 GB, free: 9.551 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.359e-05/1.602, allocations: 8 kB / 1.107 GB, free: 9.543 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.088e-06/1.602, allocations: 7.375 kB / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.188e-06/1.602, allocations: 0 / 1.107 GB, free: 9.539 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007631/1.603, allocations: 340.8 kB / 1.107 GB, free: 9.176 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001418/1.603, allocations: 105 kB / 1.107 GB, free: 9.055 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.287e-05/1.603, allocations: 4 kB / 1.107 GB, free: 9.051 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.012e-05/1.603, allocations: 8 kB / 1.107 GB, free: 9.043 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.176e-05/1.603, allocations: 7.984 kB / 1.107 GB, free: 9.035 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.085e-05/1.603, allocations: 12 kB / 1.107 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.000157/1.603, allocations: 144.1 kB / 1.108 GB, free: 8.883 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/1.604, allocations: 4 kB / 1.108 GB, free: 8.879 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0004309/1.604, allocations: 39.94 kB / 1.108 GB, free: 8.84 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.0009647/1.605, allocations: 0.9147 MB / 1.109 GB, free: 7.891 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0003444/1.605, allocations: 203.4 kB / 1.109 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/1.605, allocations: 0 / 1.109 GB, free: 7.68 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/1.605, allocations: 147.3 kB / 1.109 GB, free: 7.523 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002552/1.606, allocations: 8.188 kB / 1.109 GB, free: 7.512 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000842/1.607, allocations: 289.1 kB / 1.109 GB, free: 7.191 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003794/1.607, allocations: 0.7281 MB / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.245e-05/1.607, allocations: 0 / 1.11 GB, free: 6.438 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.779e-05/1.607, allocations: 35.42 kB / 1.11 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of SimCode: time 3.11e-07/1.607, allocations: 0 / 1.11 GB, free: 6.402 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03384/1.641, allocations: 2.459 MB / 1.112 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003665/1.641, allocations: 183.6 kB / 1.112 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.924/3.565, allocations: 2.234 kB / 1.112 GB, free: 3.836 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_maint.8.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)