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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001507/0.001507, allocations: 106.6 kB / 16.4 MB, free: 6.031 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001511/0.001511, allocations: 191.7 kB / 19.35 MB, free: 3.602 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.323/1.323, allocations: 222.9 MB / 245.1 MB, free: 15 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7825/0.7825, allocations: 132.2 MB / 429.4 MB, free: 6.078 MB / 334.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002509/0.002509, allocations: 71.19 kB / 0.5894 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1342/0.1367, allocations: 80.21 MB / 0.6677 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination): time 0.002516/0.1392, allocations: 1.485 MB / 0.6691 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0009347/0.1402, allocations: 0.5882 MB / 0.6697 GB, free: 7.746 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.326e-05/0.1402, allocations: 4 kB / 0.6697 GB, free: 7.742 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001393/0.1404, allocations: 71.83 kB / 0.6698 GB, free: 7.672 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001619/0.1406, allocations: 79.75 kB / 0.6699 GB, free: 7.594 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003139/0.1409, allocations: 95.77 kB / 0.67 GB, free: 7.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001524/0.1411, allocations: 99.8 kB / 0.67 GB, free: 7.402 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 6.848e-05/0.1411, allocations: 7.984 kB / 0.6701 GB, free: 7.395 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001135/0.1413, allocations: 55.81 kB / 0.6701 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1414, allocations: 91.78 kB / 0.6702 GB, free: 7.25 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.844e-05/0.1414, allocations: 4 kB / 0.6702 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001471/0.1416, allocations: 87.91 kB / 0.6703 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.831e-05/0.1416, allocations: 23.92 kB / 0.6703 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.034e-05/0.1417, allocations: 47.67 kB / 0.6704 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002022/0.1419, allocations: 139.6 kB / 0.6705 GB, free: 6.953 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.782e-06/0.1419, allocations: 3.984 kB / 0.6705 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.153e-06/0.1419, allocations: 0 / 0.6705 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.1419, allocations: 4 kB / 0.6705 GB, free: 6.945 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.0005181/0.1425, allocations: 452.4 kB / 0.6709 GB, free: 6.449 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.1425, allocations: 12.03 kB / 0.6709 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.498e-05/0.1425, allocations: 38.75 kB / 0.671 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.464e-05/0.1426, allocations: 12.89 kB / 0.671 GB, free: 6.379 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002132/0.1428, allocations: 204.9 kB / 0.6712 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.1428, allocations: 384 / 0.6712 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.308e-05/0.1428, allocations: 8.312 kB / 0.6712 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/0.143, allocations: 111.4 kB / 0.6713 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.1431, allocations: 4 kB / 0.6713 GB, free: 6.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.1431, allocations: 3.984 kB / 0.6713 GB, free: 6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.1431, allocations: 4 kB / 0.6713 GB, free: 5.996 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.872e-05/0.1432, allocations: 63.95 kB / 0.6714 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003742/0.1436, allocations: 301.6 kB / 0.6717 GB, free: 5.586 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.1437, allocations: 97.12 kB / 0.6717 GB, free: 5.473 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.664e-05/0.1438, allocations: 77.73 kB / 0.6718 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.777e-05/0.1438, allocations: 0 / 0.6718 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002006/0.144, allocations: 154.7 kB / 0.672 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=10): time 1.132e-06/0.144, allocations: 0 / 0.672 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of matching and sorting (n=10): time 0.0004433/0.1445, allocations: 303.1 kB / 0.6723 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.72e-05/0.1446, allocations: 106.9 kB / 0.6724 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001874/0.1448, allocations: 207.1 kB / 0.6726 GB, free: 4.566 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.904e-05/0.1448, allocations: 25.7 kB / 0.6726 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 7.46e-05/0.1449, allocations: 112.1 kB / 0.6727 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.471e-05/0.1449, allocations: 31.88 kB / 0.6727 GB, free: 4.391 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.943e-05/0.145, allocations: 25.72 kB / 0.6727 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.1451, allocations: 326.8 kB / 0.6731 GB, free: 4.031 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.963e-05/0.1452, allocations: 55.97 kB / 0.6731 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.1453, allocations: 68 kB / 0.6732 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001819/0.1455, allocations: 177 kB / 0.6733 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.1455, allocations: 0 / 0.6733 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002938/0.1458, allocations: 251 kB / 0.6736 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.02e-05/0.1458, allocations: 41.69 kB / 0.6736 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.1458, allocations: 0 / 0.6736 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.089e-05/0.1459, allocations: 0 / 0.6736 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.96e-05/0.1459, allocations: 12.03 kB / 0.6736 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.448e-06/0.146, allocations: 64 / 0.6736 GB, free: 3.398 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.579e-05/0.146, allocations: 8 kB / 0.6736 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.248e-05/0.146, allocations: 4 kB / 0.6736 GB, free: 3.387 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.0001455/0.1462, allocations: 179.4 kB / 0.6738 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.788e-05/0.1462, allocations: 15.91 kB / 0.6738 GB, free: 3.18 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000143/0.1464, allocations: 71.02 kB / 0.6739 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.1464, allocations: 7.938 kB / 0.6739 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1464, allocations: 0 / 0.6739 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.1464, allocations: 0 / 0.6739 GB, free: 3.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001893/0.1466, allocations: 221.5 kB / 0.6741 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1466, allocations: 0 / 0.6741 GB, free: 2.824 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.257e-05/0.1466, allocations: 8 kB / 0.6741 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.787e-06/0.1467, allocations: 0 / 0.6741 GB, free: 2.816 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.1467, allocations: 7.938 kB / 0.6741 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.1467, allocations: 0 / 0.6741 GB, free: 2.809 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1467, allocations: 4 kB / 0.6741 GB, free: 2.805 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003583/0.1471, allocations: 299.7 kB / 0.6744 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 8.204e-05/0.1471, allocations: 105 kB / 0.6745 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.903e-05/0.1472, allocations: 7.984 kB / 0.6745 GB, free: 2.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.467e-05/0.1472, allocations: 4 kB / 0.6745 GB, free: 2.352 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.855e-05/0.1473, allocations: 8 kB / 0.6745 GB, free: 2.344 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.749e-05/0.1473, allocations: 7.984 kB / 0.6745 GB, free: 2.336 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001221/0.1474, allocations: 148.1 kB / 0.6747 GB, free: 2.191 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.893e-06/0.1474, allocations: 4 kB / 0.6747 GB, free: 2.188 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002588/0.1477, allocations: 43.88 kB / 0.6747 GB, free: 2.145 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.0007107/0.1484, allocations: 0.8646 MB / 0.6756 GB, free: 1.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.000284/0.1487, allocations: 223.3 kB / 0.6758 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.1487, allocations: 0 / 0.6758 GB, free: 1.012 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001458/0.1489, allocations: 147.4 kB / 0.6759 GB, free: 0.8555 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000186/0.1491, allocations: 19.92 kB / 0.676 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002137/0.1512, allocations: 2.098 MB / 0.678 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/0.1515, allocations: 0.7196 MB / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.565e-05/0.1516, allocations: 3.984 kB / 0.6787 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.398e-05/0.1516, allocations: 39.42 kB / 0.6787 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1516, allocations: 0 / 0.6787 GB, free: 13.85 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02346/0.1751, allocations: 3.061 MB / 0.6817 GB, free: 10.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.307/7.482, allocations: 14.39 kB / 0.6817 GB, free: 10.93 MB / 0.5137 GB " [Timeout remaining time 652] (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 & python3 -m fmpy simulate --output-file IDEAS_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_IDEAS_BoundaryConditions_SolarGeometry_BaseClasses_Examples_Declination.fmu > IDEAS_IDEAS.BoundaryConditions.SolarGeometry.BaseClasses.Examples.Declination.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.769953201990575] Failed to read output from testmodel.py, exit status != 0: 7.549031723989174 7.572306947 7.426490046 Calling exit ...