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) 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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004517/0.004517, allocations: 99.34 kB / 15.73 MB, free: 6.008 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.001158/0.001158, allocations: 195.8 kB / 16.68 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.233/1.233, allocations: 222.9 MB / 240.4 MB, free: 4.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6999/0.6999, allocations: 132.2 MB / 422.7 MB, free: 1.715 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 68.16 kB / 0.5809 GB, free: 1.309 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.133, allocations: 80.19 MB / 0.6592 GB, free: 14.15 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002123/0.1351, allocations: 1.273 MB / 0.6604 GB, free: 12.87 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.137, allocations: 1.455 MB / 0.6619 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.154e-05/0.1371, allocations: 0 / 0.6619 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.759e-05/0.1371, allocations: 0 / 0.6619 GB, free: 11.41 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001626/0.1373, allocations: 11.94 kB / 0.6619 GB, free: 11.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005948/0.1379, allocations: 211.4 kB / 0.6621 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.027e-05/0.1379, allocations: 23.92 kB / 0.6621 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.09e-05/0.138, allocations: 4 kB / 0.6621 GB, free: 11.17 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 7.378e-05/0.1381, allocations: 23.91 kB / 0.6621 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 8.893e-05/0.1382, allocations: 7.938 kB / 0.6621 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.759e-06/0.1382, allocations: 0 / 0.6621 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002711/0.1385, allocations: 175.8 kB / 0.6623 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.48e-05/0.1385, allocations: 7.984 kB / 0.6623 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.288e-05/0.1385, allocations: 19.86 kB / 0.6623 GB, free: 10.94 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002268/0.1387, allocations: 143.9 kB / 0.6625 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.1387, allocations: 0 / 0.6625 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1388, allocations: 0 / 0.6625 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.957e-06/0.1388, allocations: 4 kB / 0.6625 GB, free: 10.79 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.0003242/0.1391, allocations: 367.1 kB / 0.6628 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.403e-05/0.1391, allocations: 12.03 kB / 0.6628 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.178e-05/0.1392, allocations: 110 kB / 0.6629 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.313e-05/0.1392, allocations: 76.22 kB / 0.663 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.1394, allocations: 243.7 kB / 0.6632 GB, free: 9.906 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.1394, allocations: 158.9 kB / 0.6634 GB, free: 9.75 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.164e-05/0.1395, allocations: 162.5 kB / 0.6635 GB, free: 9.59 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.648e-05/0.1395, allocations: 101 kB / 0.6636 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.1396, allocations: 79.28 kB / 0.6637 GB, free: 9.406 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.028e-05/0.1396, allocations: 150.6 kB / 0.6639 GB, free: 9.258 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.891e-05/0.1397, allocations: 154.5 kB / 0.664 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.849e-05/0.1397, allocations: 150.6 kB / 0.6642 GB, free: 8.957 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002439/0.1399, allocations: 461.8 kB / 0.6646 GB, free: 8.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.448e-05/0.14, allocations: 181.1 kB / 0.6648 GB, free: 8.27 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.016e-05/0.1401, allocations: 84.14 kB / 0.6648 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.24e-05/0.1401, allocations: 75.28 kB / 0.6649 GB, free: 8.109 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.1401, allocations: 105.8 kB / 0.665 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.1401, allocations: 0 / 0.665 GB, free: 7.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 7.549e-05/0.1402, allocations: 37.62 kB / 0.6651 GB, free: 7.953 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.1403, allocations: 130.7 kB / 0.6652 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.244e-05/0.1403, allocations: 105.8 kB / 0.6653 GB, free: 7.699 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1404, allocations: 25.7 kB / 0.6653 GB, free: 7.668 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.416e-05/0.1404, allocations: 88.12 kB / 0.6654 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.1404, allocations: 0 / 0.6654 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.357e-05/0.1405, allocations: 21.72 kB / 0.6654 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001011/0.1406, allocations: 310.8 kB / 0.6657 GB, free: 7.238 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.432e-05/0.1406, allocations: 7.984 kB / 0.6657 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.852e-05/0.1406, allocations: 26.58 kB / 0.6657 GB, free: 7.195 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.48e-05/0.1407, allocations: 22.52 kB / 0.6658 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.1407, allocations: 4 kB / 0.6658 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001136/0.1408, allocations: 57.56 kB / 0.6658 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/0.1408, allocations: 5.562 kB / 0.6658 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1408, allocations: 0 / 0.6658 GB, free: 7.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.275e-05/0.1408, allocations: 4 kB / 0.6658 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.349e-05/0.1409, allocations: 7.984 kB / 0.6658 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.1409, allocations: 0 / 0.6658 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001435/0.1411, allocations: 7.938 kB / 0.6658 GB, free: 7.074 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.1411, allocations: 4 kB / 0.6658 GB, free: 7.07 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 9.149e-05/0.1412, allocations: 197.1 kB / 0.666 GB, free: 6.867 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.894e-05/0.1412, allocations: 108.9 kB / 0.6661 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.981e-05/0.1413, allocations: 104.1 kB / 0.6662 GB, free: 6.641 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.206e-05/0.1413, allocations: 180.3 kB / 0.6664 GB, free: 6.457 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.933e-05/0.1414, allocations: 188.2 kB / 0.6666 GB, free: 6.266 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.462e-05/0.1415, allocations: 180.2 kB / 0.6668 GB, free: 6.082 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002042/0.1417, allocations: 409.1 kB / 0.6672 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.347e-05/0.1417, allocations: 104.9 kB / 0.6673 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.499e-05/0.1418, allocations: 112.9 kB / 0.6674 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.525e-05/0.1418, allocations: 176.5 kB / 0.6675 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.509e-05/0.1419, allocations: 176.3 kB / 0.6677 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.868e-05/0.1419, allocations: 196.2 kB / 0.6679 GB, free: 4.84 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.398e-05/0.142, allocations: 176.3 kB / 0.6681 GB, free: 4.66 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001344/0.1421, allocations: 315.6 kB / 0.6684 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.999e-05/0.1422, allocations: 182 kB / 0.6685 GB, free: 4.125 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.468e-05/0.1423, allocations: 180.3 kB / 0.6687 GB, free: 3.941 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.438e-05/0.1424, allocations: 109 kB / 0.6688 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.252e-05/0.1425, allocations: 184.2 kB / 0.669 GB, free: 3.641 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.713e-05/0.1425, allocations: 101 kB / 0.6691 GB, free: 3.535 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.09e-05/0.1425, allocations: 79.28 kB / 0.6692 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1425, allocations: 0 / 0.6692 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003359/0.1429, allocations: 55.8 kB / 0.6692 GB, free: 3.402 MB / 0.4981 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.0008274/0.1437, allocations: 0.969 MB / 0.6702 GB, free: 2.445 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.598e-05/0.1438, allocations: 12 kB / 0.6702 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.1438, allocations: 0 / 0.6702 GB, free: 2.434 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-06/0.1438, allocations: 7.875 kB / 0.6702 GB, free: 2.426 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003185/0.1442, allocations: 457.2 kB / 0.6706 GB, free: 1.977 MB / 0.4981 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.001006/0.1452, allocations: 1.352 MB / 0.6719 GB, free: 0.5352 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001948/0.1454, allocations: 0.6768 MB / 0.6726 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.273e-05/0.1454, allocations: 4 kB / 0.6726 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.299e-05/0.1454, allocations: 7.438 kB / 0.6726 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of SimCode: time 3.5e-07/0.1454, allocations: 0 / 0.6726 GB, free: 15.82 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3424/0.4879, allocations: 2.617 MB / 0.6752 GB, free: 13.39 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.786/7.274, allocations: 6.281 kB / 0.6752 GB, free: 13.38 MB / 0.5137 GB (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)