Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001447/0.001447, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 194 kB / 16.14 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.195/1.195, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.268/2.268, allocations: 437 MB / 0.7099 GB, free: 5.371 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001195/0.001195, allocations: 64.05 kB / 0.8687 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4528/0.454, allocations: 151.6 MB / 1.017 GB, free: 2.941 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002249/0.4562, allocations: 1.665 MB / 1.018 GB, free: 1.27 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0008805/0.4571, allocations: 0.67 MB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.611e-05/0.4572, allocations: 0 / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001228/0.4573, allocations: 75.83 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.4575, allocations: 99.72 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002271/0.4578, allocations: 79.84 kB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001111/0.4579, allocations: 115.7 kB / 1.019 GB, free: 236 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 6.859e-05/0.458, allocations: 11.97 kB / 1.019 GB, free: 224 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001085/0.4581, allocations: 63.83 kB / 1.019 GB, free: 160 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001416/0.4582, allocations: 99.75 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.4583, allocations: 4 kB / 1.02 GB, free: 56 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001206/0.4584, allocations: 71.94 kB / 1.02 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.476e-05/0.4584, allocations: 43.84 kB / 1.02 GB, free: 15.94 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.414e-05/0.4585, allocations: 55.59 kB / 1.02 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001858/0.4587, allocations: 161.7 kB / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.076e-06/0.4587, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of FrontEnd: time 7.72e-07/0.4587, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.367e-06/0.4587, allocations: 0 / 1.02 GB, free: 15.73 MB / 0.7794 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005809/0.4593, allocations: 480.3 kB / 1.02 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.4594, allocations: 8.031 kB / 1.02 GB, free: 15.2 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.393e-05/0.4594, allocations: 42.75 kB / 1.02 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.972e-05/0.4594, allocations: 20.73 kB / 1.02 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001664/0.4596, allocations: 204 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.4596, allocations: 4.359 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.4596, allocations: 4.375 kB / 1.021 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001827/0.4598, allocations: 127.4 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.4598, allocations: 0 / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.323e-05/0.4599, allocations: 4 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.857e-06/0.4599, allocations: 3.938 kB / 1.021 GB, free: 14.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001134/0.46, allocations: 71.97 kB / 1.021 GB, free: 14.67 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003612/0.4604, allocations: 416.8 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001497/0.4605, allocations: 117.2 kB / 1.021 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.459e-05/0.4606, allocations: 89.72 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.806e-05/0.4606, allocations: 4 kB / 1.021 GB, free: 13.98 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000216/0.4609, allocations: 174.6 kB / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=13): time 1.312e-06/0.4609, allocations: 0 / 1.022 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=13): time 0.0004402/0.4613, allocations: 331 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.198e-05/0.4614, allocations: 114.8 kB / 1.022 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001627/0.4616, allocations: 210.6 kB / 1.022 GB, free: 13.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.767e-05/0.4616, allocations: 29.7 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.634e-05/0.4616, allocations: 112.3 kB / 1.022 GB, free: 12.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.394e-05/0.4617, allocations: 39.53 kB / 1.022 GB, free: 12.9 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.84e-05/0.4617, allocations: 29.7 kB / 1.022 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.803e-05/0.4618, allocations: 334.8 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.848e-05/0.4619, allocations: 59.91 kB / 1.023 GB, free: 12.47 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.075e-05/0.462, allocations: 81.69 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001774/0.4622, allocations: 189.1 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.186e-06/0.4622, allocations: 4 kB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002948/0.4625, allocations: 267 kB / 1.023 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 3.07e-05/0.4625, allocations: 37.69 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.526e-06/0.4626, allocations: 4 kB / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.027e-06/0.4626, allocations: 0 / 1.023 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.993e-05/0.4627, allocations: 20.02 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.4627, allocations: 3.938 kB / 1.023 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.45e-05/0.4628, allocations: 11.94 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.466e-05/0.4628, allocations: 4 kB / 1.023 GB, free: 11.82 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 (decAng.tNext,$PRE.decAng.tNext,$whenCondition2,solDecNOAA.nextEventScaled,solDecNOAA.nextEvent,$PRE.solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.4629, allocations: 185.3 kB / 1.024 GB, free: 11.62 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.829e-05/0.463, allocations: 15.81 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001813/0.4631, allocations: 99 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.4632, allocations: 11.94 kB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.4632, allocations: 384 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.4632, allocations: 0 / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.4633, allocations: 233.4 kB / 1.024 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.4634, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.256e-05/0.4634, allocations: 16 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.315e-06/0.4634, allocations: 0 / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.507e-05/0.4634, allocations: 4 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.4634, allocations: 3.984 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4635, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.4638, allocations: 343.3 kB / 1.024 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.013e-05/0.4639, allocations: 104.8 kB / 1.024 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.12e-05/0.4639, allocations: 4 kB / 1.024 GB, free: 10.7 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001004/0.464, allocations: 11.98 kB / 1.024 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.857e-05/0.4641, allocations: 7.984 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.817e-05/0.4641, allocations: 8 kB / 1.024 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001089/0.4642, allocations: 164.2 kB / 1.024 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.4642, allocations: 4 kB / 1.025 GB, free: 10.51 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.000231/0.4645, allocations: 43.94 kB / 1.025 GB, free: 10.47 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition2,decAng.tNext,$whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 7 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1,decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006243/0.4651, allocations: 0.8957 MB / 1.025 GB, free: 9.535 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002758/0.4654, allocations: 239.3 kB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.4654, allocations: 4 kB / 1.026 GB, free: 9.285 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001446/0.4655, allocations: 163.4 kB / 1.026 GB, free: 9.113 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001903/0.4657, allocations: 16.14 kB / 1.026 GB, free: 9.098 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001964/0.4677, allocations: 2.266 MB / 1.028 GB, free: 6.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002293/0.4679, allocations: 0.7278 MB / 1.029 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.913e-05/0.468, allocations: 7.984 kB / 1.029 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.528e-05/0.468, allocations: 39.42 kB / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.4681, allocations: 0 / 1.029 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 4.339/4.807, allocations: 3.26 MB / 1.032 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/4.807, allocations: 228.5 kB / 1.032 GB, free: 2.574 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.235/8.042, allocations: 8.062 kB / 1.032 GB, free: 2.566 MB / 0.7794 GB (rm -f Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_10_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)