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.001344/0.001344, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001492/0.001492, allocations: 192.9 kB / 16.53 MB, free: 6.664 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 / 240.2 MB, free: 4.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.439/2.439, allocations: 461.9 MB / 0.7346 GB, free: 14.76 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 64.42 kB / 0.8992 GB, free: 36.98 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2254, allocations: 157.4 MB / 1.053 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002386/0.2279, allocations: 1.604 MB / 1.054 GB, free: 6.68 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009038/0.2288, allocations: 0.6508 MB / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.891e-05/0.2288, allocations: 0 / 1.055 GB, free: 6.023 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001276/0.229, allocations: 71.83 kB / 1.055 GB, free: 5.953 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.2292, allocations: 111.7 kB / 1.055 GB, free: 5.844 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002809/0.2295, allocations: 99.7 kB / 1.055 GB, free: 5.746 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001399/0.2296, allocations: 131.7 kB / 1.055 GB, free: 5.617 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7.09e-05/0.2297, allocations: 7.984 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001125/0.2298, allocations: 71.81 kB / 1.056 GB, free: 5.539 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001403/0.23, allocations: 107.7 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.162e-05/0.23, allocations: 4 kB / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001274/0.2301, allocations: 75.94 kB / 1.056 GB, free: 5.355 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 7.194e-05/0.2302, allocations: 35.89 kB / 1.056 GB, free: 5.32 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 9.121e-05/0.2303, allocations: 55.61 kB / 1.056 GB, free: 5.266 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0002613/0.2306, allocations: 167.7 kB / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2306, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2306, allocations: 0 / 1.056 GB, free: 5.102 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.722e-06/0.2306, allocations: 3.938 kB / 1.056 GB, free: 5.098 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.0007827/0.2314, allocations: 484.4 kB / 1.056 GB, free: 4.57 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.243e-05/0.2314, allocations: 8.625 kB / 1.056 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.259e-05/0.2315, allocations: 34.75 kB / 1.057 GB, free: 4.52 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.787e-05/0.2316, allocations: 16.75 kB / 1.057 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002302/0.2318, allocations: 215.9 kB / 1.057 GB, free: 4.254 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.721e-05/0.2318, allocations: 4.375 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.2318, allocations: 384 / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002583/0.2321, allocations: 139.3 kB / 1.057 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.433e-05/0.2321, allocations: 3.984 kB / 1.057 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.749e-05/0.2321, allocations: 4 kB / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.951e-06/0.2322, allocations: 0 / 1.057 GB, free: 4.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001416/0.2323, allocations: 67.97 kB / 1.057 GB, free: 4.027 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004839/0.2328, allocations: 408.9 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001717/0.233, allocations: 117.2 kB / 1.057 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001101/0.2331, allocations: 85.72 kB / 1.058 GB, free: 3.352 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.2331, allocations: 4 kB / 1.058 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.2334, allocations: 178.8 kB / 1.058 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.663e-06/0.2334, allocations: 0 / 1.058 GB, free: 3.148 MB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.0004894/0.2339, allocations: 331 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.234, allocations: 110.8 kB / 1.058 GB, free: 2.68 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001753/0.2342, allocations: 216.1 kB / 1.058 GB, free: 2.457 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.72e-05/0.2342, allocations: 25.7 kB / 1.058 GB, free: 2.426 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.2343, allocations: 116.1 kB / 1.058 GB, free: 2.309 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.2343, allocations: 35.55 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.388e-05/0.2344, allocations: 25.72 kB / 1.059 GB, free: 2.242 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.888e-05/0.2345, allocations: 338.8 kB / 1.059 GB, free: 1.902 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.322e-05/0.2345, allocations: 63.91 kB / 1.059 GB, free: 1.84 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.702e-05/0.2346, allocations: 77.69 kB / 1.059 GB, free: 1.758 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001803/0.2348, allocations: 193 kB / 1.059 GB, free: 1.551 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.2348, allocations: 4 kB / 1.059 GB, free: 1.547 MB / 0.8106 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003007/0.2351, allocations: 267.1 kB / 1.059 GB, free: 1.273 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/0.2352, allocations: 33.69 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.711e-06/0.2352, allocations: 8 kB / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.192e-05/0.2352, allocations: 0 / 1.059 GB, free: 1.227 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.173e-05/0.2353, allocations: 15.94 kB / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.338e-06/0.2353, allocations: 0 / 1.059 GB, free: 1.211 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.811e-05/0.2354, allocations: 15.92 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.2354, allocations: 4 kB / 1.059 GB, free: 1.191 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.000132/0.2356, allocations: 181 kB / 1.06 GB, free: 1 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.958e-05/0.2356, allocations: 15.81 kB / 1.06 GB, free: 0.9844 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001829/0.2358, allocations: 103 kB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.998e-06/0.2358, allocations: 4 kB / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2358, allocations: 384 / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2358, allocations: 0 / 1.06 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001783/0.236, allocations: 237.4 kB / 1.06 GB, free: 0.5938 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.348e-06/0.236, allocations: 8 kB / 1.06 GB, free: 0.5859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.32e-05/0.2361, allocations: 12.08 kB / 1.06 GB, free: 0.5742 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.2361, allocations: 3.984 kB / 1.06 GB, free: 0.5703 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.555e-05/0.2361, allocations: 12 kB / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.2361, allocations: 0 / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2361, allocations: 0 / 1.06 GB, free: 0.5586 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003557/0.2365, allocations: 334.5 kB / 1.06 GB, free: 212 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 7.631e-05/0.2366, allocations: 104.9 kB / 1.06 GB, free: 88 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.433e-05/0.2366, allocations: 8 kB / 1.06 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.147e-05/0.2367, allocations: 4 kB / 1.06 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.065e-05/0.2368, allocations: 15.98 kB / 1.06 GB, free: 60 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.978e-05/0.2368, allocations: 11.98 kB / 1.06 GB, free: 48 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0001267/0.2369, allocations: 159 kB / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2369, allocations: 0 / 1.061 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002414/0.2372, allocations: 47.92 kB / 1.061 GB, free: 15.84 MB / 0.8262 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.0006482/0.2378, allocations: 0.896 MB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002868/0.2381, allocations: 251.2 kB / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2381, allocations: 0 / 1.062 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001549/0.2383, allocations: 167.3 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001948/0.2385, allocations: 19.88 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002054/0.2406, allocations: 2.233 MB / 1.064 GB, free: 12.13 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.2408, allocations: 0.7197 MB / 1.065 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.913e-05/0.2409, allocations: 7.984 kB / 1.065 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.837e-05/0.2409, allocations: 43.42 kB / 1.065 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of SimCode: time 3.2e-07/0.2409, allocations: 4 kB / 1.065 GB, free: 11.33 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2695/0.5104, allocations: 3.469 MB / 1.068 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.544/8.054, allocations: 8.438 kB / 1.068 GB, free: 7.988 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)