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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.0008528/0.0008527, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.004925/0.004925, allocations: 170.1 kB / 16.27 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.243/1.243, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.366/2.366, allocations: 443.3 MB / 0.7176 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002956/0.0002956, allocations: 9.438 kB / 0.8797 GB, free: 41.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2225/0.2228, allocations: 155.2 MB / 1.031 GB, free: 4.164 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001572/0.2244, allocations: 1.32 MB / 1.033 GB, free: 2.836 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.000996/0.2254, allocations: 0.6582 MB / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.11e-05/0.2255, allocations: 0 / 1.033 GB, free: 2.172 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002259/0.2257, allocations: 75.81 kB / 1.033 GB, free: 2.098 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002188/0.226, allocations: 91.75 kB / 1.033 GB, free: 2.008 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002637/0.2262, allocations: 87.47 kB / 1.033 GB, free: 1.926 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/0.2264, allocations: 119.7 kB / 1.034 GB, free: 1.809 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 7.321e-05/0.2265, allocations: 15.98 kB / 1.034 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001204/0.2266, allocations: 67.75 kB / 1.034 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001439/0.2268, allocations: 99.77 kB / 1.034 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.761e-05/0.2268, allocations: 8 kB / 1.034 GB, free: 1.621 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001113/0.2269, allocations: 75.92 kB / 1.034 GB, free: 1.547 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.526e-05/0.227, allocations: 31.84 kB / 1.034 GB, free: 1.516 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.82e-05/0.227, allocations: 85.3 kB / 1.034 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.2272, allocations: 159.7 kB / 1.034 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.285e-06/0.2273, allocations: 0 / 1.034 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.282e-06/0.2273, allocations: 0 / 1.034 GB, free: 1.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.427e-06/0.2273, allocations: 0 / 1.034 GB, free: 1.27 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.0005582/0.2278, allocations: 456.6 kB / 1.034 GB, free: 0.7695 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.272e-05/0.2279, allocations: 8.031 kB / 1.034 GB, free: 0.7617 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.852e-05/0.2279, allocations: 38.75 kB / 1.035 GB, free: 0.7148 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001163/0.228, allocations: 20.73 kB / 1.035 GB, free: 0.6953 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001714/0.2282, allocations: 208 kB / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2282, allocations: 384 / 1.035 GB, free: 464 kB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.675e-05/0.2283, allocations: 8.359 kB / 1.035 GB, free: 456 kB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001836/0.2284, allocations: 127.4 kB / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.751e-06/0.2285, allocations: 0 / 1.035 GB, free: 316 kB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.2285, allocations: 8 kB / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.2285, allocations: 0 / 1.035 GB, free: 308 kB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.2286, allocations: 71.91 kB / 1.035 GB, free: 236 kB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000382/0.229, allocations: 408.8 kB / 1.035 GB, free: 15.78 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001962/0.2292, allocations: 121.1 kB / 1.035 GB, free: 15.64 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.363e-05/0.2293, allocations: 85.72 kB / 1.036 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.507e-05/0.2293, allocations: 4 kB / 1.036 GB, free: 15.55 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002253/0.2296, allocations: 166.9 kB / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of pre-optimization done (n=13): time 1.242e-06/0.2296, allocations: 0 / 1.036 GB, free: 15.36 MB / 0.795 GB Notification: Performance of matching and sorting (n=13): time 0.0004576/0.23, allocations: 343 kB / 1.036 GB, free: 15.01 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.2301, allocations: 106.8 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002131/0.2303, allocations: 214.6 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.85e-05/0.2304, allocations: 29.7 kB / 1.036 GB, free: 14.62 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 9.054e-05/0.2304, allocations: 112.1 kB / 1.036 GB, free: 14.51 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.842e-05/0.2305, allocations: 39.45 kB / 1.037 GB, free: 14.47 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.881e-05/0.2305, allocations: 21.66 kB / 1.037 GB, free: 14.45 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001531/0.2307, allocations: 334.8 kB / 1.037 GB, free: 14.11 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.779e-05/0.2308, allocations: 59.98 kB / 1.037 GB, free: 14.05 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.511e-05/0.2309, allocations: 82.45 kB / 1.037 GB, free: 13.96 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001853/0.231, allocations: 189.1 kB / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2311, allocations: 0 / 1.037 GB, free: 13.76 MB / 0.795 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002931/0.2314, allocations: 267.1 kB / 1.037 GB, free: 13.49 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 4.278e-05/0.2314, allocations: 43.09 kB / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2314, allocations: 0 / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.127e-06/0.2314, allocations: 0 / 1.037 GB, free: 13.44 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.776e-05/0.2315, allocations: 19.94 kB / 1.037 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.937e-06/0.2315, allocations: 0 / 1.037 GB, free: 13.42 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.363e-05/0.2316, allocations: 15.89 kB / 1.037 GB, free: 13.41 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.421e-05/0.2317, allocations: 4 kB / 1.038 GB, free: 13.4 MB / 0.795 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.0001369/0.2318, allocations: 183.4 kB / 1.038 GB, free: 13.21 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.658e-05/0.2318, allocations: 19.81 kB / 1.038 GB, free: 13.19 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001816/0.232, allocations: 107.1 kB / 1.038 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.375e-06/0.232, allocations: 0 / 1.038 GB, free: 13.08 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.019e-06/0.232, allocations: 4 kB / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.035e-06/0.232, allocations: 0 / 1.038 GB, free: 13.07 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001708/0.2322, allocations: 237.4 kB / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.2322, allocations: 0 / 1.038 GB, free: 12.79 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.965e-05/0.2323, allocations: 11.98 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.657e-06/0.2323, allocations: 4 kB / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.193e-05/0.2323, allocations: 0 / 1.038 GB, free: 12.78 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.2323, allocations: 4.375 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.2323, allocations: 4 kB / 1.038 GB, free: 12.77 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.2327, allocations: 339.3 kB / 1.038 GB, free: 12.41 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001058/0.2328, allocations: 112.8 kB / 1.038 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.875e-05/0.2329, allocations: 4.188 kB / 1.038 GB, free: 12.28 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.179e-05/0.233, allocations: 8 kB / 1.038 GB, free: 12.27 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.233, allocations: 11.92 kB / 1.039 GB, free: 12.26 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.233, allocations: 19.98 kB / 1.039 GB, free: 12.24 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.000116/0.2332, allocations: 160 kB / 1.039 GB, free: 12.08 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2332, allocations: 0 / 1.039 GB, free: 12.08 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002531/0.2334, allocations: 47.92 kB / 1.039 GB, free: 12.04 MB / 0.795 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.0006501/0.2341, allocations: 0.892 MB / 1.04 GB, free: 11.1 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.0002838/0.2344, allocations: 247.3 kB / 1.04 GB, free: 10.85 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.2344, allocations: 0 / 1.04 GB, free: 10.85 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.0001479/0.2345, allocations: 163.3 kB / 1.04 GB, free: 10.68 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001932/0.2347, allocations: 18.09 kB / 1.04 GB, free: 10.66 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002131/0.2369, allocations: 2.247 MB / 1.042 GB, free: 8.309 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.2371, allocations: 0.7278 MB / 1.043 GB, free: 7.555 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 3.641e-05/0.2372, allocations: 4 kB / 1.043 GB, free: 7.551 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.748e-05/0.2373, allocations: 43.42 kB / 1.043 GB, free: 7.508 MB / 0.795 GB Notification: Performance of SimCode: time 3.4e-07/0.2373, allocations: 0 / 1.043 GB, free: 7.508 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2697/0.5069, allocations: 3.204 MB / 1.046 GB, free: 4.492 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/0.5072, allocations: 229.2 kB / 1.046 GB, free: 4.242 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/2.175, allocations: 4 kB / 1.046 GB, free: 4.238 MB / 0.795 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)