Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.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(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008825/0.0008823, 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.005584/0.005584, allocations: 170.5 kB / 16.26 MB, free: 6.676 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: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001649/0.001649, allocations: 270.9 kB / 291.7 MB, free: 1.859 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9048/0.9048, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003899/0.0003899, allocations: 14.53 kB / 0.5988 GB, free: 28.16 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1296/0.13, allocations: 88.54 MB / 0.6852 GB, free: 14.97 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.001529/0.1315, allocations: 1.309 MB / 0.6865 GB, free: 13.65 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000949/0.1325, allocations: 0.6517 MB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.709e-05/0.1326, allocations: 4 kB / 0.6871 GB, free: 13 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.1327, allocations: 71.81 kB / 0.6872 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002292/0.1329, allocations: 99.98 kB / 0.6873 GB, free: 12.83 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.1332, allocations: 78.59 kB / 0.6874 GB, free: 12.76 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.1333, allocations: 119.7 kB / 0.6875 GB, free: 12.64 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.409e-05/0.1334, allocations: 16.27 kB / 0.6875 GB, free: 12.62 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001177/0.1335, allocations: 62.75 kB / 0.6876 GB, free: 12.57 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001517/0.1337, allocations: 99.77 kB / 0.6877 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.563e-05/0.1337, allocations: 0 / 0.6877 GB, free: 12.47 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001134/0.1338, allocations: 79.92 kB / 0.6877 GB, free: 12.39 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.1339, allocations: 39.78 kB / 0.6878 GB, free: 12.35 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 7.061e-05/0.134, allocations: 78.06 kB / 0.6879 GB, free: 12.27 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001865/0.1342, allocations: 163.5 kB / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.1342, allocations: 0.6562 kB / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.433e-06/0.1342, allocations: 0 / 0.688 GB, free: 12.11 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.347e-06/0.1342, allocations: 1.25 kB / 0.688 GB, free: 12.11 MB / 494.1 MB 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.0005562/0.1347, allocations: 456 kB / 0.6885 GB, free: 11.61 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.16e-05/0.1348, allocations: 15.97 kB / 0.6885 GB, free: 11.6 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.1348, allocations: 34.75 kB / 0.6885 GB, free: 11.55 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.689e-05/0.1349, allocations: 16.75 kB / 0.6885 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001865/0.1351, allocations: 208 kB / 0.6887 GB, free: 11.3 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.269e-05/0.1351, allocations: 4.375 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.1351, allocations: 8.312 kB / 0.6887 GB, free: 11.29 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001868/0.1353, allocations: 128.2 kB / 0.6889 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.1353, allocations: 1.438 kB / 0.6889 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.171e-05/0.1353, allocations: 0 / 0.6889 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.1353, allocations: 0 / 0.6889 GB, free: 11.15 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001225/0.1355, allocations: 75.91 kB / 0.6889 GB, free: 11.07 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003822/0.1359, allocations: 418.3 kB / 0.6893 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001631/0.136, allocations: 119.2 kB / 0.6894 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1361, allocations: 85.78 kB / 0.6895 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.643e-05/0.1362, allocations: 0 / 0.6895 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002345/0.1364, allocations: 170.9 kB / 0.6897 GB, free: 10.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=13): time 1.062e-06/0.1364, allocations: 0 / 0.6897 GB, free: 10.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=13): time 0.000471/0.1369, allocations: 335 kB / 0.69 GB, free: 9.859 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.331e-05/0.137, allocations: 110.8 kB / 0.6901 GB, free: 9.727 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001826/0.1371, allocations: 218.9 kB / 0.6903 GB, free: 9.5 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.041e-05/0.1372, allocations: 29.7 kB / 0.6903 GB, free: 9.465 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.5e-05/0.1372, allocations: 116 kB / 0.6905 GB, free: 9.348 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.525e-05/0.1373, allocations: 35.48 kB / 0.6905 GB, free: 9.312 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1373, allocations: 17.72 kB / 0.6905 GB, free: 9.289 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001087/0.1374, allocations: 334.8 kB / 0.6908 GB, free: 8.953 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.917e-05/0.1375, allocations: 55.98 kB / 0.6909 GB, free: 8.898 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.953e-05/0.1376, allocations: 83.8 kB / 0.691 GB, free: 8.812 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/0.1378, allocations: 189.2 kB / 0.6911 GB, free: 8.609 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1378, allocations: 3.938 kB / 0.6911 GB, free: 8.605 MB / 494.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003059/0.1381, allocations: 267.1 kB / 0.6914 GB, free: 8.332 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.1382, allocations: 39.58 kB / 0.6914 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.1382, allocations: 0 / 0.6914 GB, free: 8.289 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1382, allocations: 4 kB / 0.6914 GB, free: 8.285 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.252e-05/0.1383, allocations: 15.92 kB / 0.6915 GB, free: 8.27 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/0.1383, allocations: 4.312 kB / 0.6915 GB, free: 8.266 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.928e-05/0.1384, allocations: 11.91 kB / 0.6915 GB, free: 8.254 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.211e-05/0.1384, allocations: 15.98 kB / 0.6915 GB, free: 8.238 MB / 494.1 MB 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.0001319/0.1386, allocations: 187.4 kB / 0.6917 GB, free: 8.043 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.432e-05/0.1386, allocations: 15.81 kB / 0.6917 GB, free: 8.027 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001844/0.1388, allocations: 98.95 kB / 0.6918 GB, free: 7.926 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.607e-06/0.1388, allocations: 4 kB / 0.6918 GB, free: 7.922 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.1388, allocations: 4 kB / 0.6918 GB, free: 7.918 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.1388, allocations: 7.922 kB / 0.6918 GB, free: 7.91 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001745/0.139, allocations: 229.4 kB / 0.692 GB, free: 7.637 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.139, allocations: 4 kB / 0.692 GB, free: 7.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.311e-05/0.1391, allocations: 11.98 kB / 0.692 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1391, allocations: 0 / 0.692 GB, free: 7.621 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.431e-05/0.1391, allocations: 4 kB / 0.692 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1391, allocations: 0 / 0.692 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1391, allocations: 0 / 0.692 GB, free: 7.617 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003917/0.1395, allocations: 343.3 kB / 0.6924 GB, free: 7.254 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.155e-05/0.1396, allocations: 100.9 kB / 0.6924 GB, free: 7.137 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.316e-05/0.1396, allocations: 11.98 kB / 0.6925 GB, free: 7.125 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.587e-05/0.1397, allocations: 8 kB / 0.6925 GB, free: 7.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.711e-05/0.1398, allocations: 7.984 kB / 0.6925 GB, free: 7.109 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.86e-05/0.1398, allocations: 8.094 kB / 0.6925 GB, free: 7.102 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001189/0.14, allocations: 160.2 kB / 0.6926 GB, free: 6.945 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.14, allocations: 4 kB / 0.6926 GB, free: 6.941 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002379/0.1402, allocations: 47.94 kB / 0.6927 GB, free: 6.895 MB / 494.1 MB 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.0006691/0.1409, allocations: 0.8943 MB / 0.6936 GB, free: 5.965 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002911/0.1412, allocations: 247.5 kB / 0.6938 GB, free: 5.711 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1412, allocations: 0 / 0.6938 GB, free: 5.711 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.1414, allocations: 171.2 kB / 0.694 GB, free: 5.531 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002029/0.1416, allocations: 19.92 kB / 0.694 GB, free: 5.512 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00212/0.1437, allocations: 2.255 MB / 0.6962 GB, free: 3.148 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.144, allocations: 0.7278 MB / 0.6969 GB, free: 2.395 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.748e-05/0.144, allocations: 4 kB / 0.6969 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.723e-05/0.1441, allocations: 43.42 kB / 0.6969 GB, free: 2.348 MB / 494.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1441, allocations: 0 / 0.6969 GB, free: 2.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8942/1.038, allocations: 3.208 MB / 0.7001 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002018/1.039, allocations: 242.8 kB / 0.7003 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.659/2.697, allocations: 8 kB / 0.7003 GB, free: 15.11 MB / 0.4981 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)