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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 109 kB / 16.46 MB, free: 6.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001666/0.001666, allocations: 216.2 kB / 19.43 MB, free: 3.625 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.32/1.32, allocations: 230.6 MB / 252.8 MB, free: 8.996 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002341/0.002341, allocations: 284.3 kB / 309.1 MB, free: 3.996 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.094/1.094, allocations: 180.9 MB / 0.5333 GB, free: 13.75 MB / 382.1 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002635/0.002635, allocations: 101.4 kB / 0.7342 GB, free: 28.45 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1468, allocations: 95.35 MB / 0.8273 GB, free: 9.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002572/0.1494, allocations: 1.627 MB / 0.8289 GB, free: 8.277 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001105/0.1505, allocations: 0.7011 MB / 0.8296 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.201e-05/0.1506, allocations: 0 / 0.8296 GB, free: 7.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0001399/0.1507, allocations: 71.81 kB / 0.8297 GB, free: 7.5 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002489/0.151, allocations: 107.7 kB / 0.8298 GB, free: 7.395 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003053/0.1513, allocations: 95.7 kB / 0.8299 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000169/0.1514, allocations: 127.7 kB / 0.83 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 7.186e-05/0.1515, allocations: 15.97 kB / 0.83 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.1517, allocations: 79.73 kB / 0.8301 GB, free: 7.082 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000157/0.1518, allocations: 115.8 kB / 0.8302 GB, free: 6.969 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.801e-05/0.1518, allocations: 4 kB / 0.8302 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001443/0.152, allocations: 95.86 kB / 0.8303 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 5.657e-05/0.152, allocations: 31.89 kB / 0.8303 GB, free: 6.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.839e-05/0.1521, allocations: 59.61 kB / 0.8304 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002315/0.1523, allocations: 175.5 kB / 0.8306 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.1523, allocations: 0 / 0.8306 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.322e-06/0.1523, allocations: 0 / 0.8306 GB, free: 6.609 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.1524, allocations: 0 / 0.8306 GB, free: 6.609 MB / 0.5762 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.0006745/0.153, allocations: 492.1 kB / 0.831 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.1531, allocations: 12.03 kB / 0.831 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.151e-05/0.1531, allocations: 34.75 kB / 0.8311 GB, free: 6.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001471/0.1532, allocations: 24.83 kB / 0.8311 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000246/0.1535, allocations: 216.7 kB / 0.8313 GB, free: 5.746 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.1535, allocations: 4.375 kB / 0.8313 GB, free: 5.742 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.1535, allocations: 4.375 kB / 0.8313 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000206/0.1537, allocations: 127.4 kB / 0.8314 GB, free: 5.602 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.1537, allocations: 4 kB / 0.8314 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.162e-05/0.1537, allocations: 0 / 0.8314 GB, free: 5.598 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1538, allocations: 4 kB / 0.8314 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001307/0.1539, allocations: 75.95 kB / 0.8315 GB, free: 5.52 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.1543, allocations: 400.9 kB / 0.8319 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001704/0.1545, allocations: 109.2 kB / 0.832 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001012/0.1546, allocations: 69.73 kB / 0.8321 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 1.958e-05/0.1546, allocations: 4.141 kB / 0.8321 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.1548, allocations: 170.8 kB / 0.8322 GB, free: 4.68 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=13): time 4.518e-06/0.1548, allocations: 4 kB / 0.8322 GB, free: 4.676 MB / 0.5762 GB Notification: Performance of matching and sorting (n=13): time 0.0005135/0.1553, allocations: 339.1 kB / 0.8326 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.1554, allocations: 106.8 kB / 0.8327 GB, free: 4.203 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002157/0.1556, allocations: 218.5 kB / 0.8329 GB, free: 3.977 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.314e-05/0.1557, allocations: 29.7 kB / 0.8329 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.098e-05/0.1557, allocations: 112.1 kB / 0.833 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.936e-05/0.1558, allocations: 35.69 kB / 0.833 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.569e-05/0.1558, allocations: 29.7 kB / 0.8331 GB, free: 3.758 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001382/0.156, allocations: 334.8 kB / 0.8334 GB, free: 3.422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.264e-05/0.1561, allocations: 67.91 kB / 0.8334 GB, free: 3.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.658e-05/0.1561, allocations: 79.45 kB / 0.8335 GB, free: 3.273 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002079/0.1564, allocations: 197.1 kB / 0.8337 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.1564, allocations: 0 / 0.8337 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003401/0.1567, allocations: 267.1 kB / 0.834 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.942e-05/0.1567, allocations: 37.69 kB / 0.834 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1567, allocations: 0 / 0.834 GB, free: 2.746 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.121e-05/0.1568, allocations: 4 kB / 0.834 GB, free: 2.742 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.1568, allocations: 19.92 kB / 0.834 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1569, allocations: 0 / 0.834 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.157, allocations: 15.94 kB / 0.834 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.548e-05/0.157, allocations: 4 kB / 0.834 GB, free: 2.703 MB / 0.5762 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.000149/0.1571, allocations: 175.5 kB / 0.8342 GB, free: 2.516 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.802e-05/0.1572, allocations: 27.86 kB / 0.8342 GB, free: 2.488 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002098/0.1574, allocations: 103.5 kB / 0.8343 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.1574, allocations: 0 / 0.8343 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.406e-06/0.1574, allocations: 0 / 0.8343 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1574, allocations: 0 / 0.8343 GB, free: 2.379 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002059/0.1576, allocations: 237.5 kB / 0.8346 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1576, allocations: 0 / 0.8346 GB, free: 2.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.143e-05/0.1576, allocations: 8 kB / 0.8346 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.1576, allocations: 0 / 0.8346 GB, free: 2.09 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.915e-05/0.1577, allocations: 11.98 kB / 0.8346 GB, free: 2.078 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/0.1577, allocations: 4 kB / 0.8346 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.1577, allocations: 0 / 0.8346 GB, free: 2.074 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004232/0.1581, allocations: 355.4 kB / 0.8349 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.147e-05/0.1582, allocations: 104.9 kB / 0.835 GB, free: 1.578 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.192e-05/0.1582, allocations: 4 kB / 0.835 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.761e-05/0.1583, allocations: 7.984 kB / 0.835 GB, free: 1.566 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.1583, allocations: 11.98 kB / 0.835 GB, free: 1.555 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.1584, allocations: 4 kB / 0.835 GB, free: 1.551 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001443/0.1585, allocations: 180 kB / 0.8352 GB, free: 1.375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9e-08/0.1585, allocations: 3.938 kB / 0.8352 GB, free: 1.371 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002413/0.1587, allocations: 43.94 kB / 0.8353 GB, free: 1.328 MB / 0.5762 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.0007723/0.1595, allocations: 0.8894 MB / 0.8361 GB, free: 412 kB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003094/0.1598, allocations: 215.3 kB / 0.8363 GB, free: 184 kB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1598, allocations: 0 / 0.8363 GB, free: 184 kB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001539/0.16, allocations: 135.3 kB / 0.8365 GB, free: 36 kB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001934/0.1602, allocations: 11.78 kB / 0.8365 GB, free: 24 kB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002457/0.1626, allocations: 2.251 MB / 0.8387 GB, free: 13.68 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003179/0.163, allocations: 0.721 MB / 0.8394 GB, free: 12.93 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 4.011e-05/0.163, allocations: 12.16 kB / 0.8394 GB, free: 12.92 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.747e-05/0.1631, allocations: 39.42 kB / 0.8394 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of SimCode: time 2.7e-07/0.1631, allocations: 0 / 0.8394 GB, free: 12.88 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02722/0.1903, allocations: 3.568 MB / 0.8429 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.498/7.688, allocations: 12.05 kB / 0.8429 GB, free: 9.504 MB / 0.5919 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 BuildingSystems_BuildingSystems_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.401399578899145] Failed to read output from testmodel.py, exit status != 0: 7.752007679082453 7.765592188 7.610620827 Calling exit ...