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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.348/1.348, allocations: 225.6 MB / 247.8 MB, free: 3.746 MB / 190.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.8136/0.8136, allocations: 134 MB / 436.6 MB, free: 13.86 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 59.89 kB / 0.6051 GB, free: 8.23 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3461/0.3479, allocations: 84.68 MB / 0.6878 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002776/0.3507, allocations: 1.494 MB / 0.6892 GB, free: 0.6523 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009677/0.3517, allocations: 0.5939 MB / 0.6898 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.372e-05/0.3517, allocations: 1.125 kB / 0.6898 GB, free: 192 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001529/0.3519, allocations: 77.84 kB / 0.6899 GB, free: 152 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001838/0.3521, allocations: 84.28 kB / 0.69 GB, free: 108 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003282/0.3524, allocations: 91.77 kB / 0.6901 GB, free: 52 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001413/0.3525, allocations: 94.98 kB / 0.6902 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 7.93e-05/0.3526, allocations: 3.188 kB / 0.6902 GB, free: 4 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001591/0.3528, allocations: 70.08 kB / 0.6902 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.3529, allocations: 97.72 kB / 0.6903 GB, free: 15.93 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.712e-05/0.3529, allocations: 12 kB / 0.6903 GB, free: 15.92 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.3531, allocations: 77.52 kB / 0.6904 GB, free: 15.88 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 6.116e-05/0.3531, allocations: 22.52 kB / 0.6904 GB, free: 15.87 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 5.931e-05/0.3532, allocations: 45.98 kB / 0.6905 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0002194/0.3534, allocations: 136.3 kB / 0.6906 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3534, allocations: 1.062 kB / 0.6906 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.954e-06/0.3534, allocations: 0 / 0.6906 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.117e-06/0.3534, allocations: 0 / 0.6906 GB, free: 15.75 MB / 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.0005808/0.354, allocations: 466.5 kB / 0.691 GB, free: 15.28 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.385e-05/0.354, allocations: 13.06 kB / 0.6911 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.454e-05/0.3541, allocations: 32.84 kB / 0.6911 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.328e-05/0.3541, allocations: 11.67 kB / 0.6911 GB, free: 15.23 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.3544, allocations: 210.9 kB / 0.6913 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3544, allocations: 1.969 kB / 0.6913 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.63e-05/0.3544, allocations: 3.312 kB / 0.6913 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.3546, allocations: 116.8 kB / 0.6914 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.414e-06/0.3546, allocations: 0 / 0.6914 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.527e-06/0.3546, allocations: 1.031 kB / 0.6914 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.137e-06/0.3546, allocations: 6.031 kB / 0.6914 GB, free: 14.91 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.585e-05/0.3547, allocations: 57.69 kB / 0.6915 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003808/0.3551, allocations: 301.1 kB / 0.6918 GB, free: 14.57 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001284/0.3552, allocations: 86.5 kB / 0.6919 GB, free: 14.5 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.594e-05/0.3553, allocations: 65.97 kB / 0.6919 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 1.869e-05/0.3553, allocations: 0.9375 kB / 0.6919 GB, free: 14.46 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002115/0.3555, allocations: 155.7 kB / 0.6921 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.3555, allocations: 0 / 0.6921 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=10): time 0.0004376/0.356, allocations: 302.4 kB / 0.6924 GB, free: 14.19 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.473e-05/0.356, allocations: 109.9 kB / 0.6925 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001774/0.3562, allocations: 209.1 kB / 0.6927 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.3562, allocations: 30.73 kB / 0.6927 GB, free: 13.88 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.908e-05/0.3563, allocations: 106.4 kB / 0.6928 GB, free: 13.77 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.292e-05/0.3563, allocations: 27.84 kB / 0.6928 GB, free: 13.75 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.916e-05/0.3564, allocations: 27.08 kB / 0.6928 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.000138/0.3565, allocations: 335.3 kB / 0.6932 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.017e-05/0.3566, allocations: 54.41 kB / 0.6932 GB, free: 13.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.514e-05/0.3567, allocations: 65.95 kB / 0.6933 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.3568, allocations: 179.2 kB / 0.6934 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.3568, allocations: 0 / 0.6934 GB, free: 13.22 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002796/0.3571, allocations: 242 kB / 0.6937 GB, free: 13.09 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.235e-05/0.3572, allocations: 38 kB / 0.6937 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.987e-06/0.3572, allocations: 0 / 0.6937 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.2e-05/0.3572, allocations: 1.031 kB / 0.6937 GB, free: 13.06 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.274e-05/0.3572, allocations: 19 kB / 0.6937 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.3573, allocations: 1.219 kB / 0.6937 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.9e-05/0.3573, allocations: 3.312 kB / 0.6937 GB, free: 13.05 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.959e-06/0.3573, allocations: 3.562 kB / 0.6937 GB, free: 13.05 MB / 0.5137 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.0001481/0.3575, allocations: 183.5 kB / 0.6939 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.608e-05/0.3575, allocations: 15.84 kB / 0.6939 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001438/0.3576, allocations: 69.77 kB / 0.694 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.3576, allocations: 0 / 0.694 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.3576, allocations: 1.25 kB / 0.694 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.3576, allocations: 1.438 kB / 0.694 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001868/0.3578, allocations: 216.6 kB / 0.6942 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.3578, allocations: 1.094 kB / 0.6942 GB, free: 12.57 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.741e-05/0.3579, allocations: 14.58 kB / 0.6942 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/0.3579, allocations: 5.094 kB / 0.6942 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.218e-05/0.3579, allocations: 3.219 kB / 0.6942 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.3579, allocations: 1.094 kB / 0.6942 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.3579, allocations: 0 / 0.6942 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003436/0.3582, allocations: 306.8 kB / 0.6945 GB, free: 12.38 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.647e-05/0.3583, allocations: 110.4 kB / 0.6946 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.788e-05/0.3584, allocations: 6.75 kB / 0.6946 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.6e-05/0.3584, allocations: 6.734 kB / 0.6946 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.065e-05/0.3584, allocations: 2.75 kB / 0.6946 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.666e-05/0.3585, allocations: 8.125 kB / 0.6946 GB, free: 12.25 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001201/0.3586, allocations: 157.4 kB / 0.6948 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.3586, allocations: 0 / 0.6948 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002239/0.3588, allocations: 35.56 kB / 0.6948 GB, free: 12.13 MB / 0.5137 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.0007349/0.3595, allocations: 0.8633 MB / 0.6957 GB, free: 11.41 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0002534/0.3598, allocations: 192.5 kB / 0.6959 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.3598, allocations: 0 / 0.6959 GB, free: 11.3 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3599, allocations: 126.3 kB / 0.696 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001844/0.3601, allocations: 11.27 kB / 0.696 GB, free: 11.21 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002133/0.3622, allocations: 2.107 MB / 0.698 GB, free: 9.605 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.3626, allocations: 0.7252 MB / 0.6988 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.499e-05/0.3626, allocations: 2.25 kB / 0.6988 GB, free: 8.883 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.286e-05/0.3626, allocations: 38.52 kB / 0.6988 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of SimCode: time 3.3e-07/0.3627, allocations: 0 / 0.6988 GB, free: 8.848 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02472/0.3874, allocations: 3.073 MB / 0.7018 GB, free: 7.312 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.322/7.71, allocations: 13.91 kB / 0.7018 GB, free: 7.305 MB / 0.5137 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 & /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 sys.exit(0), Time elapsed: 10.82816716376692] Failed to read output from testmodel.py, exit status != 0: 7.776519610080868 7.789626429 7.433537941 Calling exit ...