Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.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.001353/0.001353, allocations: 109.9 kB / 16.41 MB, free: 6.496 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.001249/0.001249, allocations: 191.7 kB / 19.35 MB, free: 3.734 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.325/1.325, allocations: 222.9 MB / 245.1 MB, free: 15.02 MB / 206.1 MB " [Timeout remaining time 179] 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.8067/0.8067, allocations: 132.2 MB / 429.4 MB, free: 6 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.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 70.31 kB / 0.5894 GB, free: 24.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1266/0.1284, allocations: 80.21 MB / 0.6677 GB, free: 9.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002328/0.1308, allocations: 1.267 MB / 0.669 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002002/0.1328, allocations: 1.452 MB / 0.6704 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.1329, allocations: 0 / 0.6704 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.774e-05/0.1329, allocations: 0 / 0.6704 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001546/0.133, allocations: 11.94 kB / 0.6704 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005627/0.1336, allocations: 224.5 kB / 0.6706 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 5.993e-05/0.1337, allocations: 23.92 kB / 0.6706 GB, free: 6.84 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.416e-05/0.1337, allocations: 3.984 kB / 0.6706 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.823e-05/0.1338, allocations: 15.94 kB / 0.6706 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.987e-05/0.1339, allocations: 19.97 kB / 0.6707 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.08e-05/0.1339, allocations: 0 / 0.6707 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002929/0.1342, allocations: 163.8 kB / 0.6708 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.1342, allocations: 3.984 kB / 0.6708 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.1343, allocations: 11.92 kB / 0.6708 GB, free: 6.625 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.000239/0.1345, allocations: 155.8 kB / 0.671 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.427e-06/0.1345, allocations: 0 / 0.671 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.233e-06/0.1345, allocations: 0 / 0.671 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.007e-06/0.1345, allocations: 0 / 0.671 GB, free: 6.473 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003827/0.1349, allocations: 371.1 kB / 0.6713 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.135, allocations: 8.031 kB / 0.6713 GB, free: 6.055 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.885e-05/0.135, allocations: 110 kB / 0.6714 GB, free: 5.938 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.105e-05/0.1351, allocations: 80.22 kB / 0.6715 GB, free: 5.859 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/0.1353, allocations: 247.5 kB / 0.6718 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.849e-05/0.1354, allocations: 154.9 kB / 0.6719 GB, free: 5.426 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.854e-05/0.1354, allocations: 154.5 kB / 0.6721 GB, free: 5.273 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.04e-05/0.1355, allocations: 105 kB / 0.6722 GB, free: 5.164 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.429e-05/0.1356, allocations: 79.28 kB / 0.6722 GB, free: 5.086 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.85e-05/0.1356, allocations: 158.5 kB / 0.6724 GB, free: 4.93 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.536e-05/0.1357, allocations: 150.6 kB / 0.6725 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.248e-05/0.1358, allocations: 154.6 kB / 0.6727 GB, free: 4.629 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003127/0.1361, allocations: 453.9 kB / 0.6731 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.1362, allocations: 173.1 kB / 0.6733 GB, free: 3.957 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.718e-05/0.1362, allocations: 80.14 kB / 0.6733 GB, free: 3.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.666e-05/0.1363, allocations: 83.22 kB / 0.6734 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.292e-05/0.1363, allocations: 113.8 kB / 0.6735 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.1363, allocations: 0 / 0.6735 GB, free: 3.672 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.234e-05/0.1364, allocations: 29.69 kB / 0.6736 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.7e-05/0.1365, allocations: 126.7 kB / 0.6737 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.899e-05/0.1366, allocations: 101.9 kB / 0.6738 GB, free: 3.391 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.822e-05/0.1366, allocations: 25.7 kB / 0.6738 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.496e-05/0.1367, allocations: 104 kB / 0.6739 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.843e-06/0.1367, allocations: 0 / 0.6739 GB, free: 3.254 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.298e-05/0.1367, allocations: 17.72 kB / 0.6739 GB, free: 3.23 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.1369, allocations: 314.8 kB / 0.6742 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.86e-05/0.1369, allocations: 7.984 kB / 0.6742 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.383e-05/0.1369, allocations: 26.52 kB / 0.6743 GB, free: 2.871 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.693e-05/0.137, allocations: 26.58 kB / 0.6743 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.137, allocations: 0 / 0.6743 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001143/0.1371, allocations: 53.56 kB / 0.6743 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.1371, allocations: 10.5 kB / 0.6743 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.656e-06/0.1371, allocations: 0 / 0.6743 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.1372, allocations: 0 / 0.6743 GB, free: 2.77 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.1372, allocations: 11.92 kB / 0.6744 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.1372, allocations: 4.25 kB / 0.6744 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.1374, allocations: 4.094 kB / 0.6744 GB, free: 2.75 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.06e-05/0.1374, allocations: 8 kB / 0.6744 GB, free: 2.742 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * 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.0001158/0.1375, allocations: 197 kB / 0.6746 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.966e-05/0.1376, allocations: 104.9 kB / 0.6747 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.721e-05/0.1377, allocations: 112.2 kB / 0.6748 GB, free: 2.309 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.114e-05/0.1377, allocations: 180.2 kB / 0.6749 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.062e-05/0.1378, allocations: 184.2 kB / 0.6751 GB, free: 1.938 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.86e-05/0.1379, allocations: 180.2 kB / 0.6753 GB, free: 1.754 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002665/0.1382, allocations: 405.2 kB / 0.6757 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.237e-05/0.1382, allocations: 108.9 kB / 0.6758 GB, free: 1.188 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.47e-05/0.1383, allocations: 101 kB / 0.6759 GB, free: 1.082 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.588e-05/0.1384, allocations: 184.2 kB / 0.676 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.125e-05/0.1384, allocations: 184.3 kB / 0.6762 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.425e-05/0.1385, allocations: 180.3 kB / 0.6764 GB, free: 0.5234 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.441e-05/0.1386, allocations: 180.2 kB / 0.6766 GB, free: 348 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.1387, allocations: 311.7 kB / 0.6769 GB, free: 12 kB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001016/0.1389, allocations: 190 kB / 0.677 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.23e-05/0.1389, allocations: 176.3 kB / 0.6772 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.878e-05/0.139, allocations: 108.9 kB / 0.6773 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.827e-05/0.1391, allocations: 176.3 kB / 0.6775 GB, free: 15.33 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.444e-05/0.1392, allocations: 108.9 kB / 0.6776 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.734e-05/0.1392, allocations: 83.28 kB / 0.6777 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1393, allocations: 4 kB / 0.6777 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0003134/0.1396, allocations: 55.8 kB / 0.6777 GB, free: 15.07 MB / 0.5137 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * 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.0008892/0.1405, allocations: 0.9704 MB / 0.6787 GB, free: 14.12 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 8.293e-05/0.1406, allocations: 15.94 kB / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1406, allocations: 0 / 0.6787 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 4.869e-06/0.1406, allocations: 4 kB / 0.6787 GB, free: 14.1 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003598/0.1409, allocations: 458.3 kB / 0.6791 GB, free: 13.65 MB / 0.5137 GB Warning: Could not resolve URI (uri) at compile-time; copying all loaded packages into the FMU Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001123/0.1421, allocations: 1.349 MB / 0.6804 GB, free: 12.21 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002809/0.1424, allocations: 0.6844 MB / 0.6811 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.087e-05/0.1424, allocations: 0 / 0.6811 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.33e-05/0.1424, allocations: 11.44 kB / 0.6811 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of SimCode: time 2.2e-07/0.1424, allocations: 0 / 0.6811 GB, free: 11.49 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5628/0.7052, allocations: 2.615 MB / 0.6837 GB, free: 9.055 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.394/8.099, allocations: 9.031 kB / 0.6837 GB, free: 9.055 MB / 0.5137 GB " [Timeout remaining time 644] (rm -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IDEAS_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 21.620649259071797] Failed to read output from testmodel.py, exit status != 0: 16.37004102091305 16.392332323 16.254449969 Calling exit ...