Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_8_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 8.0.0/package.mo): time 2.584/2.584, allocations: 287.3 MB / 302.3 MB, free: 8.398 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.00159/0.00159, allocations: 176.5 kB / 370.8 MB, free: 10.88 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.168/2.168, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001191/0.001189, allocations: 88.34 kB / 0.7428 GB, free: 6.629 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006973/0.0006973, allocations: 16.12 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2355, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9586/1.194, allocations: 139.3 MB / 1.114 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003033/1.194, allocations: 84.16 kB / 1.114 GB, free: 15.56 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.01426/1.209, allocations: 3.224 MB / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.345e-06/1.209, allocations: 0 / 1.118 GB, free: 31.07 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.266e-06/1.209, allocations: 0 / 1.118 GB, free: 31.07 MB / 0.698 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.0005741/1.209, allocations: 453.9 kB / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.209, allocations: 7.75 kB / 1.118 GB, free: 30.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.316e-05/1.21, allocations: 41.19 kB / 1.118 GB, free: 30.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/1.21, allocations: 19.56 kB / 1.118 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000307/1.21, allocations: 227.5 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/1.21, allocations: 0 / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.601e-05/1.21, allocations: 6.641 kB / 1.118 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003029/1.21, allocations: 131.5 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.21, allocations: 3.938 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.028e-05/1.21, allocations: 0 / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/1.21, allocations: 0 / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001835/1.211, allocations: 85.95 kB / 1.119 GB, free: 30.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000499/1.211, allocations: 397.2 kB / 1.119 GB, free: 29.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002115/1.211, allocations: 112.6 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.446e-05/1.211, allocations: 3.969 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002906/1.212, allocations: 177.1 kB / 1.119 GB, free: 29.79 MB / 0.698 GB Notification: Performance of pre-optimization done (n=10): time 1.994e-06/1.212, allocations: 0 / 1.119 GB, free: 29.79 MB / 0.698 GB Notification: Performance of matching and sorting (n=10): time 0.0009985/1.213, allocations: 456.6 kB / 1.12 GB, free: 29.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.896e-05/1.213, allocations: 106.8 kB / 1.12 GB, free: 29.5 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002341/1.213, allocations: 191.8 kB / 1.12 GB, free: 29.4 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.16e-05/1.213, allocations: 29.83 kB / 1.12 GB, free: 29.36 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 8.961e-05/1.213, allocations: 113.6 kB / 1.12 GB, free: 29.28 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.643e-05/1.213, allocations: 26.11 kB / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.702e-05/1.213, allocations: 0 / 1.12 GB, free: 29.26 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001383/1.213, allocations: 327.3 kB / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/1.214, allocations: 67.83 kB / 1.12 GB, free: 28.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000164/1.214, allocations: 85.22 kB / 1.121 GB, free: 28.93 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/1.214, allocations: 104.7 kB / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.214, allocations: 0 / 1.121 GB, free: 28.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006088/1.215, allocations: 308.2 kB / 1.121 GB, free: 28.82 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.937e-05/1.215, allocations: 40.3 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.215, allocations: 0 / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.921e-05/1.215, allocations: 0.875 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/1.215, allocations: 7.656 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/1.215, allocations: 0 / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000106/1.215, allocations: 11.62 kB / 1.121 GB, free: 28.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.174e-05/1.215, allocations: 14.73 kB / 1.121 GB, free: 28.78 MB / 0.698 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.0001953/1.215, allocations: 178.7 kB / 1.121 GB, free: 28.63 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.955e-05/1.215, allocations: 15.47 kB / 1.121 GB, free: 28.62 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/1.215, allocations: 70.92 kB / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.11e-06/1.215, allocations: 144 / 1.121 GB, free: 28.59 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/1.215, allocations: 8.047 kB / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.479e-06/1.215, allocations: 0 / 1.121 GB, free: 28.58 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002371/1.216, allocations: 229.8 kB / 1.121 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.216, allocations: 0 / 1.121 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.35e-05/1.216, allocations: 11.84 kB / 1.121 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.316e-06/1.216, allocations: 3.938 kB / 1.121 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/1.216, allocations: 6.938 kB / 1.121 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.425e-06/1.216, allocations: 3.844 kB / 1.121 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/1.216, allocations: 0 / 1.121 GB, free: 28.38 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007958/1.217, allocations: 378.2 kB / 1.122 GB, free: 28.24 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001401/1.217, allocations: 113 kB / 1.122 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.539e-05/1.217, allocations: 3.906 kB / 1.122 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.881e-05/1.217, allocations: 5.359 kB / 1.122 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.449e-05/1.217, allocations: 9.406 kB / 1.122 GB, free: 28.13 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.032e-05/1.217, allocations: 9.203 kB / 1.122 GB, free: 28.13 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001758/1.217, allocations: 157 kB / 1.122 GB, free: 28.05 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/1.217, allocations: 3.969 kB / 1.122 GB, free: 28.05 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000356/1.218, allocations: 44.3 kB / 1.122 GB, free: 28.04 MB / 0.698 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.0009148/1.219, allocations: 0.9381 MB / 1.123 GB, free: 27.31 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003503/1.219, allocations: 217 kB / 1.123 GB, free: 27.25 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/1.219, allocations: 0 / 1.123 GB, free: 27.25 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001825/1.219, allocations: 159.7 kB / 1.123 GB, free: 27.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000222/1.219, allocations: 7.984 kB / 1.123 GB, free: 27.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001866/1.221, allocations: 1.214 MB / 1.125 GB, free: 26.58 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/1.222, allocations: 0.726 MB / 1.125 GB, free: 25.88 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.034e-05/1.222, allocations: 2.812 kB / 1.125 GB, free: 25.88 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.478e-05/1.222, allocations: 41.23 kB / 1.125 GB, free: 25.87 MB / 0.698 GB Notification: Performance of SimCode: time 8.72e-07/1.222, allocations: 0 / 1.125 GB, free: 25.87 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02147/1.243, allocations: 2.751 MB / 1.128 GB, free: 25.61 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000187/1.244, allocations: 216.4 kB / 1.128 GB, free: 25.36 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.511/3.755, allocations: 0 / 1.128 GB, free: 25.36 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_8.0.0_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)