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.001202/0.001202, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.246/1.246, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.704/0.704, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 59.72 kB / 0.5019 GB, free: 8.656 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1276, allocations: 80.21 MB / 0.5802 GB, free: 8.664 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00212/0.1297, allocations: 1.269 MB / 0.5814 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001733/0.1315, allocations: 1.434 MB / 0.5828 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.537e-05/0.1315, allocations: 0 / 0.5828 GB, free: 5.941 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.1315, allocations: 3.984 kB / 0.5828 GB, free: 5.938 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001435/0.1317, allocations: 15.88 kB / 0.5829 GB, free: 5.922 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005251/0.1322, allocations: 222 kB / 0.5831 GB, free: 5.711 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.012e-05/0.1323, allocations: 27.91 kB / 0.5831 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.162e-05/0.1323, allocations: 0 / 0.5831 GB, free: 5.684 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.568e-05/0.1324, allocations: 19.92 kB / 0.5831 GB, free: 5.664 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.85e-05/0.1325, allocations: 23.86 kB / 0.5831 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.1325, allocations: 0 / 0.5831 GB, free: 5.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002233/0.1327, allocations: 147.8 kB / 0.5833 GB, free: 5.496 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.532e-05/0.1328, allocations: 7.984 kB / 0.5833 GB, free: 5.488 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.979e-05/0.1328, allocations: 4 kB / 0.5833 GB, free: 5.484 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.133, allocations: 151.8 kB / 0.5834 GB, free: 5.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.133, allocations: 0 / 0.5834 GB, free: 5.336 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.133, allocations: 0 / 0.5834 GB, free: 5.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.133, allocations: 0 / 0.5834 GB, free: 5.336 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0003309/0.1334, allocations: 375.6 kB / 0.5838 GB, free: 4.922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.94e-05/0.1334, allocations: 8.031 kB / 0.5838 GB, free: 4.914 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.565e-05/0.1335, allocations: 106 kB / 0.5839 GB, free: 4.801 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.149e-05/0.1335, allocations: 84.22 kB / 0.584 GB, free: 4.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.1337, allocations: 235.7 kB / 0.5842 GB, free: 4.449 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.128e-05/0.1337, allocations: 162.9 kB / 0.5844 GB, free: 4.289 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.564e-05/0.1338, allocations: 158.5 kB / 0.5845 GB, free: 4.133 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.877e-05/0.1338, allocations: 105 kB / 0.5846 GB, free: 4.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.312e-05/0.1339, allocations: 75.28 kB / 0.5847 GB, free: 3.949 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.584e-05/0.1339, allocations: 154.5 kB / 0.5848 GB, free: 3.797 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.723e-05/0.134, allocations: 150.6 kB / 0.585 GB, free: 3.648 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.011e-05/0.134, allocations: 150.6 kB / 0.5851 GB, free: 3.5 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002465/0.1343, allocations: 461.9 kB / 0.5856 GB, free: 3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.762e-05/0.1343, allocations: 169.1 kB / 0.5857 GB, free: 2.824 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.853e-05/0.1344, allocations: 88.14 kB / 0.5858 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.62e-05/0.1344, allocations: 79.28 kB / 0.5859 GB, free: 2.656 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.34e-05/0.1344, allocations: 109.8 kB / 0.586 GB, free: 2.539 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.01e-07/0.1344, allocations: 0 / 0.586 GB, free: 2.539 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.461e-05/0.1345, allocations: 29.64 kB / 0.586 GB, free: 2.504 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.014e-05/0.1346, allocations: 138.6 kB / 0.5861 GB, free: 2.355 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.914e-05/0.1347, allocations: 105.8 kB / 0.5862 GB, free: 2.242 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.871e-05/0.1347, allocations: 25.7 kB / 0.5863 GB, free: 2.211 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.299e-05/0.1347, allocations: 88.12 kB / 0.5864 GB, free: 2.121 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.723e-06/0.1347, allocations: 4 kB / 0.5864 GB, free: 2.117 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.288e-05/0.1348, allocations: 21.7 kB / 0.5864 GB, free: 2.09 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.947e-05/0.1349, allocations: 314.8 kB / 0.5867 GB, free: 1.773 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.014e-05/0.1349, allocations: 0 / 0.5867 GB, free: 1.773 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.149e-05/0.1349, allocations: 30.56 kB / 0.5867 GB, free: 1.734 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/0.135, allocations: 30.52 kB / 0.5867 GB, free: 1.695 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.135, allocations: 0 / 0.5867 GB, free: 1.695 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001069/0.1351, allocations: 49.56 kB / 0.5868 GB, free: 1.641 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.1351, allocations: 8 kB / 0.5868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.376e-06/0.1351, allocations: 0 / 0.5868 GB, free: 1.633 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.418e-06/0.1351, allocations: 3.938 kB / 0.5868 GB, free: 1.629 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.136e-05/0.1352, allocations: 4 kB / 0.5868 GB, free: 1.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.1352, allocations: 4 kB / 0.5868 GB, free: 1.621 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001432/0.1353, allocations: 16.08 kB / 0.5868 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.1354, allocations: 0 / 0.5868 GB, free: 1.605 MB / 494.1 MB 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 8.638e-05/0.1354, allocations: 193.7 kB / 0.587 GB, free: 1.406 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.297e-05/0.1355, allocations: 108.9 kB / 0.5871 GB, free: 1.293 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.465e-05/0.1356, allocations: 112.1 kB / 0.5872 GB, free: 1.172 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.132e-05/0.1356, allocations: 180.2 kB / 0.5874 GB, free: 0.9883 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.754e-05/0.1357, allocations: 180.3 kB / 0.5876 GB, free: 0.8047 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.225e-05/0.1357, allocations: 176.3 kB / 0.5877 GB, free: 0.625 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001983/0.1359, allocations: 413.1 kB / 0.5881 GB, free: 168 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.823e-05/0.136, allocations: 101 kB / 0.5882 GB, free: 60 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.721e-05/0.136, allocations: 113 kB / 0.5883 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.609e-05/0.1361, allocations: 184.4 kB / 0.5885 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.851e-05/0.1361, allocations: 176.3 kB / 0.5887 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.151e-05/0.1362, allocations: 180.2 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.418e-05/0.1362, allocations: 184.3 kB / 0.589 GB, free: 15.2 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001112/0.1364, allocations: 311.7 kB / 0.5893 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.281e-05/0.1364, allocations: 189.9 kB / 0.5895 GB, free: 14.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.489e-05/0.1365, allocations: 180.5 kB / 0.5897 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.511e-05/0.1366, allocations: 108.9 kB / 0.5898 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.383e-05/0.1366, allocations: 188.2 kB / 0.59 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.373e-05/0.1367, allocations: 101 kB / 0.59 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.593e-05/0.1367, allocations: 83.28 kB / 0.5901 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1367, allocations: 4 kB / 0.5901 GB, free: 13.98 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002968/0.137, allocations: 51.98 kB / 0.5902 GB, free: 13.93 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.0006729/0.1377, allocations: 0.9669 MB / 0.5911 GB, free: 12.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.755e-05/0.1378, allocations: 11.98 kB / 0.5911 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.1378, allocations: 0 / 0.5911 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.945e-06/0.1378, allocations: 3.938 kB / 0.5911 GB, free: 12.97 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003211/0.1381, allocations: 459.7 kB / 0.5916 GB, free: 12.52 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.000933/0.1391, allocations: 1.35 MB / 0.5929 GB, free: 11.08 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002005/0.1393, allocations: 0.669 MB / 0.5936 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.039e-05/0.1393, allocations: 4 kB / 0.5936 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.209e-05/0.1393, allocations: 15.42 kB / 0.5936 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1393, allocations: 0 / 0.5936 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3144/0.4538, allocations: 2.589 MB / 0.5961 GB, free: 7.945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.678/7.132, allocations: 4.438 kB / 0.5961 GB, free: 7.941 MB / 0.4981 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)