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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001386/0.001386, allocations: 111.3 kB / 15.23 MB, free: 0.6602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001176/0.001177, allocations: 192.7 kB / 16.13 MB, free: 6.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 222.9 MB / 239.8 MB, free: 4.551 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6937/0.6937, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 59.47 kB / 0.5012 GB, free: 9.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1317/0.1329, allocations: 80.2 MB / 0.5795 GB, free: 9.164 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002364/0.1353, allocations: 1.554 MB / 0.581 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008942/0.1362, allocations: 0.6 MB / 0.5816 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.588e-05/0.1362, allocations: 0 / 0.5816 GB, free: 6.992 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001307/0.1364, allocations: 75.88 kB / 0.5817 GB, free: 6.918 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001544/0.1366, allocations: 83.81 kB / 0.5818 GB, free: 6.836 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002421/0.1368, allocations: 66.62 kB / 0.5818 GB, free: 6.773 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001024/0.1369, allocations: 95.73 kB / 0.5819 GB, free: 6.68 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.73e-05/0.137, allocations: 4 kB / 0.5819 GB, free: 6.676 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1371, allocations: 59.81 kB / 0.582 GB, free: 6.617 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.1373, allocations: 83.84 kB / 0.5821 GB, free: 6.535 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.775e-05/0.1373, allocations: 4 kB / 0.5821 GB, free: 6.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001137/0.1374, allocations: 75.92 kB / 0.5821 GB, free: 6.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.763e-05/0.1375, allocations: 27.86 kB / 0.5822 GB, free: 6.43 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.628e-05/0.1375, allocations: 43.72 kB / 0.5822 GB, free: 6.387 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001731/0.1377, allocations: 123.8 kB / 0.5823 GB, free: 6.266 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1377, allocations: 4 kB / 0.5823 GB, free: 6.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.92e-07/0.1377, allocations: 0 / 0.5823 GB, free: 6.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.387e-06/0.1377, allocations: 4 kB / 0.5823 GB, free: 6.258 MB / 494.1 MB 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.0004703/0.1382, allocations: 460.5 kB / 0.5828 GB, free: 5.754 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1382, allocations: 12.03 kB / 0.5828 GB, free: 5.742 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.443e-05/0.1383, allocations: 30.75 kB / 0.5828 GB, free: 5.703 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.493e-05/0.1383, allocations: 20.69 kB / 0.5828 GB, free: 5.684 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001736/0.1385, allocations: 200.9 kB / 0.583 GB, free: 5.445 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.838e-06/0.1385, allocations: 4.375 kB / 0.583 GB, free: 5.441 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.298e-05/0.1385, allocations: 4.359 kB / 0.583 GB, free: 5.438 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.1387, allocations: 119.4 kB / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.1387, allocations: 0 / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.031e-05/0.1387, allocations: 0 / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.1387, allocations: 0 / 0.5831 GB, free: 5.309 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.052e-05/0.1388, allocations: 59.97 kB / 0.5832 GB, free: 5.25 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003505/0.1392, allocations: 293.7 kB / 0.5835 GB, free: 4.91 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001141/0.1393, allocations: 105.1 kB / 0.5836 GB, free: 4.789 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.284e-05/0.1394, allocations: 73.84 kB / 0.5836 GB, free: 4.711 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.883e-05/0.1394, allocations: 3.984 kB / 0.5836 GB, free: 4.707 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001822/0.1396, allocations: 158.6 kB / 0.5838 GB, free: 4.527 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.182e-06/0.1396, allocations: 0 / 0.5838 GB, free: 4.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004079/0.1401, allocations: 299.1 kB / 0.5841 GB, free: 4.223 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.97e-05/0.1401, allocations: 106.8 kB / 0.5842 GB, free: 4.094 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000163/0.1403, allocations: 208.2 kB / 0.5844 GB, free: 3.879 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/0.1403, allocations: 25.7 kB / 0.5844 GB, free: 3.848 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.151e-05/0.1404, allocations: 112.1 kB / 0.5845 GB, free: 3.734 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.1404, allocations: 23.66 kB / 0.5845 GB, free: 3.711 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.313e-05/0.1404, allocations: 29.83 kB / 0.5846 GB, free: 3.676 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001018/0.1406, allocations: 330.8 kB / 0.5849 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.947e-05/0.1406, allocations: 47.98 kB / 0.5849 GB, free: 3.297 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.955e-05/0.1407, allocations: 65.69 kB / 0.585 GB, free: 3.227 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001843/0.1409, allocations: 185 kB / 0.5852 GB, free: 3.027 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.1409, allocations: 0 / 0.5852 GB, free: 3.027 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.00027/0.1412, allocations: 247.1 kB / 0.5854 GB, free: 2.773 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.349e-05/0.1412, allocations: 35.73 kB / 0.5854 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/0.1412, allocations: 0 / 0.5854 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.079e-05/0.1412, allocations: 0 / 0.5854 GB, free: 2.734 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.109e-05/0.1413, allocations: 11.98 kB / 0.5854 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.1413, allocations: 0 / 0.5854 GB, free: 2.723 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.577e-05/0.1414, allocations: 11.84 kB / 0.5855 GB, free: 2.711 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.109e-05/0.1414, allocations: 7.938 kB / 0.5855 GB, free: 2.703 MB / 494.1 MB 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.0001404/0.1416, allocations: 184 kB / 0.5856 GB, free: 2.508 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.47e-05/0.1416, allocations: 15.94 kB / 0.5857 GB, free: 2.492 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001285/0.1417, allocations: 67.08 kB / 0.5857 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.1417, allocations: 0 / 0.5857 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.1418, allocations: 0 / 0.5857 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1418, allocations: 0 / 0.5857 GB, free: 2.422 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.142, allocations: 217.4 kB / 0.5859 GB, free: 2.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.506e-06/0.142, allocations: 8.062 kB / 0.5859 GB, free: 2.152 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.322e-05/0.142, allocations: 7.984 kB / 0.5859 GB, free: 2.145 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.142, allocations: 4 kB / 0.5859 GB, free: 2.141 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.142, allocations: 8 kB / 0.586 GB, free: 2.133 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/0.1421, allocations: 4 kB / 0.586 GB, free: 2.129 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.1421, allocations: 3.938 kB / 0.586 GB, free: 2.125 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003105/0.1424, allocations: 303.3 kB / 0.5863 GB, free: 1.801 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.611e-05/0.1425, allocations: 93 kB / 0.5863 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.859e-05/0.1425, allocations: 8 kB / 0.5863 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.811e-05/0.1425, allocations: 11.98 kB / 0.5864 GB, free: 1.672 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.864e-05/0.1426, allocations: 4 kB / 0.5864 GB, free: 1.668 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.727e-05/0.1426, allocations: 4 kB / 0.5864 GB, free: 1.664 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001034/0.1427, allocations: 156.1 kB / 0.5865 GB, free: 1.512 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1427, allocations: 0 / 0.5865 GB, free: 1.512 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003266/0.1431, allocations: 39.91 kB / 0.5866 GB, free: 1.473 MB / 494.1 MB 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.0005838/0.1436, allocations: 0.8608 MB / 0.5874 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002464/0.1439, allocations: 219.1 kB / 0.5876 GB, free: 356 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.1439, allocations: 0 / 0.5876 GB, free: 356 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000126/0.144, allocations: 151.5 kB / 0.5877 GB, free: 192 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001901/0.1442, allocations: 19.17 kB / 0.5878 GB, free: 176 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001898/0.1461, allocations: 2.115 MB / 0.5898 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002456/0.1464, allocations: 0.7167 MB / 0.5905 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.011e-05/0.1464, allocations: 7.984 kB / 0.5905 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.395e-05/0.1465, allocations: 39.38 kB / 0.5906 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of SimCode: time 2.11e-07/0.1465, allocations: 3.938 kB / 0.5906 GB, free: 13.16 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2128/0.3593, allocations: 2.839 MB / 0.5934 GB, free: 10.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001993/0.3595, allocations: 218.3 kB / 0.5936 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.758/2.117, allocations: 0 / 0.5936 GB, free: 10.22 MB / 0.4981 GB (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 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)