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.001098/0.001102, 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.001103/0.001103, allocations: 191.3 kB / 16.14 MB, free: 6.664 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.169/1.169, allocations: 222.9 MB / 239.8 MB, free: 4.594 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7987/0.7987, allocations: 135.1 MB / 425.1 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001054/0.001054, allocations: 64 kB / 0.5048 GB, free: 5.715 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1151/0.1162, allocations: 80.92 MB / 0.5838 GB, free: 4.957 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002126/0.1183, allocations: 1.553 MB / 0.5853 GB, free: 3.391 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007834/0.1191, allocations: 0.5845 MB / 0.5859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.015e-05/0.1192, allocations: 0 / 0.5859 GB, free: 2.801 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.1193, allocations: 87.81 kB / 0.586 GB, free: 2.715 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001345/0.1195, allocations: 75.81 kB / 0.5861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000227/0.1197, allocations: 71.86 kB / 0.5861 GB, free: 2.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 9.208e-05/0.1198, allocations: 87.73 kB / 0.5862 GB, free: 2.484 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.813e-05/0.1199, allocations: 16 kB / 0.5862 GB, free: 2.469 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001016/0.12, allocations: 47.89 kB / 0.5863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001119/0.1201, allocations: 87.77 kB / 0.5864 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.1201, allocations: 0 / 0.5864 GB, free: 2.336 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001069/0.1202, allocations: 75.92 kB / 0.5864 GB, free: 2.262 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.674e-05/0.1203, allocations: 31.86 kB / 0.5865 GB, free: 2.23 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.046e-05/0.1203, allocations: 47.66 kB / 0.5865 GB, free: 2.184 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001482/0.1205, allocations: 127.9 kB / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.056e-06/0.1205, allocations: 0 / 0.5866 GB, free: 2.059 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1205, allocations: 4 kB / 0.5866 GB, free: 2.055 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.925e-06/0.1205, allocations: 0 / 0.5866 GB, free: 2.055 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.0004191/0.1209, allocations: 456.5 kB / 0.5871 GB, free: 1.555 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.753e-05/0.121, allocations: 11.97 kB / 0.5871 GB, free: 1.543 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.816e-05/0.121, allocations: 38.75 kB / 0.5871 GB, free: 1.496 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.095e-05/0.121, allocations: 12.75 kB / 0.5871 GB, free: 1.484 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001511/0.1212, allocations: 212.8 kB / 0.5873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.424e-06/0.1212, allocations: 384 / 0.5873 GB, free: 1.234 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.271e-05/0.1212, allocations: 4.375 kB / 0.5873 GB, free: 1.23 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001481/0.1214, allocations: 111.5 kB / 0.5874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.42e-06/0.1214, allocations: 0 / 0.5874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.1214, allocations: 0 / 0.5874 GB, free: 1.109 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.454e-06/0.1214, allocations: 4 kB / 0.5874 GB, free: 1.105 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.462e-05/0.1215, allocations: 59.91 kB / 0.5875 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000292/0.1218, allocations: 297.7 kB / 0.5878 GB, free: 0.7031 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1219, allocations: 97.12 kB / 0.5879 GB, free: 0.5898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.433e-05/0.122, allocations: 69.75 kB / 0.5879 GB, free: 0.5156 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.617e-05/0.122, allocations: 4 kB / 0.5879 GB, free: 0.5117 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.1222, allocations: 162.6 kB / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.112e-06/0.1222, allocations: 0 / 0.5881 GB, free: 336 kB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003548/0.1226, allocations: 295.1 kB / 0.5884 GB, free: 28 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.341e-05/0.1226, allocations: 106.8 kB / 0.5885 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.1228, allocations: 207.6 kB / 0.5887 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1228, allocations: 29.7 kB / 0.5887 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.934e-05/0.1229, allocations: 112 kB / 0.5888 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.738e-05/0.1229, allocations: 31.92 kB / 0.5888 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.223e-05/0.1229, allocations: 25.7 kB / 0.5889 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.123, allocations: 330.8 kB / 0.5892 GB, free: 15.14 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.037e-05/0.1231, allocations: 51.97 kB / 0.5892 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.183e-05/0.1232, allocations: 65.64 kB / 0.5893 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.1233, allocations: 177.1 kB / 0.5895 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.1233, allocations: 4 kB / 0.5895 GB, free: 14.82 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002401/0.1236, allocations: 243.1 kB / 0.5897 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.007e-05/0.1236, allocations: 39.72 kB / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.1236, allocations: 4 kB / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.177e-06/0.1236, allocations: 0 / 0.5897 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.292e-05/0.1237, allocations: 11.94 kB / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.1237, allocations: 0 / 0.5898 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.34e-05/0.1238, allocations: 11.84 kB / 0.5898 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.095e-05/0.1238, allocations: 4 kB / 0.5898 GB, free: 14.5 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.0001072/0.1239, allocations: 179.5 kB / 0.5899 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.1239, allocations: 11.91 kB / 0.59 GB, free: 14.3 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001216/0.1241, allocations: 75.09 kB / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.1241, allocations: 0 / 0.59 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1241, allocations: 7.938 kB / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1241, allocations: 0 / 0.59 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001309/0.1242, allocations: 213.5 kB / 0.5902 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1242, allocations: 4 kB / 0.5902 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.329e-05/0.1243, allocations: 15.98 kB / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.1243, allocations: 0 / 0.5903 GB, free: 13.93 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/0.1243, allocations: 4 kB / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.1243, allocations: 0 / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1243, allocations: 0 / 0.5903 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002919/0.1246, allocations: 307.3 kB / 0.5906 GB, free: 13.59 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.747e-05/0.1247, allocations: 100.9 kB / 0.5907 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.429e-05/0.1247, allocations: 8 kB / 0.5907 GB, free: 13.47 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.518e-05/0.1248, allocations: 7.984 kB / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.595e-05/0.1248, allocations: 4 kB / 0.5907 GB, free: 13.46 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.455e-05/0.1248, allocations: 4 kB / 0.5907 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 9.639e-05/0.1249, allocations: 152.1 kB / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/0.1249, allocations: 0 / 0.5908 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002112/0.1251, allocations: 44 kB / 0.5909 GB, free: 13.26 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.0005364/0.1257, allocations: 0.8558 MB / 0.5917 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002188/0.1259, allocations: 227.2 kB / 0.5919 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.1259, allocations: 0 / 0.5919 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001133/0.126, allocations: 151.3 kB / 0.5921 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000177/0.1262, allocations: 13.55 kB / 0.5921 GB, free: 11.96 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001656/0.1279, allocations: 2.114 MB / 0.5941 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001952/0.1281, allocations: 0.7196 MB / 0.5948 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.757e-05/0.1281, allocations: 7.984 kB / 0.5948 GB, free: 8.996 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.033e-05/0.1282, allocations: 27.44 kB / 0.5949 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1282, allocations: 0 / 0.5949 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4204/0.5486, allocations: 2.857 MB / 0.5977 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000167/0.5488, allocations: 221.6 kB / 0.5979 GB, free: 6.035 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.882/2.431, allocations: 0 / 0.5979 GB, free: 6.035 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)