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.001464/0.001468, 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.00115/0.00115, allocations: 194.4 kB / 16.25 MB, free: 6.625 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.198/1.198, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6622/0.6622, allocations: 132.2 MB / 422.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009867/0.0009866, allocations: 60.66 kB / 0.5014 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1437, allocations: 80.2 MB / 0.5797 GB, free: 9.031 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002279/0.146, allocations: 1.558 MB / 0.5812 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008503/0.1469, allocations: 0.5766 MB / 0.5818 GB, free: 6.879 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.593e-05/0.147, allocations: 4 kB / 0.5818 GB, free: 6.875 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001221/0.1471, allocations: 67.89 kB / 0.5818 GB, free: 6.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000142/0.1473, allocations: 79.81 kB / 0.5819 GB, free: 6.73 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003095/0.1476, allocations: 84.97 kB / 0.582 GB, free: 6.648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.000125/0.1477, allocations: 103.7 kB / 0.5821 GB, free: 6.547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.826e-05/0.1478, allocations: 8 kB / 0.5821 GB, free: 6.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.1479, allocations: 59.81 kB / 0.5822 GB, free: 6.48 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001143/0.148, allocations: 87.84 kB / 0.5822 GB, free: 6.395 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.434e-05/0.148, allocations: 4 kB / 0.5822 GB, free: 6.391 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001086/0.1482, allocations: 75.88 kB / 0.5823 GB, free: 6.316 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.584e-05/0.1482, allocations: 35.84 kB / 0.5823 GB, free: 6.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.578e-05/0.1483, allocations: 39.69 kB / 0.5824 GB, free: 6.242 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001597/0.1484, allocations: 131.9 kB / 0.5825 GB, free: 6.113 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.005e-06/0.1484, allocations: 0 / 0.5825 GB, free: 6.113 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.1484, allocations: 0 / 0.5825 GB, free: 6.113 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.218e-06/0.1485, allocations: 0 / 0.5825 GB, free: 6.113 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.0004307/0.1489, allocations: 468.3 kB / 0.583 GB, free: 5.602 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.05e-05/0.1489, allocations: 8.031 kB / 0.583 GB, free: 5.594 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.846e-05/0.149, allocations: 38.73 kB / 0.583 GB, free: 5.547 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.149, allocations: 12.84 kB / 0.583 GB, free: 5.535 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001534/0.1492, allocations: 204.9 kB / 0.5832 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.315e-06/0.1492, allocations: 384 / 0.5832 GB, free: 5.293 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.706e-05/0.1492, allocations: 4.375 kB / 0.5832 GB, free: 5.289 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.1493, allocations: 115.4 kB / 0.5833 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.092e-06/0.1494, allocations: 0 / 0.5833 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.286e-06/0.1494, allocations: 0 / 0.5833 GB, free: 5.164 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.1494, allocations: 4 kB / 0.5833 GB, free: 5.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.222e-05/0.1495, allocations: 55.97 kB / 0.5834 GB, free: 5.105 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003031/0.1498, allocations: 309.6 kB / 0.5837 GB, free: 4.75 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001014/0.1499, allocations: 93.2 kB / 0.5838 GB, free: 4.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.742e-05/0.15, allocations: 77.67 kB / 0.5838 GB, free: 4.559 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.695e-05/0.15, allocations: 8 kB / 0.5838 GB, free: 4.551 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.1502, allocations: 150.7 kB / 0.584 GB, free: 4.379 MB / 494.1 MB Notification: Performance of pre-optimization done (n=10): time 1.222e-06/0.1502, allocations: 0 / 0.584 GB, free: 4.379 MB / 494.1 MB Notification: Performance of matching and sorting (n=10): time 0.0003724/0.1506, allocations: 295.3 kB / 0.5843 GB, free: 4.078 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.482e-05/0.1506, allocations: 106.8 kB / 0.5844 GB, free: 3.949 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.1508, allocations: 212.3 kB / 0.5846 GB, free: 3.73 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.841e-05/0.1508, allocations: 33.7 kB / 0.5846 GB, free: 3.691 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.682e-05/0.1508, allocations: 100.1 kB / 0.5847 GB, free: 3.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.724e-05/0.1509, allocations: 27.64 kB / 0.5847 GB, free: 3.562 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.985e-05/0.1509, allocations: 21.72 kB / 0.5847 GB, free: 3.535 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.712e-05/0.151, allocations: 338.8 kB / 0.5851 GB, free: 3.195 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.005e-05/0.1511, allocations: 43.98 kB / 0.5851 GB, free: 3.152 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.239e-05/0.1512, allocations: 81.17 kB / 0.5852 GB, free: 3.07 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001368/0.1513, allocations: 177.1 kB / 0.5854 GB, free: 2.879 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.1513, allocations: 0 / 0.5854 GB, free: 2.879 MB / 494.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002364/0.1515, allocations: 243.1 kB / 0.5856 GB, free: 2.629 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.1516, allocations: 37.69 kB / 0.5856 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.607e-06/0.1516, allocations: 0 / 0.5856 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.348e-06/0.1516, allocations: 0 / 0.5856 GB, free: 2.586 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.651e-05/0.1517, allocations: 11.98 kB / 0.5856 GB, free: 2.574 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.1517, allocations: 7.969 kB / 0.5856 GB, free: 2.566 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.474e-05/0.1518, allocations: 11.84 kB / 0.5857 GB, free: 2.555 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.1518, allocations: 4 kB / 0.5857 GB, free: 2.551 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.0001117/0.1519, allocations: 180.1 kB / 0.5858 GB, free: 2.359 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.1519, allocations: 11.91 kB / 0.5858 GB, free: 2.348 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001179/0.152, allocations: 67.02 kB / 0.5859 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.152, allocations: 0 / 0.5859 GB, free: 2.277 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.1521, allocations: 8 kB / 0.5859 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.1521, allocations: 0 / 0.5859 GB, free: 2.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.1522, allocations: 221.5 kB / 0.5861 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.1522, allocations: 0 / 0.5861 GB, free: 2.004 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.294e-05/0.1523, allocations: 11.94 kB / 0.5861 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.1523, allocations: 0 / 0.5861 GB, free: 1.992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.501e-05/0.1523, allocations: 12.12 kB / 0.5862 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.1523, allocations: 0 / 0.5862 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1523, allocations: 0 / 0.5862 GB, free: 1.98 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000286/0.1526, allocations: 315.3 kB / 0.5865 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.982e-05/0.1527, allocations: 96.91 kB / 0.5865 GB, free: 1.531 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.667e-05/0.1527, allocations: 8 kB / 0.5866 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.07e-05/0.1527, allocations: 0 / 0.5866 GB, free: 1.523 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.81e-05/0.1528, allocations: 7.984 kB / 0.5866 GB, free: 1.516 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.511e-05/0.1528, allocations: 4 kB / 0.5866 GB, free: 1.512 MB / 494.1 MB Notification: Performance of sorting global known variables: time 9.479e-05/0.1529, allocations: 156 kB / 0.5867 GB, free: 1.359 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1529, allocations: 0 / 0.5867 GB, free: 1.359 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002148/0.1531, allocations: 47.98 kB / 0.5868 GB, free: 1.312 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.0005359/0.1537, allocations: 0.8479 MB / 0.5876 GB, free: 436 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002211/0.1539, allocations: 227.2 kB / 0.5878 GB, free: 196 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.1539, allocations: 4.062 kB / 0.5878 GB, free: 192 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000116/0.154, allocations: 155.3 kB / 0.588 GB, free: 24 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00018/0.1542, allocations: 14.42 kB / 0.588 GB, free: 12 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001658/0.1559, allocations: 2.109 MB / 0.59 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001994/0.1561, allocations: 0.7167 MB / 0.5907 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.753e-05/0.1561, allocations: 8 kB / 0.5907 GB, free: 13.05 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.1562, allocations: 35.42 kB / 0.5908 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1562, allocations: 0 / 0.5908 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5659/0.7221, allocations: 2.921 MB / 0.5936 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00023/0.7224, allocations: 229.4 kB / 0.5938 GB, free: 10.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.281, allocations: 0 / 0.5938 GB, free: 10.01 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)