Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.209/1.209, allocations: 251.5 MB / 266.7 MB, free: 10.99 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0008259/0.000826, allocations: 183.4 kB / 325.9 MB, free: 2.645 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.22/1.22, allocations: 205 MB / 0.576 GB, free: 20.68 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006924/0.0006921, allocations: 96.62 kB / 0.6797 GB, free: 14.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002568/0.0002568, allocations: 8.75 kB / 0.7932 GB, free: 136.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1349/0.1352, allocations: 105.4 MB / 0.8962 GB, free: 67.58 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001168/0.1364, allocations: 1.219 MB / 0.8974 GB, free: 66.35 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0007576/0.1371, allocations: 0.6434 MB / 0.898 GB, free: 65.7 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.672e-05/0.1372, allocations: 4 kB / 0.898 GB, free: 65.69 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.1373, allocations: 71.83 kB / 0.8981 GB, free: 65.62 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001194/0.1374, allocations: 79.81 kB / 0.8982 GB, free: 65.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002186/0.1377, allocations: 75.84 kB / 0.8982 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.471e-05/0.1378, allocations: 91.73 kB / 0.8983 GB, free: 65.38 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 6.247e-05/0.1378, allocations: 8 kB / 0.8983 GB, free: 65.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 9.485e-05/0.1379, allocations: 55.83 kB / 0.8984 GB, free: 65.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 9.443e-05/0.138, allocations: 83.83 kB / 0.8985 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.538e-05/0.138, allocations: 7.938 kB / 0.8985 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.641e-05/0.1381, allocations: 67.94 kB / 0.8985 GB, free: 65.16 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 4.05e-05/0.1382, allocations: 27.91 kB / 0.8986 GB, free: 65.13 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 4.125e-05/0.1382, allocations: 39.69 kB / 0.8986 GB, free: 65.09 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001246/0.1384, allocations: 135.6 kB / 0.8987 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1384, allocations: 0 / 0.8987 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.092e-06/0.1384, allocations: 3.938 kB / 0.8987 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.226e-06/0.1384, allocations: 0 / 0.8987 GB, free: 64.96 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0003174/0.1387, allocations: 440.7 kB / 0.8992 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.1387, allocations: 8.031 kB / 0.8992 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.033e-05/0.1388, allocations: 34.75 kB / 0.8992 GB, free: 64.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.805e-05/0.1388, allocations: 16.75 kB / 0.8992 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001144/0.1389, allocations: 212.8 kB / 0.8994 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.961e-06/0.1389, allocations: 4.359 kB / 0.8994 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.168e-05/0.139, allocations: 4.375 kB / 0.8994 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001218/0.1391, allocations: 115.4 kB / 0.8995 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.711e-06/0.1391, allocations: 0 / 0.8995 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.145e-06/0.1391, allocations: 0 / 0.8995 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.1391, allocations: 4 kB / 0.8995 GB, free: 64.02 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.615e-05/0.1392, allocations: 55.97 kB / 0.8996 GB, free: 63.97 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002379/0.1394, allocations: 293.7 kB / 0.8999 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 8.354e-05/0.1395, allocations: 109.1 kB / 0.9 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.764e-05/0.1396, allocations: 69.75 kB / 0.9001 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.639e-05/0.1396, allocations: 4 kB / 0.9001 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001463/0.1398, allocations: 150.7 kB / 0.9002 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=10): time 1.102e-06/0.1398, allocations: 4 kB / 0.9002 GB, free: 63.25 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10): time 0.0002857/0.1401, allocations: 295.1 kB / 0.9005 GB, free: 62.95 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.1401, allocations: 106.8 kB / 0.9006 GB, free: 62.82 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.1402, allocations: 203.1 kB / 0.9008 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.036e-06/0.1402, allocations: 29.7 kB / 0.9008 GB, free: 62.58 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.13e-05/0.1403, allocations: 112 kB / 0.9009 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.045e-05/0.1403, allocations: 31.73 kB / 0.9009 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.196e-05/0.1403, allocations: 21.7 kB / 0.901 GB, free: 62.41 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.586e-05/0.1404, allocations: 330.9 kB / 0.9013 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.592e-05/0.1404, allocations: 51.98 kB / 0.9013 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.577e-05/0.1405, allocations: 65.69 kB / 0.9014 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001008/0.1406, allocations: 177 kB / 0.9016 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.383e-06/0.1406, allocations: 4 kB / 0.9016 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001785/0.1408, allocations: 243.1 kB / 0.9018 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.217e-05/0.1408, allocations: 41.73 kB / 0.9018 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.387e-06/0.1408, allocations: 240 / 0.9018 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.408e-06/0.1408, allocations: 4 kB / 0.9018 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.168e-05/0.1409, allocations: 7.984 kB / 0.9018 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.1409, allocations: 7.984 kB / 0.9019 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.1409, allocations: 4 kB / 0.9019 GB, free: 61.44 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.255e-06/0.141, allocations: 0 / 0.9019 GB, free: 61.44 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 (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 (6): * Single equations (assignments): 5 * 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 8.175e-05/0.141, allocations: 178.3 kB / 0.902 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.891e-05/0.1411, allocations: 19.81 kB / 0.902 GB, free: 61.23 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001042/0.1412, allocations: 71.02 kB / 0.9021 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1412, allocations: 0 / 0.9021 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.1412, allocations: 0 / 0.9021 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.1412, allocations: 4.141 kB / 0.9021 GB, free: 61.15 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.932e-05/0.1413, allocations: 217.5 kB / 0.9023 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.1413, allocations: 3.984 kB / 0.9023 GB, free: 60.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.678e-05/0.1413, allocations: 8 kB / 0.9023 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.1414, allocations: 0 / 0.9023 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.1414, allocations: 11.98 kB / 0.9024 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-06/0.1414, allocations: 0 / 0.9024 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.1414, allocations: 4.062 kB / 0.9024 GB, free: 60.86 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.1416, allocations: 307.3 kB / 0.9026 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 4.237e-05/0.1417, allocations: 104.8 kB / 0.9027 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.312e-05/0.1417, allocations: 4 kB / 0.9028 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.955e-05/0.1417, allocations: 0 / 0.9028 GB, free: 60.41 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.856e-05/0.1418, allocations: 15.98 kB / 0.9028 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.351e-05/0.1418, allocations: 4 kB / 0.9028 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 8.743e-05/0.1419, allocations: 153.1 kB / 0.9029 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1419, allocations: 0 / 0.9029 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001883/0.1421, allocations: 43.98 kB / 0.903 GB, free: 60.2 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,solDecNOAA.a,solDecNOAA.b,solDecNOAA.last,solDecNOAA.nextEvent,solDecNOAA.nextEventScaled) * Number of discrete states: 6 (solDecNOAA.nextEvent,solDecNOAA.last,solDecNOAA.nextEventScaled,solDecNOAA.b,solDecNOAA.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0004005/0.1425, allocations: 0.8724 MB / 0.9038 GB, free: 59.29 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.1427, allocations: 215.3 kB / 0.904 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.432e-06/0.1427, allocations: 3.938 kB / 0.904 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.067e-05/0.1428, allocations: 147.4 kB / 0.9042 GB, free: 58.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001668/0.1429, allocations: 12 kB / 0.9042 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.1442, allocations: 2.105 MB / 0.9062 GB, free: 56.68 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.714e-05/0.1443, allocations: 0.7158 MB / 0.9069 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.462e-05/0.1444, allocations: 4 kB / 0.9069 GB, free: 55.94 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.267e-05/0.1444, allocations: 31.42 kB / 0.907 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of SimCode: time 1.9e-07/0.1444, allocations: 0 / 0.907 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2975/0.4419, allocations: 2.795 MB / 0.9097 GB, free: 53.33 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001384/0.442, allocations: 251.1 kB / 0.9099 GB, free: 53.07 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.824/2.266, allocations: 0 / 0.9099 GB, free: 53.07 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > Buildings_maint.7.0.x_Buildings.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)