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: 108.5 kB / 16.46 MB, free: 6.512 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.001869/0.001869, allocations: 208.3 kB / 19.43 MB, free: 3.648 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.497/1.497, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.8629/0.8629, allocations: 134 MB / 442.8 MB, free: 11.31 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.001924/0.001924, allocations: 68.69 kB / 0.6134 GB, free: 8.75 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1747, allocations: 85.85 MB / 0.6972 GB, free: 2.977 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002785/0.1774, allocations: 1.507 MB / 0.6987 GB, free: 1.457 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1786, allocations: 0.631 MB / 0.6993 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.621e-05/0.1787, allocations: 0 / 0.6993 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.0001661/0.1788, allocations: 79.81 kB / 0.6994 GB, free: 0.7422 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.0001895/0.179, allocations: 83.75 kB / 0.6995 GB, free: 0.6602 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004323/0.1795, allocations: 95.78 kB / 0.6996 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001718/0.1796, allocations: 95.73 kB / 0.6997 GB, free: 484 kB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 8.579e-05/0.1797, allocations: 8 kB / 0.6997 GB, free: 476 kB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001818/0.1799, allocations: 63.8 kB / 0.6997 GB, free: 412 kB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001546/0.1801, allocations: 99.81 kB / 0.6998 GB, free: 312 kB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.86e-05/0.1801, allocations: 8 kB / 0.6998 GB, free: 304 kB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000155/0.1802, allocations: 83.92 kB / 0.6999 GB, free: 220 kB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.097e-05/0.1803, allocations: 27.91 kB / 0.7 GB, free: 192 kB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.725e-05/0.1803, allocations: 39.62 kB / 0.7 GB, free: 152 kB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000241/0.1806, allocations: 151.7 kB / 0.7001 GB, free: 0 / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.1806, allocations: 0 / 0.7001 GB, free: 0 / 0.5137 GB Notification: Performance of FrontEnd: time 2.334e-06/0.1806, allocations: 0 / 0.7001 GB, free: 0 / 0.5137 GB Notification: Performance of Transformations before backend: time 6.341e-06/0.1806, allocations: 0 / 0.7001 GB, free: 0 / 0.5137 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.0006184/0.1812, allocations: 468.2 kB / 0.7006 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.805e-05/0.1813, allocations: 9.109 kB / 0.7006 GB, free: 15.48 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.847e-05/0.1813, allocations: 42.75 kB / 0.7006 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.1815, allocations: 16.84 kB / 0.7006 GB, free: 15.41 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002919/0.1817, allocations: 212.9 kB / 0.7008 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.1818, allocations: 384 / 0.7008 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.662e-05/0.1818, allocations: 4.375 kB / 0.7009 GB, free: 15.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001955/0.182, allocations: 111.4 kB / 0.701 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.182, allocations: 0 / 0.701 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.518e-05/0.182, allocations: 4 kB / 0.701 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.489e-06/0.182, allocations: 4 kB / 0.701 GB, free: 15.03 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/0.1821, allocations: 63.91 kB / 0.701 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004018/0.1825, allocations: 293.7 kB / 0.7013 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000141/0.1826, allocations: 97.17 kB / 0.7014 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.088e-05/0.1827, allocations: 65.73 kB / 0.7015 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1828, allocations: 3.938 kB / 0.7015 GB, free: 14.44 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.183, allocations: 146.8 kB / 0.7016 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.242e-06/0.183, allocations: 0 / 0.7016 GB, free: 14.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004827/0.1835, allocations: 303.3 kB / 0.7019 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.462e-05/0.1836, allocations: 110.9 kB / 0.702 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001976/0.1838, allocations: 203.7 kB / 0.7022 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.074e-05/0.1838, allocations: 25.7 kB / 0.7022 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.441e-05/0.1839, allocations: 116.1 kB / 0.7023 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.68e-05/0.1839, allocations: 27.78 kB / 0.7024 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.1839, allocations: 21.72 kB / 0.7024 GB, free: 13.42 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.1841, allocations: 326.8 kB / 0.7027 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.107e-05/0.1842, allocations: 59.91 kB / 0.7027 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.225e-05/0.1843, allocations: 73.62 kB / 0.7028 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001866/0.1844, allocations: 173.1 kB / 0.703 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.1844, allocations: 64 / 0.703 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003124/0.1848, allocations: 247.1 kB / 0.7032 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.534e-05/0.1848, allocations: 41.69 kB / 0.7033 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1848, allocations: 0 / 0.7033 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.1848, allocations: 4 kB / 0.7033 GB, free: 12.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.837e-05/0.1849, allocations: 11.97 kB / 0.7033 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.664e-06/0.1849, allocations: 4 kB / 0.7033 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.538e-05/0.185, allocations: 0 / 0.7033 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.185, allocations: 11.92 kB / 0.7033 GB, free: 12.44 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.0001507/0.1851, allocations: 173.7 kB / 0.7035 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.22e-05/0.1852, allocations: 19.91 kB / 0.7035 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001709/0.1853, allocations: 67.08 kB / 0.7035 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.186e-06/0.1853, allocations: 0 / 0.7035 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.646e-06/0.1853, allocations: 4 kB / 0.7035 GB, free: 12.15 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-06/0.1854, allocations: 7.984 kB / 0.7035 GB, free: 12.14 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002101/0.1856, allocations: 221.4 kB / 0.7038 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.1856, allocations: 0 / 0.7038 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.964e-05/0.1856, allocations: 11.94 kB / 0.7038 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.1856, allocations: 0 / 0.7038 GB, free: 11.87 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.41e-05/0.1856, allocations: 4 kB / 0.7038 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.1856, allocations: 0 / 0.7038 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.61e-07/0.1856, allocations: 0 / 0.7038 GB, free: 11.86 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003853/0.186, allocations: 312.1 kB / 0.7041 GB, free: 11.53 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.072e-05/0.1861, allocations: 105 kB / 0.7042 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.83e-05/0.1861, allocations: 4 kB / 0.7042 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.887e-05/0.1862, allocations: 4.141 kB / 0.7042 GB, free: 11.4 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.85e-05/0.1862, allocations: 7.984 kB / 0.7042 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.1863, allocations: 7.984 kB / 0.7042 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001367/0.1864, allocations: 148.1 kB / 0.7043 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1864, allocations: 0 / 0.7043 GB, free: 11.24 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002767/0.1867, allocations: 51.88 kB / 0.7044 GB, free: 11.19 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.0007982/0.1875, allocations: 0.853 MB / 0.7052 GB, free: 10.3 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002988/0.1878, allocations: 196 kB / 0.7054 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1878, allocations: 4.062 kB / 0.7054 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001331/0.1879, allocations: 123.4 kB / 0.7055 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002222/0.1881, allocations: 15.75 kB / 0.7055 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002371/0.1905, allocations: 2.101 MB / 0.7076 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003521/0.1909, allocations: 0.7235 MB / 0.7083 GB, free: 6.996 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.54e-05/0.1909, allocations: 7.938 kB / 0.7083 GB, free: 6.988 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.1909, allocations: 35.42 kB / 0.7083 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of SimCode: time 1.182e-06/0.191, allocations: 0 / 0.7083 GB, free: 6.953 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02893/0.2199, allocations: 3.084 MB / 0.7114 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.037/8.257, allocations: 6.188 kB / 0.7114 GB, free: 4.02 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.989024544993299] Failed to read output from testmodel.py, exit status != 0: 8.328808049001964 8.356167295 8.170511193 Calling exit ...