Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,fileNamePrefix="IDEAS_dev_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.0007842/0.0007843, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.004732/0.004732, allocations: 169.9 kB / 16.27 MB, free: 6.652 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.27/1.27, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8392/0.8392, allocations: 135.3 MB / 426.7 MB, free: 14.27 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000277/0.0002771, allocations: 8 kB / 0.5077 GB, free: 4.641 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1275/0.1278, allocations: 82.31 MB / 0.5881 GB, free: 2.496 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.001154/0.1289, allocations: 0.9901 MB / 0.5891 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001744/0.1307, allocations: 1.419 MB / 0.5904 GB, free: 68 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.349e-05/0.1307, allocations: 0 / 0.5904 GB, free: 68 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.043e-05/0.1307, allocations: 0 / 0.5904 GB, free: 68 kB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.1309, allocations: 8 kB / 0.5904 GB, free: 60 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004814/0.1314, allocations: 186.6 kB / 0.5906 GB, free: 15.88 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.594e-05/0.1314, allocations: 23.88 kB / 0.5906 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.037e-05/0.1315, allocations: 3.984 kB / 0.5906 GB, free: 15.85 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 6.632e-05/0.1315, allocations: 15.98 kB / 0.5907 GB, free: 15.84 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 9.841e-05/0.1316, allocations: 13.86 kB / 0.5907 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.867e-05/0.1317, allocations: 3.984 kB / 0.5907 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002022/0.1319, allocations: 143.8 kB / 0.5908 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 1.103e-05/0.1319, allocations: 8 kB / 0.5908 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.297e-05/0.1319, allocations: 41.67 kB / 0.5909 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002595/0.1322, allocations: 143.8 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.1322, allocations: 0 / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.222e-06/0.1322, allocations: 3.938 kB / 0.591 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.1322, allocations: 0 / 0.591 GB, free: 15.48 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.0003212/0.1325, allocations: 367.7 kB / 0.5914 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.275e-05/0.1326, allocations: 8.031 kB / 0.5914 GB, free: 15.07 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.995e-05/0.1326, allocations: 106 kB / 0.5915 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.28e-05/0.1327, allocations: 88.16 kB / 0.5916 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001329/0.1328, allocations: 239.7 kB / 0.5918 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.597e-05/0.1329, allocations: 154.9 kB / 0.5919 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.607e-05/0.133, allocations: 162.5 kB / 0.5921 GB, free: 14.28 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.637e-05/0.133, allocations: 101 kB / 0.5922 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.972e-05/0.133, allocations: 75.28 kB / 0.5922 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.398e-05/0.1331, allocations: 162.6 kB / 0.5924 GB, free: 13.94 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.716e-05/0.1331, allocations: 158.5 kB / 0.5926 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.882e-05/0.1332, allocations: 154.6 kB / 0.5927 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002445/0.1334, allocations: 449.9 kB / 0.5931 GB, free: 13.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 6.399e-05/0.1335, allocations: 173.1 kB / 0.5933 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.245e-05/0.1336, allocations: 80.14 kB / 0.5934 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.27e-05/0.1336, allocations: 79.22 kB / 0.5934 GB, free: 12.8 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.331e-05/0.1336, allocations: 109.8 kB / 0.5936 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.1336, allocations: 0 / 0.5936 GB, free: 12.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.106e-05/0.1337, allocations: 29.7 kB / 0.5936 GB, free: 12.65 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.467e-05/0.1338, allocations: 130.7 kB / 0.5937 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.778e-05/0.1338, allocations: 109.8 kB / 0.5938 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.591e-05/0.1339, allocations: 25.7 kB / 0.5938 GB, free: 12.36 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.095e-05/0.1339, allocations: 84.08 kB / 0.5939 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.462e-06/0.1339, allocations: 0 / 0.5939 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-05/0.1339, allocations: 17.72 kB / 0.5939 GB, free: 12.25 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.753e-05/0.134, allocations: 314.8 kB / 0.5942 GB, free: 11.94 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.108e-05/0.1341, allocations: 4 kB / 0.5942 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.864e-05/0.1341, allocations: 34.5 kB / 0.5943 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.164e-05/0.1341, allocations: 18.58 kB / 0.5943 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.1342, allocations: 4 kB / 0.5943 GB, free: 11.86 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001053/0.1343, allocations: 53.56 kB / 0.5943 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.578e-06/0.1343, allocations: 8.094 kB / 0.5944 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.717e-06/0.1343, allocations: 0 / 0.5944 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1343, allocations: 4 kB / 0.5944 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.201e-05/0.1344, allocations: 7.938 kB / 0.5944 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.138e-06/0.1344, allocations: 0 / 0.5944 GB, free: 11.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001353/0.1345, allocations: 7.984 kB / 0.5944 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.1345, allocations: 8 kB / 0.5944 GB, free: 11.77 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.253e-05/0.1346, allocations: 193 kB / 0.5946 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.515e-05/0.1347, allocations: 105 kB / 0.5947 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.778e-05/0.1347, allocations: 108 kB / 0.5948 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.626e-05/0.1348, allocations: 184.2 kB / 0.5949 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.322e-05/0.1349, allocations: 180.3 kB / 0.5951 GB, free: 10.97 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.901e-05/0.1349, allocations: 180.2 kB / 0.5953 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.1351, allocations: 413.2 kB / 0.5957 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.051e-05/0.1352, allocations: 108.9 kB / 0.5958 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.789e-05/0.1352, allocations: 101 kB / 0.5959 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.787e-05/0.1353, allocations: 180.3 kB / 0.5961 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.565e-05/0.1353, allocations: 184.2 kB / 0.5962 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.495e-05/0.1354, allocations: 180.2 kB / 0.5964 GB, free: 9.555 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.787e-05/0.1355, allocations: 184.4 kB / 0.5966 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001342/0.1356, allocations: 311.7 kB / 0.5969 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.765e-05/0.1357, allocations: 186 kB / 0.597 GB, free: 8.832 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.78e-05/0.1357, allocations: 180.3 kB / 0.5972 GB, free: 8.648 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.943e-05/0.1358, allocations: 113.2 kB / 0.5973 GB, free: 8.531 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.873e-05/0.1359, allocations: 176.3 kB / 0.5975 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.27e-05/0.1359, allocations: 108.9 kB / 0.5976 GB, free: 8.238 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.614e-05/0.136, allocations: 83.27 kB / 0.5977 GB, free: 8.156 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.4e-07/0.136, allocations: 3.938 kB / 0.5977 GB, free: 8.152 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002887/0.1363, allocations: 55.98 kB / 0.5977 GB, free: 8.098 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.0006981/0.137, allocations: 0.9662 MB / 0.5987 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.065e-05/0.137, allocations: 11.94 kB / 0.5987 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1371, allocations: 0 / 0.5987 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.1371, allocations: 0 / 0.5987 GB, free: 7.137 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000335/0.1374, allocations: 0.5245 MB / 0.5992 GB, free: 6.609 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.0009872/0.1384, allocations: 1.358 MB / 0.6005 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.1386, allocations: 0.6731 MB / 0.6012 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.088e-05/0.1387, allocations: 3.938 kB / 0.6012 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.433e-05/0.1387, allocations: 15.42 kB / 0.6012 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of SimCode: time 2.5e-07/0.1387, allocations: 0 / 0.6012 GB, free: 4.438 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4301/0.5688, allocations: 2.39 MB / 0.6035 GB, free: 2.246 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000309/0.5691, allocations: 265.3 kB / 0.6038 GB, free: 1.895 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.547/2.116, allocations: 0 / 0.6038 GB, free: 1.895 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_BoundaryConditions_WeatherData_BaseClasses_Examples_GetHeaderElement.fmu > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)