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.004632/0.004632, allocations: 100.2 kB / 15.73 MB, free: 6.012 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.001292/0.001292, allocations: 191.9 kB / 16.67 MB, free: 5.934 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.399/1.399, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8403/0.8403, allocations: 135.6 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 71.38 kB / 0.5857 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1361/0.1381, allocations: 81.03 MB / 0.6648 GB, free: 5.742 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002626/0.1407, allocations: 1.488 MB / 0.6663 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009981/0.1417, allocations: 0.5766 MB / 0.6669 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.185e-05/0.1418, allocations: 0 / 0.6669 GB, free: 3.664 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001487/0.142, allocations: 83.81 kB / 0.6669 GB, free: 3.582 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001678/0.1421, allocations: 75.81 kB / 0.667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003425/0.1425, allocations: 99.64 kB / 0.6671 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001588/0.1427, allocations: 99.78 kB / 0.6672 GB, free: 3.312 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.974e-05/0.1427, allocations: 8 kB / 0.6672 GB, free: 3.305 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001227/0.1429, allocations: 59.86 kB / 0.6673 GB, free: 3.246 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001564/0.143, allocations: 83.8 kB / 0.6674 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.943e-05/0.1431, allocations: 7.938 kB / 0.6674 GB, free: 3.156 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001427/0.1432, allocations: 75.92 kB / 0.6674 GB, free: 3.082 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.827e-05/0.1433, allocations: 23.92 kB / 0.6675 GB, free: 3.059 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.1433, allocations: 51.67 kB / 0.6675 GB, free: 3.008 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002252/0.1436, allocations: 147.7 kB / 0.6676 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.1436, allocations: 0 / 0.6676 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1436, allocations: 0 / 0.6676 GB, free: 2.863 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.355e-06/0.1436, allocations: 0 / 0.6676 GB, free: 2.863 MB / 0.4981 GB 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.0005563/0.1442, allocations: 448.4 kB / 0.6681 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.1442, allocations: 13.11 kB / 0.6681 GB, free: 2.359 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.452e-05/0.1442, allocations: 34.75 kB / 0.6681 GB, free: 2.316 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.985e-05/0.1443, allocations: 16.84 kB / 0.6681 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002459/0.1445, allocations: 217.4 kB / 0.6683 GB, free: 2.047 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.208e-05/0.1446, allocations: 8.375 kB / 0.6684 GB, free: 2.039 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.485e-05/0.1446, allocations: 4.375 kB / 0.6684 GB, free: 2.035 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001843/0.1448, allocations: 107.5 kB / 0.6685 GB, free: 1.918 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.073e-06/0.1448, allocations: 3.938 kB / 0.6685 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.1448, allocations: 0 / 0.6685 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.947e-06/0.1448, allocations: 0 / 0.6685 GB, free: 1.914 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001048/0.1449, allocations: 63.91 kB / 0.6685 GB, free: 1.852 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003849/0.1453, allocations: 301.7 kB / 0.6688 GB, free: 1.504 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001394/0.1455, allocations: 97.12 kB / 0.6689 GB, free: 1.391 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.908e-05/0.1456, allocations: 73.73 kB / 0.669 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.875e-05/0.1456, allocations: 0 / 0.669 GB, free: 1.312 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002044/0.1458, allocations: 154.8 kB / 0.6691 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.1458, allocations: 0 / 0.6691 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004566/0.1463, allocations: 303.2 kB / 0.6694 GB, free: 0.8281 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.373e-05/0.1464, allocations: 114.8 kB / 0.6695 GB, free: 0.6914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001883/0.1466, allocations: 199.1 kB / 0.6697 GB, free: 500 kB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.1466, allocations: 25.7 kB / 0.6697 GB, free: 468 kB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.443e-05/0.1467, allocations: 116.2 kB / 0.6698 GB, free: 348 kB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.669e-05/0.1467, allocations: 31.73 kB / 0.6699 GB, free: 316 kB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.1468, allocations: 21.72 kB / 0.6699 GB, free: 288 kB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001528/0.1469, allocations: 326.8 kB / 0.6702 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.29e-05/0.147, allocations: 55.97 kB / 0.6703 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.063e-05/0.1471, allocations: 65.69 kB / 0.6703 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001915/0.1473, allocations: 177.1 kB / 0.6705 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.1473, allocations: 0 / 0.6705 GB, free: 15.64 MB / 0.5137 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003075/0.1476, allocations: 243.1 kB / 0.6707 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 4.298e-05/0.1477, allocations: 47.34 kB / 0.6708 GB, free: 15.34 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.594e-05/0.1477, allocations: 4.062 kB / 0.6708 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1477, allocations: 7.938 kB / 0.6708 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.211e-05/0.1478, allocations: 4 kB / 0.6708 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1478, allocations: 4 kB / 0.6708 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.994e-05/0.1479, allocations: 0 / 0.6708 GB, free: 15.32 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.1479, allocations: 7.984 kB / 0.6708 GB, free: 15.31 MB / 0.5137 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.000148/0.148, allocations: 175.5 kB / 0.671 GB, free: 15.12 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.21e-05/0.1481, allocations: 23.89 kB / 0.671 GB, free: 15.1 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001413/0.1482, allocations: 67.11 kB / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.1482, allocations: 0 / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.1483, allocations: 0 / 0.671 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.113e-06/0.1483, allocations: 7.984 kB / 0.6711 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001931/0.1485, allocations: 221.5 kB / 0.6713 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.1485, allocations: 4 kB / 0.6713 GB, free: 14.75 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.23e-05/0.1485, allocations: 8 kB / 0.6713 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.1485, allocations: 3.938 kB / 0.6713 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.392e-05/0.1486, allocations: 4 kB / 0.6713 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1486, allocations: 0 / 0.6713 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.1486, allocations: 0 / 0.6713 GB, free: 14.73 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003795/0.149, allocations: 307.4 kB / 0.6716 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 8.323e-05/0.149, allocations: 109 kB / 0.6717 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.554e-05/0.1491, allocations: 0 / 0.6717 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.346e-05/0.1491, allocations: 4 kB / 0.6717 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.1492, allocations: 8 kB / 0.6717 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.071e-05/0.1492, allocations: 7.984 kB / 0.6717 GB, free: 14.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.0001304/0.1493, allocations: 153.1 kB / 0.6718 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1494, allocations: 0 / 0.6718 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002466/0.1496, allocations: 39.94 kB / 0.6719 GB, free: 14.07 MB / 0.5137 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.0007604/0.1504, allocations: 0.868 MB / 0.6727 GB, free: 13.17 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.000303/0.1507, allocations: 219.3 kB / 0.6729 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.1507, allocations: 0 / 0.6729 GB, free: 12.95 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001593/0.1509, allocations: 155.3 kB / 0.6731 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.1511, allocations: 13.88 kB / 0.6731 GB, free: 12.77 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002254/0.1533, allocations: 2.109 MB / 0.6752 GB, free: 10.55 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003385/0.1537, allocations: 0.7158 MB / 0.6759 GB, free: 9.809 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.701e-05/0.1537, allocations: 8.328 kB / 0.6759 GB, free: 9.801 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.879e-05/0.1538, allocations: 43.36 kB / 0.6759 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of SimCode: time 4.01e-07/0.1538, allocations: 0 / 0.6759 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0225/0.1763, allocations: 3.07 MB / 0.6789 GB, free: 6.832 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.761/7.937, allocations: 6.984 kB / 0.6789 GB, free: 6.828 MB / 0.5137 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)