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.001239/0.001239, allocations: 110.6 kB / 18.94 MB, free: 2.949 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.001373/0.001373, allocations: 220.3 kB / 22.26 MB, free: 5.125 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.392/1.392, allocations: 230.6 MB / 256 MB, free: 7.953 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.8083/0.8083, allocations: 134 MB / 446.4 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="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.001951/0.001951, allocations: 67 kB / 0.6185 GB, free: 7.211 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1484/0.1503, allocations: 85.9 MB / 0.7024 GB, free: 1.387 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002745/0.1531, allocations: 1.514 MB / 0.7039 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001111/0.1542, allocations: 0.6387 MB / 0.7045 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.57e-05/0.1542, allocations: 0 / 0.7045 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0001598/0.1544, allocations: 83.81 kB / 0.7046 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0001871/0.1546, allocations: 83.75 kB / 0.7047 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.000362/0.1549, allocations: 106.7 kB / 0.7048 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001729/0.1551, allocations: 95.8 kB / 0.7049 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.044e-05/0.1552, allocations: 7.938 kB / 0.7049 GB, free: 14.85 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001836/0.1554, allocations: 67.86 kB / 0.705 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001573/0.1555, allocations: 95.83 kB / 0.705 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.733e-05/0.1555, allocations: 4 kB / 0.7051 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001593/0.1557, allocations: 87.86 kB / 0.7051 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.46e-05/0.1558, allocations: 27.86 kB / 0.7052 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.106e-05/0.1558, allocations: 39.72 kB / 0.7052 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002374/0.1561, allocations: 147.7 kB / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.1561, allocations: 0 / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.012e-06/0.1561, allocations: 0 / 0.7053 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.1561, allocations: 0 / 0.7053 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.0005205/0.1566, allocations: 395.1 kB / 0.7057 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.1566, allocations: 8.031 kB / 0.7057 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.942e-05/0.1567, allocations: 38.75 kB / 0.7058 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001592/0.1568, allocations: 24.83 kB / 0.7058 GB, free: 13.89 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002294/0.1571, allocations: 143.1 kB / 0.7059 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.145e-05/0.1571, allocations: 4.375 kB / 0.7059 GB, free: 13.72 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.1571, allocations: 4.312 kB / 0.7059 GB, free: 13.71 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001877/0.1573, allocations: 115.5 kB / 0.706 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.875e-06/0.1573, allocations: 0 / 0.706 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1573, allocations: 0 / 0.706 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.957e-06/0.1573, allocations: 0 / 0.706 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1574, allocations: 67.84 kB / 0.7061 GB, free: 13.52 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.1578, allocations: 268.8 kB / 0.7064 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001323/0.1579, allocations: 89.19 kB / 0.7064 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.696e-05/0.158, allocations: 65.67 kB / 0.7065 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 1.916e-05/0.158, allocations: 0 / 0.7065 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001987/0.1582, allocations: 146.8 kB / 0.7067 GB, free: 12.87 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=10): time 1.092e-06/0.1582, allocations: 8 kB / 0.7067 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of matching and sorting (n=10): time 0.0004538/0.1587, allocations: 299.1 kB / 0.7069 GB, free: 12.56 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.075e-05/0.1587, allocations: 106.8 kB / 0.707 GB, free: 12.43 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001955/0.1589, allocations: 204.3 kB / 0.7072 GB, free: 12.22 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.159, allocations: 29.7 kB / 0.7073 GB, free: 12.19 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.85e-05/0.159, allocations: 112.1 kB / 0.7074 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.1591, allocations: 31.92 kB / 0.7074 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.554e-05/0.1591, allocations: 21.84 kB / 0.7074 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001458/0.1593, allocations: 338.7 kB / 0.7077 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.084e-05/0.1594, allocations: 55.91 kB / 0.7078 GB, free: 11.62 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/0.1594, allocations: 62.47 kB / 0.7079 GB, free: 11.55 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001858/0.1596, allocations: 177.1 kB / 0.708 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1596, allocations: 0 / 0.708 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003032/0.1599, allocations: 247.1 kB / 0.7083 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/0.16, allocations: 45.72 kB / 0.7083 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.928e-06/0.16, allocations: 0 / 0.7083 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.16, allocations: 0 / 0.7083 GB, free: 11.06 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.038e-05/0.1601, allocations: 15.88 kB / 0.7083 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.1601, allocations: 0 / 0.7083 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.388e-05/0.1601, allocations: 8.062 kB / 0.7083 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.238e-05/0.1601, allocations: 4 kB / 0.7083 GB, free: 11.03 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.0001548/0.1603, allocations: 175.5 kB / 0.7085 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.667e-05/0.1603, allocations: 15.91 kB / 0.7085 GB, free: 10.83 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001401/0.1605, allocations: 75.16 kB / 0.7086 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.088e-06/0.1605, allocations: 4 kB / 0.7086 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.587e-06/0.1605, allocations: 0 / 0.7086 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.1605, allocations: 0 / 0.7086 GB, free: 10.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001822/0.1606, allocations: 192.5 kB / 0.7088 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.1606, allocations: 0 / 0.7088 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.644e-05/0.1607, allocations: 11.94 kB / 0.7088 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.1607, allocations: 0 / 0.7088 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.1607, allocations: 8 kB / 0.7088 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.1607, allocations: 0 / 0.7088 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.1607, allocations: 4 kB / 0.7088 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003738/0.1611, allocations: 303.4 kB / 0.7091 GB, free: 10.17 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.525e-05/0.1611, allocations: 23.89 kB / 0.7091 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.805e-05/0.1612, allocations: 8 kB / 0.7091 GB, free: 10.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.719e-05/0.1612, allocations: 7.984 kB / 0.7091 GB, free: 10.13 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.1613, allocations: 7.938 kB / 0.7091 GB, free: 10.12 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1613, allocations: 8 kB / 0.7091 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.0001369/0.1614, allocations: 156.1 kB / 0.7093 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1614, allocations: 0 / 0.7093 GB, free: 9.961 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002427/0.1617, allocations: 35.94 kB / 0.7093 GB, free: 9.926 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.0007484/0.1624, allocations: 0.8677 MB / 0.7102 GB, free: 9.023 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00027/0.1627, allocations: 187.3 kB / 0.7104 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1627, allocations: 0 / 0.7104 GB, free: 8.828 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0001288/0.1628, allocations: 123.3 kB / 0.7105 GB, free: 8.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.163, allocations: 26.02 kB / 0.7105 GB, free: 8.672 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002227/0.1652, allocations: 2.098 MB / 0.7125 GB, free: 6.473 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003543/0.1656, allocations: 0.7158 MB / 0.7132 GB, free: 5.73 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.608e-05/0.1656, allocations: 8.266 kB / 0.7133 GB, free: 5.723 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.346e-05/0.1657, allocations: 35.42 kB / 0.7133 GB, free: 5.688 MB / 0.5294 GB Notification: Performance of SimCode: time 3.91e-07/0.1657, allocations: 4 kB / 0.7133 GB, free: 5.684 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02988/0.1955, allocations: 3.224 MB / 0.7164 GB, free: 2.609 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.26/10.45, allocations: 10.42 kB / 0.7164 GB, free: 2.602 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 sys.exit(0), Time elapsed: 13.735379124991596] Failed to read output from testmodel.py, exit status != 0: 10.554790671914816 10.569717907 10.410740431 Calling exit ...