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.001231/0.001231, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001332/0.001332, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.422/1.422, allocations: 230.6 MB / 256 MB, free: 7.738 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.8145/0.8145, allocations: 134 MB / 446.4 MB, free: 9.934 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.001897/0.001897, allocations: 69.81 kB / 0.6185 GB, free: 6.906 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1598, allocations: 85.92 MB / 0.7024 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002628/0.1624, allocations: 1.49 MB / 0.7038 GB, free: 15.58 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001202/0.1636, allocations: 0.5765 MB / 0.7044 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.341e-05/0.1637, allocations: 4 kB / 0.7044 GB, free: 14.99 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001519/0.1638, allocations: 75.83 kB / 0.7045 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001772/0.164, allocations: 79.81 kB / 0.7046 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003517/0.1644, allocations: 103.7 kB / 0.7046 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001602/0.1645, allocations: 95.8 kB / 0.7047 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.467e-05/0.1646, allocations: 11.88 kB / 0.7048 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001804/0.1648, allocations: 67.8 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001554/0.1649, allocations: 95.83 kB / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.1649, allocations: 4 kB / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001456/0.1651, allocations: 75.92 kB / 0.705 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.778e-05/0.1651, allocations: 27.91 kB / 0.705 GB, free: 14.37 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.155e-05/0.1652, allocations: 35.73 kB / 0.705 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002542/0.1655, allocations: 147.7 kB / 0.7052 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1655, allocations: 0 / 0.7052 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.733e-06/0.1655, allocations: 4 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.9e-06/0.1655, allocations: 0 / 0.7052 GB, free: 14.18 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.0005144/0.166, allocations: 387.2 kB / 0.7056 GB, free: 13.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.166, allocations: 8.031 kB / 0.7056 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.529e-05/0.1661, allocations: 38.75 kB / 0.7056 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001503/0.1662, allocations: 24.77 kB / 0.7056 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.1664, allocations: 151.1 kB / 0.7058 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.264e-05/0.1665, allocations: 4.375 kB / 0.7058 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.1665, allocations: 4.375 kB / 0.7058 GB, free: 13.51 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002572/0.1667, allocations: 141.2 kB / 0.7059 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.387e-06/0.1667, allocations: 3.938 kB / 0.7059 GB, free: 13.35 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.956e-05/0.1668, allocations: 8 kB / 0.7059 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.1668, allocations: 0 / 0.7059 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.1669, allocations: 93.59 kB / 0.706 GB, free: 13.24 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000393/0.1673, allocations: 256.8 kB / 0.7063 GB, free: 12.95 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001533/0.1675, allocations: 118.8 kB / 0.7064 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001085/0.1676, allocations: 99.44 kB / 0.7065 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.451e-05/0.1676, allocations: 0 / 0.7065 GB, free: 12.7 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002226/0.1678, allocations: 188.4 kB / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.012e-06/0.1678, allocations: 0 / 0.7066 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004793/0.1683, allocations: 366.9 kB / 0.707 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.1684, allocations: 106.8 kB / 0.7071 GB, free: 11.97 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.1686, allocations: 208.3 kB / 0.7073 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.837e-05/0.1686, allocations: 25.7 kB / 0.7073 GB, free: 11.73 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.458e-05/0.1687, allocations: 116 kB / 0.7074 GB, free: 11.61 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.427e-05/0.1687, allocations: 27.78 kB / 0.7075 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.448e-05/0.1687, allocations: 21.72 kB / 0.7075 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.1689, allocations: 330.8 kB / 0.7078 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.581e-05/0.169, allocations: 89.81 kB / 0.7079 GB, free: 11.13 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.766e-05/0.1691, allocations: 95.39 kB / 0.708 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001894/0.1693, allocations: 185 kB / 0.7081 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1693, allocations: 0 / 0.7081 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003091/0.1696, allocations: 280.8 kB / 0.7084 GB, free: 10.53 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.624e-05/0.1696, allocations: 41.69 kB / 0.7085 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.1696, allocations: 4 kB / 0.7085 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.225e-05/0.1696, allocations: 96 / 0.7085 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.921e-05/0.1697, allocations: 8 kB / 0.7085 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.2e-05/0.1697, allocations: 15.94 kB / 0.7085 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.255e-05/0.1698, allocations: 7.984 kB / 0.7085 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-06/0.1698, allocations: 0 / 0.7085 GB, free: 10.45 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.000142/0.1699, allocations: 179.5 kB / 0.7087 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.77e-05/0.17, allocations: 15.91 kB / 0.7087 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001409/0.1701, allocations: 71.02 kB / 0.7087 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-06/0.1701, allocations: 0 / 0.7087 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.1701, allocations: 4 kB / 0.7087 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1701, allocations: 0 / 0.7087 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001723/0.1703, allocations: 180.5 kB / 0.7089 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.1703, allocations: 4 kB / 0.7089 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.258e-05/0.1703, allocations: 8 kB / 0.7089 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1703, allocations: 0 / 0.7089 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.634e-05/0.1703, allocations: 7.984 kB / 0.7089 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.1703, allocations: 8 kB / 0.7089 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1703, allocations: 0 / 0.7089 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003806/0.1707, allocations: 345.1 kB / 0.7093 GB, free: 9.547 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 6.06e-05/0.1708, allocations: 27.83 kB / 0.7093 GB, free: 9.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.818e-05/0.1708, allocations: 7.984 kB / 0.7093 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.263e-05/0.1709, allocations: 4 kB / 0.7093 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.064e-05/0.1709, allocations: 8 kB / 0.7093 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.935e-05/0.1709, allocations: 7.984 kB / 0.7093 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.00013/0.171, allocations: 148.1 kB / 0.7095 GB, free: 9.348 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.1e-07/0.171, allocations: 4 kB / 0.7095 GB, free: 9.344 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002305/0.1713, allocations: 39.94 kB / 0.7095 GB, free: 9.305 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.0007423/0.172, allocations: 0.8932 MB / 0.7104 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003495/0.1724, allocations: 253.9 kB / 0.7106 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.1724, allocations: 0 / 0.7106 GB, free: 8.102 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001632/0.1725, allocations: 161.2 kB / 0.7108 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000204/0.1727, allocations: 19.89 kB / 0.7108 GB, free: 7.906 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002271/0.175, allocations: 2.274 MB / 0.713 GB, free: 5.5 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.68e-05/0.1751, allocations: 108.4 kB / 0.7131 GB, free: 5.379 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.846e-05/0.1751, allocations: 7.984 kB / 0.7131 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.505e-05/0.1752, allocations: 39.44 kB / 0.7132 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of SimCode: time 4.2e-07/0.1752, allocations: 0 / 0.7132 GB, free: 5.332 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03229/0.2075, allocations: 3.633 MB / 0.7167 GB, free: 1.84 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.77, allocations: 6.922 kB / 0.7167 GB, free: 1.836 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.413027354050428] Failed to read output from testmodel.py, exit status != 0: 10.868084067944437 10.884990099 10.716219133 Calling exit ...