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.001807/0.001807, allocations: 113.4 kB / 19.73 MB, free: 2.227 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.002287/0.002287, allocations: 218 kB / 23.04 MB, free: 5.059 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.98 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.8333/0.8333, allocations: 134 MB / 447.2 MB, free: 10.21 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.001918/0.001918, allocations: 64.33 kB / 0.6193 GB, free: 7.199 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1981/0.2, allocations: 85.9 MB / 0.7032 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002855/0.2029, allocations: 1.52 MB / 0.7047 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.2041, allocations: 0.6388 MB / 0.7053 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.545e-05/0.2041, allocations: 3.938 kB / 0.7053 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001662/0.2043, allocations: 67.91 kB / 0.7054 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001944/0.2045, allocations: 87.75 kB / 0.7055 GB, free: 15.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003788/0.2048, allocations: 107.1 kB / 0.7056 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001694/0.205, allocations: 99.73 kB / 0.7057 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.537e-05/0.2051, allocations: 7.984 kB / 0.7057 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001858/0.2053, allocations: 59.88 kB / 0.7057 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001749/0.2055, allocations: 99.75 kB / 0.7058 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2055, allocations: 4 kB / 0.7058 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001605/0.2056, allocations: 87.94 kB / 0.7059 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.099e-05/0.2057, allocations: 35.83 kB / 0.7059 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 5.778e-05/0.2058, allocations: 31.75 kB / 0.706 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002464/0.206, allocations: 151.7 kB / 0.7061 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.206, allocations: 0 / 0.7061 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.784e-06/0.206, allocations: 0 / 0.7061 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.206, allocations: 0 / 0.7061 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.0005877/0.2066, allocations: 387.1 kB / 0.7065 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.952e-05/0.2066, allocations: 8.031 kB / 0.7065 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.635e-05/0.2067, allocations: 12.19 kB / 0.7065 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.968e-05/0.2067, allocations: 38.73 kB / 0.7065 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001696/0.2069, allocations: 20.84 kB / 0.7066 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.2071, allocations: 147 kB / 0.7067 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.2071, allocations: 4.375 kB / 0.7067 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.355e-05/0.2071, allocations: 384 / 0.7067 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.2073, allocations: 115.3 kB / 0.7068 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2074, allocations: 4 kB / 0.7068 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2074, allocations: 0 / 0.7068 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.2074, allocations: 0 / 0.7068 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001038/0.2075, allocations: 67.89 kB / 0.7069 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004032/0.2079, allocations: 264.8 kB / 0.7071 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001426/0.208, allocations: 93.12 kB / 0.7072 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.9e-05/0.2081, allocations: 61.75 kB / 0.7073 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/0.2081, allocations: 4 kB / 0.7073 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002218/0.2084, allocations: 150.7 kB / 0.7074 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.142e-06/0.2084, allocations: 0 / 0.7074 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004746/0.2088, allocations: 299.2 kB / 0.7077 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.231e-05/0.2089, allocations: 114.7 kB / 0.7078 GB, free: 12.42 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002057/0.2091, allocations: 204.3 kB / 0.708 GB, free: 12.21 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/0.2092, allocations: 33.7 kB / 0.7081 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 8.717e-05/0.2093, allocations: 108.1 kB / 0.7082 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.602e-05/0.2093, allocations: 27.94 kB / 0.7082 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.896e-05/0.2093, allocations: 33.64 kB / 0.7082 GB, free: 12 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001834/0.2095, allocations: 334.9 kB / 0.7085 GB, free: 11.66 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.878e-05/0.2096, allocations: 43.98 kB / 0.7086 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.658e-05/0.2097, allocations: 70.67 kB / 0.7086 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001896/0.2099, allocations: 177 kB / 0.7088 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2099, allocations: 0 / 0.7088 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003055/0.2102, allocations: 251.1 kB / 0.7091 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.717e-05/0.2102, allocations: 33.7 kB / 0.7091 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.2102, allocations: 4.031 kB / 0.7091 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.2102, allocations: 0 / 0.7091 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.501e-05/0.2103, allocations: 11.98 kB / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.7e-06/0.2103, allocations: 0 / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.222e-05/0.2104, allocations: 4 kB / 0.7091 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.204e-05/0.2104, allocations: 4 kB / 0.7091 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.0001636/0.2105, allocations: 179.5 kB / 0.7093 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.634e-05/0.2106, allocations: 15.91 kB / 0.7093 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001544/0.2107, allocations: 71.02 kB / 0.7094 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/0.2107, allocations: 4 kB / 0.7094 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.497e-06/0.2107, allocations: 0 / 0.7094 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.2107, allocations: 0 / 0.7094 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000185/0.2109, allocations: 188.5 kB / 0.7095 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2109, allocations: 0 / 0.7095 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.472e-05/0.211, allocations: 16 kB / 0.7096 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.211, allocations: 4 kB / 0.7096 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.211, allocations: 7.984 kB / 0.7096 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.211, allocations: 0 / 0.7096 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/0.211, allocations: 4 kB / 0.7096 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003721/0.2114, allocations: 311.3 kB / 0.7099 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.71e-05/0.2114, allocations: 27.89 kB / 0.7099 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.507e-05/0.2114, allocations: 0 / 0.7099 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.136e-05/0.2115, allocations: 4 kB / 0.7099 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.736e-05/0.2115, allocations: 7.984 kB / 0.7099 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.879e-05/0.2115, allocations: 8 kB / 0.7099 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.000132/0.2117, allocations: 152.1 kB / 0.7101 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.2117, allocations: 0 / 0.7101 GB, free: 9.965 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002389/0.2119, allocations: 43.86 kB / 0.7101 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.0007759/0.2127, allocations: 0.8636 MB / 0.7109 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002821/0.213, allocations: 191.3 kB / 0.7111 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.213, allocations: 0 / 0.7111 GB, free: 8.824 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001591/0.2131, allocations: 127.3 kB / 0.7113 GB, free: 8.688 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002039/0.2133, allocations: 15.69 kB / 0.7113 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.2156, allocations: 2.102 MB / 0.7133 GB, free: 6.469 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003869/0.216, allocations: 0.7158 MB / 0.714 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.741e-05/0.2161, allocations: 3.984 kB / 0.714 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.765e-05/0.2161, allocations: 35.44 kB / 0.7141 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of SimCode: time 3e-07/0.2161, allocations: 0 / 0.7141 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0243/0.2404, allocations: 3.26 MB / 0.7172 GB, free: 2.586 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/10.85, allocations: 5.781 kB / 0.7172 GB, free: 2.582 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.408735298085958] Failed to read output from testmodel.py, exit status != 0: 11.00537148793228 11.021064166 10.812191752 Calling exit ...