Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_latest_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.001255/0.001255, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001246/0.001246, allocations: 193.8 kB / 16.25 MB, free: 6.633 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.215/1.215, allocations: 222.9 MB / 239.9 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.415/2.415, allocations: 461.9 MB / 0.7344 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001147/0.001147, allocations: 68.08 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2207/0.2219, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002399/0.2243, allocations: 1.665 MB / 1.054 GB, free: 6.953 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009261/0.2253, allocations: 0.6582 MB / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.69e-05/0.2253, allocations: 0 / 1.055 GB, free: 6.289 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001256/0.2255, allocations: 75.83 kB / 1.055 GB, free: 6.215 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002359/0.2257, allocations: 95.73 kB / 1.055 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.000293/0.226, allocations: 83.84 kB / 1.055 GB, free: 6.039 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001566/0.2262, allocations: 135.7 kB / 1.055 GB, free: 5.906 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.268e-05/0.2263, allocations: 8 kB / 1.055 GB, free: 5.898 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001304/0.2264, allocations: 71.8 kB / 1.055 GB, free: 5.828 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001366/0.2265, allocations: 107.7 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.829e-05/0.2266, allocations: 4 kB / 1.055 GB, free: 5.719 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001095/0.2267, allocations: 83.91 kB / 1.055 GB, free: 5.637 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.114e-05/0.2267, allocations: 31.91 kB / 1.055 GB, free: 5.605 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.2268, allocations: 59.55 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001887/0.227, allocations: 163.8 kB / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.227, allocations: 0 / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.102e-06/0.227, allocations: 0 / 1.056 GB, free: 5.387 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.227, allocations: 0 / 1.056 GB, free: 5.387 MB / 0.8106 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.0005865/0.2276, allocations: 480.4 kB / 1.056 GB, free: 4.863 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.427e-05/0.2277, allocations: 12.62 kB / 1.056 GB, free: 4.852 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.391e-05/0.2277, allocations: 34.75 kB / 1.056 GB, free: 4.809 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.127e-05/0.2277, allocations: 16.75 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.2279, allocations: 211.9 kB / 1.056 GB, free: 4.547 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.316e-05/0.2279, allocations: 4.375 kB / 1.056 GB, free: 4.543 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.422e-05/0.228, allocations: 4.375 kB / 1.056 GB, free: 4.539 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000186/0.2281, allocations: 135.4 kB / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.612e-06/0.2282, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2282, allocations: 0 / 1.056 GB, free: 4.395 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.2282, allocations: 7.969 kB / 1.056 GB, free: 4.387 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001122/0.2283, allocations: 75.97 kB / 1.056 GB, free: 4.312 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.2287, allocations: 416.8 kB / 1.057 GB, free: 3.852 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.2288, allocations: 117.2 kB / 1.057 GB, free: 3.719 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.2289, allocations: 85.72 kB / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.602e-05/0.2289, allocations: 0 / 1.057 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002305/0.2292, allocations: 174.7 kB / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.092e-06/0.2292, allocations: 0 / 1.057 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004349/0.2296, allocations: 335 kB / 1.058 GB, free: 3.094 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.744e-05/0.2297, allocations: 110.8 kB / 1.058 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001651/0.2299, allocations: 212.1 kB / 1.058 GB, free: 2.742 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.2299, allocations: 33.7 kB / 1.058 GB, free: 2.703 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.2299, allocations: 112.1 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.336e-05/0.23, allocations: 35.69 kB / 1.058 GB, free: 2.555 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.057e-05/0.23, allocations: 33.72 kB / 1.058 GB, free: 2.516 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.045e-05/0.2301, allocations: 330.8 kB / 1.058 GB, free: 2.184 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.555e-05/0.2302, allocations: 63.92 kB / 1.058 GB, free: 2.121 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.753e-05/0.2303, allocations: 76.5 kB / 1.059 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000167/0.2305, allocations: 197 kB / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.2305, allocations: 0 / 1.059 GB, free: 1.832 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.000275/0.2308, allocations: 267.1 kB / 1.059 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.261e-05/0.2308, allocations: 33.7 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.2308, allocations: 4 kB / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.2308, allocations: 0 / 1.059 GB, free: 1.516 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.039e-05/0.2309, allocations: 23.92 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2309, allocations: 0 / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.217e-05/0.231, allocations: 12.02 kB / 1.059 GB, free: 1.48 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.457e-05/0.231, allocations: 12.17 kB / 1.059 GB, free: 1.469 MB / 0.8106 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.0001229/0.2312, allocations: 181 kB / 1.059 GB, free: 1.277 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.784e-05/0.2312, allocations: 15.81 kB / 1.059 GB, free: 1.262 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001776/0.2314, allocations: 99.39 kB / 1.059 GB, free: 1.16 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2314, allocations: 4 kB / 1.059 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.2314, allocations: 3.984 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2314, allocations: 0 / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.2316, allocations: 237.4 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.253e-06/0.2316, allocations: 0 / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.429e-05/0.2316, allocations: 11.98 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.2317, allocations: 0 / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.657e-05/0.2317, allocations: 12 kB / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.2317, allocations: 0 / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.2317, allocations: 0 / 1.06 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003414/0.232, allocations: 343.4 kB / 1.06 GB, free: 496 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.107e-05/0.2321, allocations: 108.9 kB / 1.06 GB, free: 368 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.971e-05/0.2322, allocations: 4 kB / 1.06 GB, free: 364 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.994e-05/0.2322, allocations: 8 kB / 1.06 GB, free: 356 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.071e-05/0.2323, allocations: 15.98 kB / 1.06 GB, free: 340 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.739e-05/0.2323, allocations: 4 kB / 1.06 GB, free: 336 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001071/0.2324, allocations: 163 kB / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.2324, allocations: 0 / 1.06 GB, free: 172 kB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000228/0.2327, allocations: 51.94 kB / 1.06 GB, free: 120 kB / 0.8106 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.000619/0.2333, allocations: 0.8889 MB / 1.061 GB, free: 15.2 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002731/0.2336, allocations: 247.3 kB / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2336, allocations: 0 / 1.061 GB, free: 14.94 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001386/0.2337, allocations: 163.3 kB / 1.062 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.2339, allocations: 25.64 kB / 1.062 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.2359, allocations: 2.249 MB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002127/0.2361, allocations: 0.7235 MB / 1.064 GB, free: 11.65 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.015e-05/0.2361, allocations: 7.984 kB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.684e-05/0.2362, allocations: 43.42 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of SimCode: time 3.31e-07/0.2362, allocations: 4 kB / 1.065 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.598/1.835, allocations: 3.363 MB / 1.068 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002502/1.835, allocations: 236.3 kB / 1.068 GB, free: 8.156 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.721/3.556, allocations: 64 / 1.068 GB, free: 8.156 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_latest_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)