Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination,fileNamePrefix="IDEAS_dev_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.001119/0.001119, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001089/0.001089, allocations: 191.5 kB / 16.25 MB, free: 6.641 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.158/1.158, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7925/0.7925, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001133/0.001133, allocations: 64.64 kB / 0.505 GB, free: 5.543 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1205/0.1217, allocations: 80.93 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002232/0.1239, allocations: 1.538 MB / 0.5855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008293/0.1248, allocations: 0.5766 MB / 0.5861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.777e-05/0.1248, allocations: 0 / 0.5861 GB, free: 2.652 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001242/0.125, allocations: 67.91 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001476/0.1251, allocations: 87.81 kB / 0.5862 GB, free: 2.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003023/0.1255, allocations: 75.86 kB / 0.5863 GB, free: 2.426 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001298/0.1256, allocations: 107.7 kB / 0.5864 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.074e-05/0.1257, allocations: 7.984 kB / 0.5864 GB, free: 2.312 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001124/0.1258, allocations: 63.81 kB / 0.5865 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001132/0.1259, allocations: 87.84 kB / 0.5865 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.498e-05/0.1259, allocations: 4 kB / 0.5865 GB, free: 2.16 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001104/0.126, allocations: 75.88 kB / 0.5866 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.983e-05/0.1261, allocations: 39.83 kB / 0.5867 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.697e-05/0.1262, allocations: 39.69 kB / 0.5867 GB, free: 2.008 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001621/0.1263, allocations: 131.9 kB / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1263, allocations: 0 / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.72e-07/0.1263, allocations: 0 / 0.5868 GB, free: 1.879 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.1263, allocations: 0 / 0.5868 GB, free: 1.879 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.0004594/0.1268, allocations: 460.4 kB / 0.5873 GB, free: 1.375 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.1269, allocations: 12.03 kB / 0.5873 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.1269, allocations: 38.67 kB / 0.5873 GB, free: 1.316 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.388e-05/0.1269, allocations: 16.75 kB / 0.5873 GB, free: 1.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.1271, allocations: 196.9 kB / 0.5875 GB, free: 1.066 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.809e-06/0.1271, allocations: 4.375 kB / 0.5875 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.1271, allocations: 384 / 0.5875 GB, free: 1.062 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001573/0.1273, allocations: 115.4 kB / 0.5876 GB, free: 0.9375 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.811e-06/0.1273, allocations: 4 kB / 0.5876 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.1273, allocations: 4 kB / 0.5876 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.577e-06/0.1273, allocations: 0 / 0.5876 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.241e-05/0.1274, allocations: 59.97 kB / 0.5877 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003145/0.1277, allocations: 305.6 kB / 0.588 GB, free: 0.5195 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000107/0.1279, allocations: 93.2 kB / 0.5881 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.881e-05/0.1279, allocations: 77.73 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.128, allocations: 0 / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001829/0.1282, allocations: 158.6 kB / 0.5883 GB, free: 152 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.052e-06/0.1282, allocations: 4 kB / 0.5883 GB, free: 148 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003811/0.1286, allocations: 291.6 kB / 0.5886 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.146e-05/0.1286, allocations: 110.8 kB / 0.5887 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001488/0.1288, allocations: 203.7 kB / 0.5889 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.556e-05/0.1288, allocations: 25.7 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.278e-05/0.1288, allocations: 112 kB / 0.589 GB, free: 15.36 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.04e-05/0.1289, allocations: 31.62 kB / 0.589 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.461e-05/0.1289, allocations: 21.72 kB / 0.5891 GB, free: 15.3 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/0.129, allocations: 334.9 kB / 0.5894 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.039e-05/0.1291, allocations: 51.98 kB / 0.5894 GB, free: 14.91 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.449e-05/0.1292, allocations: 73.56 kB / 0.5895 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001412/0.1293, allocations: 173.1 kB / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.1293, allocations: 0 / 0.5897 GB, free: 14.65 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002393/0.1296, allocations: 239.1 kB / 0.5899 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.656e-05/0.1296, allocations: 45.72 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.1296, allocations: 0 / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.085e-05/0.1296, allocations: 4 kB / 0.5899 GB, free: 14.35 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.718e-05/0.1297, allocations: 4 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.1297, allocations: 7.969 kB / 0.5899 GB, free: 14.34 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.1298, allocations: 11.84 kB / 0.59 GB, free: 14.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.1298, allocations: 4 kB / 0.59 GB, free: 14.32 MB / 0.4981 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.0001192/0.1299, allocations: 179.4 kB / 0.5901 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.177e-05/0.13, allocations: 15.84 kB / 0.5901 GB, free: 14.11 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.1301, allocations: 79.16 kB / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.1301, allocations: 0 / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.1301, allocations: 0 / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.1301, allocations: 0 / 0.5902 GB, free: 14.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.1303, allocations: 213.5 kB / 0.5904 GB, free: 13.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.654e-06/0.1303, allocations: 4 kB / 0.5904 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.216e-05/0.1303, allocations: 7.938 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.1303, allocations: 4 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.299e-05/0.1303, allocations: 4 kB / 0.5904 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.1304, allocations: 11.98 kB / 0.5905 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.1304, allocations: 0 / 0.5905 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003073/0.1307, allocations: 299.3 kB / 0.5907 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.1307, allocations: 97.12 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.1308, allocations: 12 kB / 0.5908 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.258e-05/0.1308, allocations: 4 kB / 0.5909 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.917e-05/0.1309, allocations: 11.98 kB / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.651e-05/0.1309, allocations: 4 kB / 0.5909 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001004/0.131, allocations: 148.1 kB / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.131, allocations: 0 / 0.591 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002211/0.1312, allocations: 43.98 kB / 0.5911 GB, free: 13.08 MB / 0.4981 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.0005605/0.1318, allocations: 0.8636 MB / 0.5919 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002396/0.132, allocations: 231.3 kB / 0.5921 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.1321, allocations: 3.938 kB / 0.5921 GB, free: 11.95 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.1322, allocations: 155.3 kB / 0.5923 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001801/0.1324, allocations: 4 kB / 0.5923 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001737/0.1341, allocations: 2.118 MB / 0.5943 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002189/0.1343, allocations: 0.7158 MB / 0.595 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.643e-05/0.1344, allocations: 336 / 0.595 GB, free: 8.816 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.237e-05/0.1344, allocations: 39.42 kB / 0.5951 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1344, allocations: 0 / 0.5951 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.485/1.619, allocations: 2.935 MB / 0.5979 GB, free: 6.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001835/1.62, allocations: 221.7 kB / 0.5982 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.14/3.76, allocations: 0 / 0.5982 GB, free: 5.793 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination_fmu --startTime=0 --stopTime=3.1536e+07 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)