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.001821/0.001821, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002234/0.002234, allocations: 194.6 kB / 16.53 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 2.425/2.425, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.556/1.556, allocations: 135.1 MB / 425.5 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002604/0.002604, allocations: 59.16 kB / 0.5054 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2323/0.2349, allocations: 80.93 MB / 0.5845 GB, free: 4.469 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.004601/0.2396, allocations: 1.48 MB / 0.5859 GB, free: 2.973 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001814/0.2414, allocations: 0.5704 MB / 0.5865 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.654e-05/0.2415, allocations: 0 / 0.5865 GB, free: 2.398 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002288/0.2418, allocations: 79.81 kB / 0.5866 GB, free: 2.32 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002841/0.2421, allocations: 83.81 kB / 0.5866 GB, free: 2.238 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006038/0.2427, allocations: 90.72 kB / 0.5867 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002495/0.243, allocations: 111.7 kB / 0.5868 GB, free: 2.043 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.2431, allocations: 4 kB / 0.5868 GB, free: 2.039 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002073/0.2434, allocations: 59.81 kB / 0.5869 GB, free: 1.98 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002379/0.2436, allocations: 91.83 kB / 0.587 GB, free: 1.891 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 3.042e-05/0.2437, allocations: 4 kB / 0.587 GB, free: 1.887 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002219/0.2439, allocations: 75.94 kB / 0.5871 GB, free: 1.812 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.723e-05/0.244, allocations: 27.86 kB / 0.5871 GB, free: 1.785 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 9.129e-05/0.2441, allocations: 39.67 kB / 0.5871 GB, free: 1.746 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000356/0.2445, allocations: 135.9 kB / 0.5872 GB, free: 1.613 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.419e-06/0.2445, allocations: 3.938 kB / 0.5872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.2445, allocations: 0 / 0.5872 GB, free: 1.609 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.999e-06/0.2445, allocations: 0 / 0.5872 GB, free: 1.609 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.0008094/0.2454, allocations: 464.4 kB / 0.5877 GB, free: 1.102 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.286e-05/0.2454, allocations: 12.03 kB / 0.5877 GB, free: 1.09 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.108e-05/0.2455, allocations: 34.75 kB / 0.5877 GB, free: 1.047 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.898e-05/0.2456, allocations: 16.75 kB / 0.5878 GB, free: 1.031 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003049/0.2459, allocations: 208.8 kB / 0.588 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.2459, allocations: 4.375 kB / 0.588 GB, free: 0.7812 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.611e-05/0.246, allocations: 4.375 kB / 0.588 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.2463, allocations: 107.5 kB / 0.5881 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.2463, allocations: 0 / 0.5881 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.647e-05/0.2463, allocations: 0 / 0.5881 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.2463, allocations: 0 / 0.5881 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001741/0.2465, allocations: 67.91 kB / 0.5881 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005763/0.2471, allocations: 293.7 kB / 0.5884 GB, free: 260 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.2474, allocations: 97.12 kB / 0.5885 GB, free: 144 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001714/0.2476, allocations: 81.73 kB / 0.5886 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.431e-05/0.2476, allocations: 0 / 0.5886 GB, free: 56 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003965/0.248, allocations: 154.7 kB / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 7.785e-06/0.248, allocations: 0 / 0.5887 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0007689/0.2488, allocations: 291.3 kB / 0.589 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.217e-05/0.2489, allocations: 118.9 kB / 0.5891 GB, free: 15.44 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003075/0.2492, allocations: 199.7 kB / 0.5893 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.739e-05/0.2493, allocations: 25.7 kB / 0.5893 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001083/0.2494, allocations: 120 kB / 0.5894 GB, free: 15.08 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.834e-05/0.2495, allocations: 27.64 kB / 0.5895 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.616e-05/0.2496, allocations: 21.72 kB / 0.5895 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001735/0.2498, allocations: 330.7 kB / 0.5898 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.2499, allocations: 55.97 kB / 0.5899 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.2501, allocations: 69.69 kB / 0.5899 GB, free: 14.57 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003134/0.2504, allocations: 181 kB / 0.5901 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.2504, allocations: 0 / 0.5901 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005241/0.251, allocations: 235.1 kB / 0.5903 GB, free: 14.13 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 6.027e-05/0.251, allocations: 47.97 kB / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.2511, allocations: 0 / 0.5904 GB, free: 14.08 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.192e-05/0.2511, allocations: 4.094 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000125/0.2512, allocations: 7.984 kB / 0.5904 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.123e-05/0.2513, allocations: 8.031 kB / 0.5904 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001299/0.2514, allocations: 11.83 kB / 0.5904 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.696e-05/0.2515, allocations: 4 kB / 0.5904 GB, free: 14.04 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.000224/0.2517, allocations: 171.5 kB / 0.5906 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.2518, allocations: 23.89 kB / 0.5906 GB, free: 13.84 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002403/0.252, allocations: 63.03 kB / 0.5907 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.252, allocations: 4 kB / 0.5907 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.2521, allocations: 0 / 0.5907 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.682e-05/0.2521, allocations: 7.984 kB / 0.5907 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.2524, allocations: 213.5 kB / 0.5909 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.2524, allocations: 0 / 0.5909 GB, free: 13.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.748e-05/0.2525, allocations: 8 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.148e-06/0.2525, allocations: 0 / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.517e-05/0.2526, allocations: 8 kB / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.216e-06/0.2526, allocations: 0 / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2526, allocations: 0 / 0.5909 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006196/0.2532, allocations: 312.9 kB / 0.5912 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001311/0.2534, allocations: 101 kB / 0.5913 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.048e-05/0.2534, allocations: 4 kB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001009/0.2536, allocations: 4 kB / 0.5913 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.984e-05/0.2536, allocations: 8.109 kB / 0.5913 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.242e-05/0.2537, allocations: 11.98 kB / 0.5913 GB, free: 13 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0002189/0.2539, allocations: 152.1 kB / 0.5914 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.71e-07/0.2539, allocations: 7.938 kB / 0.5915 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004854/0.2544, allocations: 32 kB / 0.5915 GB, free: 12.81 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.001172/0.2556, allocations: 0.8646 MB / 0.5923 GB, free: 11.91 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0005302/0.2562, allocations: 215.4 kB / 0.5925 GB, free: 11.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.509e-06/0.2562, allocations: 4 kB / 0.5925 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002913/0.2565, allocations: 159.3 kB / 0.5927 GB, free: 11.52 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003793/0.2569, allocations: 8 kB / 0.5927 GB, free: 11.51 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003957/0.2609, allocations: 2.086 MB / 0.5947 GB, free: 9.324 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004435/0.2613, allocations: 0.7223 MB / 0.5954 GB, free: 8.578 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.254e-05/0.2614, allocations: 11.98 kB / 0.5955 GB, free: 8.566 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.621e-05/0.2615, allocations: 35.42 kB / 0.5955 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of SimCode: time 9.72e-07/0.2615, allocations: 0 / 0.5955 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03216/0.2937, allocations: 3.024 MB / 0.5984 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.64/12.94, allocations: 7.688 kB / 0.5984 GB, free: 5.648 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IDEAS_dev_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_dev_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1)