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.0008644/0.0008647, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005126/0.005126, allocations: 170.5 kB / 16.26 MB, free: 6.613 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.178/1.178, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.327/2.327, allocations: 462.6 MB / 0.7364 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002806/0.0002806, allocations: 8.031 kB / 0.9029 GB, free: 36.44 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2245/0.2248, allocations: 159.6 MB / 1.059 GB, free: 4.887 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001486/0.2263, allocations: 1.33 MB / 1.06 GB, free: 3.547 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009393/0.2273, allocations: 0.6545 MB / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.755e-05/0.2273, allocations: 0 / 1.061 GB, free: 2.887 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.2275, allocations: 75.89 kB / 1.061 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002216/0.2277, allocations: 99.72 kB / 1.061 GB, free: 2.715 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002462/0.2279, allocations: 71.86 kB / 1.061 GB, free: 2.645 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001276/0.2281, allocations: 127.6 kB / 1.061 GB, free: 2.52 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 7e-05/0.2281, allocations: 15.98 kB / 1.061 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000116/0.2283, allocations: 59.83 kB / 1.061 GB, free: 2.445 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001346/0.2284, allocations: 99.75 kB / 1.061 GB, free: 2.348 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.2284, allocations: 4 kB / 1.061 GB, free: 2.344 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001121/0.2286, allocations: 71.94 kB / 1.061 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 5.076e-05/0.2286, allocations: 35.84 kB / 1.061 GB, free: 2.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.611e-05/0.2287, allocations: 77.3 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.2289, allocations: 159.8 kB / 1.062 GB, free: 2 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.876e-06/0.2289, allocations: 4 kB / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2289, allocations: 0 / 1.062 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.2289, allocations: 0 / 1.062 GB, free: 1.996 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.0005246/0.2294, allocations: 452.6 kB / 1.062 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2295, allocations: 15.95 kB / 1.062 GB, free: 1.484 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.37e-05/0.2295, allocations: 38.69 kB / 1.062 GB, free: 1.438 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.56e-05/0.2295, allocations: 16.75 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001592/0.2297, allocations: 208 kB / 1.062 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2297, allocations: 12.38 kB / 1.062 GB, free: 1.168 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.77e-05/0.2297, allocations: 4.375 kB / 1.062 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000177/0.2299, allocations: 127.4 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.231e-06/0.2299, allocations: 4 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.292e-05/0.23, allocations: 0 / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-06/0.23, allocations: 3.938 kB / 1.062 GB, free: 1.02 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.2301, allocations: 75.94 kB / 1.062 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003506/0.2304, allocations: 420.8 kB / 1.063 GB, free: 492 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001463/0.2306, allocations: 109.2 kB / 1.063 GB, free: 364 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.883e-05/0.2307, allocations: 85.72 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.768e-05/0.2307, allocations: 8 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002276/0.2309, allocations: 177.1 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=13): time 1.222e-06/0.231, allocations: 0 / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of matching and sorting (n=13): time 0.00045/0.2314, allocations: 335.3 kB / 1.064 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.48e-05/0.2315, allocations: 106.8 kB / 1.064 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001593/0.2316, allocations: 213.3 kB / 1.064 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.2317, allocations: 33.7 kB / 1.064 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.458e-05/0.2317, allocations: 115.9 kB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.27e-05/0.2318, allocations: 35.56 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.85e-05/0.2318, allocations: 17.7 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 8.569e-05/0.2319, allocations: 330.8 kB / 1.064 GB, free: 14.83 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.927e-05/0.232, allocations: 63.97 kB / 1.064 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-05/0.2321, allocations: 80.08 kB / 1.065 GB, free: 14.68 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001726/0.2322, allocations: 197 kB / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2322, allocations: 0 / 1.065 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0002789/0.2325, allocations: 263.1 kB / 1.065 GB, free: 14.2 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.072e-05/0.2326, allocations: 37.69 kB / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.316e-06/0.2326, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.696e-06/0.2326, allocations: 0 / 1.065 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.129e-05/0.2327, allocations: 15.98 kB / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.2327, allocations: 240 / 1.065 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.509e-05/0.2328, allocations: 15.91 kB / 1.065 GB, free: 14.13 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.57e-05/0.2328, allocations: 4 kB / 1.065 GB, free: 14.12 MB / 0.8262 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.000123/0.2329, allocations: 189.7 kB / 1.065 GB, free: 13.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.628e-05/0.233, allocations: 27.69 kB / 1.065 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001765/0.2332, allocations: 91.06 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.2332, allocations: 4 kB / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.928e-06/0.2332, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.2332, allocations: 0 / 1.065 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001626/0.2334, allocations: 241.4 kB / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.2334, allocations: 0 / 1.066 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.006e-05/0.2334, allocations: 15.94 kB / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.2334, allocations: 384 / 1.066 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.571e-05/0.2334, allocations: 11.98 kB / 1.066 GB, free: 13.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.138e-06/0.2335, allocations: 7.984 kB / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2335, allocations: 0 / 1.066 GB, free: 13.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003493/0.2338, allocations: 339.3 kB / 1.066 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.748e-05/0.2339, allocations: 101 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.968e-05/0.2339, allocations: 4 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.235e-05/0.234, allocations: 15.91 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.943e-05/0.2341, allocations: 15.98 kB / 1.066 GB, free: 12.97 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.2341, allocations: 4 kB / 1.066 GB, free: 12.96 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001141/0.2342, allocations: 167 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2342, allocations: 0 / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002291/0.2345, allocations: 47.94 kB / 1.066 GB, free: 12.75 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.0006103/0.2351, allocations: 0.8881 MB / 1.067 GB, free: 11.83 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002633/0.2353, allocations: 243.3 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2354, allocations: 0 / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001471/0.2355, allocations: 171.3 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001897/0.2357, allocations: 12 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001916/0.2376, allocations: 2.251 MB / 1.07 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002147/0.2379, allocations: 0.7238 MB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.82e-05/0.2379, allocations: 12.17 kB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.407e-05/0.238, allocations: 43.36 kB / 1.07 GB, free: 8.223 MB / 0.8262 GB Notification: Performance of SimCode: time 3.4e-07/0.238, allocations: 3.938 kB / 1.07 GB, free: 8.219 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.484/1.722, allocations: 3.189 MB / 1.074 GB, free: 5.215 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002188/1.722, allocations: 236 kB / 1.074 GB, free: 4.961 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.601/3.323, allocations: 0 / 1.074 GB, free: 4.961 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)