Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001709/0.001709, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.002245/0.002245, allocations: 216.5 kB / 22.26 MB, free: 5.117 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.41/1.41, allocations: 230.6 MB / 256 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8454/0.8454, allocations: 134 MB / 446.4 MB, free: 10.65 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.00189/0.00189, allocations: 60.75 kB / 0.6185 GB, free: 7.215 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1561, allocations: 85.91 MB / 0.7024 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002599/0.1587, allocations: 1.528 MB / 0.7039 GB, free: 15.85 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001049/0.1598, allocations: 0.6349 MB / 0.7045 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.853e-05/0.1598, allocations: 0 / 0.7045 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001509/0.16, allocations: 83.81 kB / 0.7046 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001816/0.1602, allocations: 79.75 kB / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003536/0.1605, allocations: 95.77 kB / 0.7048 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001542/0.1607, allocations: 95.75 kB / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.429e-05/0.1608, allocations: 4 kB / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001771/0.1609, allocations: 71.8 kB / 0.705 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001526/0.1611, allocations: 95.81 kB / 0.705 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.699e-05/0.1611, allocations: 4 kB / 0.705 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001478/0.1613, allocations: 87.92 kB / 0.7051 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.825e-05/0.1613, allocations: 23.92 kB / 0.7052 GB, free: 14.58 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.542e-05/0.1614, allocations: 43.62 kB / 0.7052 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002183/0.1616, allocations: 151.6 kB / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.1616, allocations: 0 / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1616, allocations: 0 / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 9.167e-06/0.1616, allocations: 0 / 0.7053 GB, free: 14.39 MB / 0.5294 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.0005352/0.1621, allocations: 399.1 kB / 0.7057 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1622, allocations: 8.031 kB / 0.7057 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.426e-05/0.1622, allocations: 34.75 kB / 0.7058 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.1624, allocations: 16.84 kB / 0.7058 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002313/0.1626, allocations: 155.1 kB / 0.7059 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.1626, allocations: 384 / 0.7059 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.1626, allocations: 4.375 kB / 0.7059 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001888/0.1628, allocations: 115.4 kB / 0.706 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.1628, allocations: 0 / 0.706 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.1628, allocations: 4 kB / 0.706 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1628, allocations: 3.984 kB / 0.706 GB, free: 13.58 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.685e-05/0.1629, allocations: 59.97 kB / 0.7061 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003704/0.1633, allocations: 268.8 kB / 0.7064 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001345/0.1634, allocations: 89.19 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.198e-05/0.1635, allocations: 61.75 kB / 0.7065 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.928e-05/0.1635, allocations: 4.141 kB / 0.7065 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001913/0.1637, allocations: 150.7 kB / 0.7067 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.163e-06/0.1637, allocations: 4 kB / 0.7067 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004428/0.1642, allocations: 299.2 kB / 0.7069 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.1642, allocations: 106.8 kB / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001837/0.1644, allocations: 208.3 kB / 0.7072 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.74e-05/0.1644, allocations: 25.7 kB / 0.7073 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.1645, allocations: 112.1 kB / 0.7074 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/0.1645, allocations: 23.8 kB / 0.7074 GB, free: 12.05 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.73e-05/0.1646, allocations: 25.7 kB / 0.7074 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1647, allocations: 338.9 kB / 0.7077 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.793e-05/0.1648, allocations: 51.91 kB / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.584e-05/0.1649, allocations: 66.91 kB / 0.7079 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000175/0.165, allocations: 185 kB / 0.708 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.165, allocations: 0 / 0.708 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000281/0.1653, allocations: 243.1 kB / 0.7083 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.198e-05/0.1654, allocations: 41.72 kB / 0.7083 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.1654, allocations: 4 kB / 0.7083 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.1654, allocations: 0 / 0.7083 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.759e-05/0.1654, allocations: 4 kB / 0.7083 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.869e-06/0.1655, allocations: 4 kB / 0.7083 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.397e-05/0.1655, allocations: 8 kB / 0.7083 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.687e-06/0.1655, allocations: 0 / 0.7083 GB, free: 11.04 MB / 0.5294 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 0.0001472/0.1657, allocations: 184 kB / 0.7085 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.488e-05/0.1657, allocations: 15.91 kB / 0.7085 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001337/0.1658, allocations: 67.08 kB / 0.7086 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.1658, allocations: 0 / 0.7086 GB, free: 10.76 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.272e-06/0.1658, allocations: 4 kB / 0.7086 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.1658, allocations: 0 / 0.7086 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001757/0.166, allocations: 196.5 kB / 0.7088 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.166, allocations: 64 / 0.7088 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.712e-05/0.1661, allocations: 15.98 kB / 0.7088 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1661, allocations: 0 / 0.7088 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.1661, allocations: 4.141 kB / 0.7088 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.1661, allocations: 3.938 kB / 0.7088 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.1661, allocations: 4 kB / 0.7088 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003545/0.1664, allocations: 311.4 kB / 0.7091 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.6e-05/0.1665, allocations: 23.89 kB / 0.7091 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.627e-05/0.1665, allocations: 4 kB / 0.7091 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.589e-05/0.1666, allocations: 7.984 kB / 0.7091 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.522e-05/0.1666, allocations: 7.938 kB / 0.7091 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.427e-05/0.1666, allocations: 8 kB / 0.7091 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001208/0.1667, allocations: 156.1 kB / 0.7093 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1667, allocations: 0 / 0.7093 GB, free: 9.957 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002347/0.167, allocations: 35.94 kB / 0.7093 GB, free: 9.922 MB / 0.5294 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.0007086/0.1677, allocations: 0.8676 MB / 0.7102 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002616/0.168, allocations: 187.3 kB / 0.7104 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.168, allocations: 4 kB / 0.7104 GB, free: 8.82 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001233/0.1681, allocations: 119.4 kB / 0.7105 GB, free: 8.691 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.1683, allocations: 23.67 kB / 0.7105 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002098/0.1704, allocations: 2.098 MB / 0.7125 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003169/0.1707, allocations: 0.7158 MB / 0.7132 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.506e-05/0.1707, allocations: 7.938 kB / 0.7132 GB, free: 5.719 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.043e-05/0.1708, allocations: 35.42 kB / 0.7133 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of SimCode: time 6.72e-07/0.1708, allocations: 0 / 0.7133 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02889/0.1997, allocations: 3.228 MB / 0.7164 GB, free: 2.605 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/10.88, allocations: 2.375 kB / 0.7164 GB, free: 2.605 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.507661447998544] Failed to read output from testmodel.py, exit status != 0: 10.98081144200114 10.997492618 10.83274089 Calling exit ...