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.001317/0.001317, allocations: 97.92 kB / 19.73 MB, free: 1.992 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.001478/0.001478, allocations: 213.7 kB / 23.02 MB, free: 4.426 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.8153/0.8153, allocations: 134 MB / 447.2 MB, free: 9.938 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="cs",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.001928/0.001928, allocations: 62.78 kB / 0.6192 GB, free: 6.902 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1736/0.1755, allocations: 85.91 MB / 0.7031 GB, free: 1.086 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.003262/0.1788, allocations: 1.501 MB / 0.7046 GB, free: 15.57 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001348/0.1801, allocations: 0.5688 MB / 0.7052 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.138e-05/0.1802, allocations: 0 / 0.7052 GB, free: 15 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001849/0.1804, allocations: 83.81 kB / 0.7052 GB, free: 14.92 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0002191/0.1806, allocations: 83.75 kB / 0.7053 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004903/0.1811, allocations: 103.4 kB / 0.7054 GB, free: 14.74 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002438/0.1813, allocations: 99.73 kB / 0.7055 GB, free: 14.64 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001021/0.1814, allocations: 7.984 kB / 0.7055 GB, free: 14.63 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002634/0.1817, allocations: 67.81 kB / 0.7056 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.1819, allocations: 99.75 kB / 0.7057 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 2.695e-05/0.182, allocations: 4 kB / 0.7057 GB, free: 14.46 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001985/0.1822, allocations: 87.88 kB / 0.7058 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 7.387e-05/0.1822, allocations: 19.92 kB / 0.7058 GB, free: 14.36 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 8.365e-05/0.1823, allocations: 39.72 kB / 0.7058 GB, free: 14.32 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.000321/0.1826, allocations: 147.7 kB / 0.706 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 5.07e-06/0.1826, allocations: 3.938 kB / 0.706 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1826, allocations: 0 / 0.706 GB, free: 14.17 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.1826, allocations: 4 kB / 0.706 GB, free: 14.17 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.0007288/0.1834, allocations: 383.2 kB / 0.7063 GB, free: 13.76 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.571e-05/0.1834, allocations: 12.03 kB / 0.7063 GB, free: 13.75 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.794e-05/0.1834, allocations: 4.188 kB / 0.7063 GB, free: 13.74 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.977e-05/0.1835, allocations: 38.73 kB / 0.7064 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001957/0.1837, allocations: 20.84 kB / 0.7064 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003325/0.184, allocations: 151 kB / 0.7065 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.706e-06/0.184, allocations: 384 / 0.7065 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.972e-05/0.184, allocations: 4.375 kB / 0.7066 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.1843, allocations: 141 kB / 0.7067 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.1843, allocations: 4 kB / 0.7067 GB, free: 13.34 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.691e-05/0.1843, allocations: 4 kB / 0.7067 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.1843, allocations: 0 / 0.7067 GB, free: 13.33 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000135/0.1845, allocations: 93.61 kB / 0.7068 GB, free: 13.23 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004493/0.1849, allocations: 264.8 kB / 0.707 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001758/0.1851, allocations: 118.8 kB / 0.7071 GB, free: 12.79 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.1852, allocations: 91.45 kB / 0.7072 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.212e-05/0.1852, allocations: 7.984 kB / 0.7072 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002589/0.1855, allocations: 184.5 kB / 0.7074 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1855, allocations: 0 / 0.7074 GB, free: 12.47 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0005564/0.186, allocations: 358.6 kB / 0.7078 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.33e-05/0.1861, allocations: 106.8 kB / 0.7079 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002043/0.1863, allocations: 204.3 kB / 0.7081 GB, free: 11.76 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.179e-05/0.1864, allocations: 33.64 kB / 0.7081 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.431e-05/0.1864, allocations: 120 kB / 0.7082 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 4.307e-05/0.1865, allocations: 27.94 kB / 0.7082 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.281e-05/0.1865, allocations: 29.64 kB / 0.7083 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1867, allocations: 326.8 kB / 0.7086 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001095/0.1868, allocations: 85.8 kB / 0.7087 GB, free: 11.12 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001087/0.1869, allocations: 103.4 kB / 0.7088 GB, free: 11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001825/0.1871, allocations: 177.1 kB / 0.7089 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.1871, allocations: 0 / 0.7089 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003453/0.1875, allocations: 284.8 kB / 0.7092 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.576e-05/0.1875, allocations: 40.05 kB / 0.7092 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.1875, allocations: 3.984 kB / 0.7092 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.1875, allocations: 4 kB / 0.7092 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.792e-05/0.1876, allocations: 7.938 kB / 0.7092 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.781e-06/0.1876, allocations: 0 / 0.7092 GB, free: 10.46 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.29e-05/0.1877, allocations: 8.031 kB / 0.7093 GB, free: 10.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/0.1877, allocations: 4 kB / 0.7093 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.0001576/0.1879, allocations: 175.5 kB / 0.7094 GB, free: 10.26 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.025e-05/0.1879, allocations: 15.91 kB / 0.7094 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001731/0.1881, allocations: 75.16 kB / 0.7095 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.985e-06/0.1881, allocations: 0 / 0.7095 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.1881, allocations: 0 / 0.7095 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.101e-06/0.1881, allocations: 4 kB / 0.7095 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001817/0.1883, allocations: 184.5 kB / 0.7097 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1883, allocations: 8.047 kB / 0.7097 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.824e-05/0.1883, allocations: 12 kB / 0.7097 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.1883, allocations: 0 / 0.7097 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.528e-05/0.1883, allocations: 4 kB / 0.7097 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1883, allocations: 3.938 kB / 0.7097 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1883, allocations: 3.938 kB / 0.7097 GB, free: 9.906 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003983/0.1887, allocations: 341.1 kB / 0.71 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.267e-05/0.1888, allocations: 27.89 kB / 0.7101 GB, free: 9.512 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.101e-05/0.1888, allocations: 4 kB / 0.7101 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.29e-05/0.1889, allocations: 0 / 0.7101 GB, free: 9.508 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.155e-05/0.1889, allocations: 15.92 kB / 0.7101 GB, free: 9.492 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.011e-05/0.1889, allocations: 8 kB / 0.7101 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000128/0.189, allocations: 148.1 kB / 0.7102 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.189, allocations: 0 / 0.7102 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002817/0.1893, allocations: 47.86 kB / 0.7103 GB, free: 9.293 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.0007725/0.1901, allocations: 0.886 MB / 0.7112 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0003297/0.1904, allocations: 254.7 kB / 0.7114 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.1904, allocations: 0 / 0.7114 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001858/0.1906, allocations: 157 kB / 0.7115 GB, free: 7.918 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002098/0.1908, allocations: 25.64 kB / 0.7116 GB, free: 7.895 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002389/0.1932, allocations: 2.278 MB / 0.7138 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001033/0.1933, allocations: 101.8 kB / 0.7139 GB, free: 5.371 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 3.049e-05/0.1934, allocations: 4.328 kB / 0.7139 GB, free: 5.367 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6e-05/0.1934, allocations: 39.42 kB / 0.7139 GB, free: 5.328 MB / 0.5294 GB Notification: Performance of SimCode: time 5.01e-07/0.1934, allocations: 4 kB / 0.7139 GB, free: 5.324 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02402/0.2174, allocations: 3.329 MB / 0.7172 GB, free: 2.148 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.72/10.94, allocations: 8 kB / 0.7172 GB, free: 2.141 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --stepSize=12614.4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.531959905056283] Failed to read output from testmodel.py, exit status != 0: 11.095209905994125 11.111276918 10.925679896 Calling exit ...