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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001025/0.001025, allocations: 97.64 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.009587/0.009587, allocations: 170.1 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.422/1.422, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7568/0.7568, allocations: 132.4 MB / 423.8 MB, free: 1.961 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004323/0.0004322, allocations: 12 kB / 0.504 GB, free: 3.926 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4857/0.4862, allocations: 81.59 MB / 0.5837 GB, free: 4.07 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.00165/0.4879, allocations: 1.002 MB / 0.5847 GB, free: 3.328 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002245/0.4902, allocations: 1.419 MB / 0.586 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.163e-05/0.4902, allocations: 0 / 0.586 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.538e-05/0.4903, allocations: 0 / 0.586 GB, free: 2.34 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002085/0.4905, allocations: 17.03 kB / 0.5861 GB, free: 2.328 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007956/0.4913, allocations: 186.2 kB / 0.5862 GB, free: 2.238 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 7.687e-05/0.4914, allocations: 26.73 kB / 0.5863 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.765e-05/0.4915, allocations: 1.594 kB / 0.5863 GB, free: 2.227 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.4916, allocations: 22.08 kB / 0.5863 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001208/0.4917, allocations: 7.312 kB / 0.5863 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.66e-05/0.4917, allocations: 1.094 kB / 0.5863 GB, free: 2.215 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004015/0.4921, allocations: 151.4 kB / 0.5864 GB, free: 2.164 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.34e-05/0.4922, allocations: 5.953 kB / 0.5864 GB, free: 2.16 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.025e-05/0.4922, allocations: 31.52 kB / 0.5865 GB, free: 2.129 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003554/0.4926, allocations: 143.8 kB / 0.5866 GB, free: 2.082 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.4926, allocations: 3.938 kB / 0.5866 GB, free: 2.078 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.904e-06/0.4926, allocations: 0 / 0.5866 GB, free: 2.078 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.24e-06/0.4926, allocations: 4.906 kB / 0.5866 GB, free: 2.074 MB / 430.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.0003576/0.493, allocations: 366.9 kB / 0.587 GB, free: 1.691 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.493, allocations: 8.781 kB / 0.587 GB, free: 1.691 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.425e-05/0.4931, allocations: 78.5 kB / 0.5871 GB, free: 1.617 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001194/0.4932, allocations: 243.8 kB / 0.5873 GB, free: 1.344 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.376e-05/0.4932, allocations: 155.6 kB / 0.5874 GB, free: 1.191 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.8e-05/0.4933, allocations: 161.6 kB / 0.5876 GB, free: 1.035 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.619e-05/0.4933, allocations: 106.4 kB / 0.5877 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.641e-05/0.4933, allocations: 75.28 kB / 0.5878 GB, free: 0.8516 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.064e-05/0.4934, allocations: 150.6 kB / 0.5879 GB, free: 0.7031 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.666e-05/0.4934, allocations: 152.6 kB / 0.588 GB, free: 0.5547 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.729e-05/0.4934, allocations: 150.6 kB / 0.5882 GB, free: 416 kB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002557/0.4937, allocations: 462.9 kB / 0.5886 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.734e-05/0.4938, allocations: 170.5 kB / 0.5888 GB, free: 15.74 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.305e-05/0.4939, allocations: 84.83 kB / 0.5889 GB, free: 15.65 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.922e-05/0.4939, allocations: 76 kB / 0.5889 GB, free: 15.58 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.712e-05/0.4939, allocations: 111.3 kB / 0.5891 GB, free: 15.46 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 1.002e-06/0.4939, allocations: 0 / 0.5891 GB, free: 15.46 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 8.191e-05/0.494, allocations: 29.05 kB / 0.5891 GB, free: 15.43 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.382e-05/0.4941, allocations: 130.6 kB / 0.5892 GB, free: 15.29 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.4942, allocations: 112.4 kB / 0.5893 GB, free: 15.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.4942, allocations: 26.86 kB / 0.5893 GB, free: 15.15 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.245e-05/0.4943, allocations: 81.66 kB / 0.5894 GB, free: 15.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.286e-06/0.4943, allocations: 4 kB / 0.5894 GB, free: 15.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.764e-05/0.4943, allocations: 16.11 kB / 0.5894 GB, free: 15.04 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 9.587e-05/0.4944, allocations: 316.4 kB / 0.5897 GB, free: 14.73 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.4944, allocations: 3.797 kB / 0.5897 GB, free: 14.73 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.536e-05/0.4945, allocations: 22.5 kB / 0.5898 GB, free: 14.7 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.088e-05/0.4946, allocations: 37.16 kB / 0.5898 GB, free: 14.66 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4946, allocations: 1.469 kB / 0.5898 GB, free: 14.66 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001424/0.4947, allocations: 52.52 kB / 0.5899 GB, free: 14.62 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.865e-05/0.4947, allocations: 5.875 kB / 0.5899 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.171e-06/0.4947, allocations: 0.875 kB / 0.5899 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.513e-05/0.4948, allocations: 1.25 kB / 0.5899 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.173e-05/0.4948, allocations: 5.312 kB / 0.5899 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.932e-06/0.4949, allocations: 2.484 kB / 0.5899 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001556/0.495, allocations: 9.891 kB / 0.5899 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.288e-05/0.495, allocations: 3.25 kB / 0.5899 GB, free: 14.62 MB / 446.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 0.0001203/0.4952, allocations: 188.9 kB / 0.5901 GB, free: 14.43 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.953e-05/0.4952, allocations: 110.5 kB / 0.5902 GB, free: 14.31 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.704e-05/0.4953, allocations: 114.1 kB / 0.5903 GB, free: 14.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.174e-05/0.4954, allocations: 177.9 kB / 0.5904 GB, free: 14.02 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.834e-05/0.4954, allocations: 186.6 kB / 0.5906 GB, free: 13.83 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.566e-05/0.4955, allocations: 177.6 kB / 0.5908 GB, free: 13.65 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.4957, allocations: 411.1 kB / 0.5912 GB, free: 13.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.823e-05/0.4958, allocations: 102.4 kB / 0.5913 GB, free: 13.09 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.614e-05/0.4958, allocations: 102.7 kB / 0.5914 GB, free: 12.98 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-05/0.4959, allocations: 181.5 kB / 0.5916 GB, free: 12.8 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.899e-05/0.496, allocations: 190.7 kB / 0.5917 GB, free: 12.61 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.16e-05/0.4961, allocations: 181.8 kB / 0.5919 GB, free: 12.43 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.294e-05/0.4961, allocations: 177.8 kB / 0.5921 GB, free: 12.25 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001325/0.4963, allocations: 313.5 kB / 0.5924 GB, free: 11.92 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-05/0.4963, allocations: 184.6 kB / 0.5926 GB, free: 11.72 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.114e-05/0.4964, allocations: 187.2 kB / 0.5927 GB, free: 11.53 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.521e-05/0.4965, allocations: 101.8 kB / 0.5928 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.4966, allocations: 182.2 kB / 0.593 GB, free: 11.24 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.161e-05/0.4966, allocations: 102.7 kB / 0.5931 GB, free: 11.14 MB / 446.1 MB Notification: Performance of sorting global known variables: time 5.204e-05/0.4967, allocations: 86.25 kB / 0.5932 GB, free: 11.06 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4967, allocations: 4 kB / 0.5932 GB, free: 11.05 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0003925/0.4971, allocations: 54.22 kB / 0.5932 GB, free: 11.04 MB / 446.1 MB 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.0007324/0.4978, allocations: 342 kB / 0.5936 GB, free: 10.84 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0001007/0.4979, allocations: 16.77 kB / 0.5936 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.4979, allocations: 0 / 0.5936 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 2.285e-06/0.4979, allocations: 0.5 kB / 0.5936 GB, free: 10.83 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.4983, allocations: 0.5252 MB / 0.5941 GB, free: 10.3 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002792/0.4986, allocations: 179.2 kB / 0.5943 GB, free: 10.11 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.4988, allocations: 0.6739 MB / 0.5949 GB, free: 9.418 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.145e-05/0.4989, allocations: 6.109 kB / 0.5949 GB, free: 9.414 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.004e-05/0.4989, allocations: 12.81 kB / 0.5949 GB, free: 9.402 MB / 446.1 MB Notification: Performance of SimCode: time 1.824e-06/0.4989, allocations: 0 / 0.5949 GB, free: 9.402 MB / 446.1 MB Notification: Performance of Templates: time 0.005765/0.5047, allocations: 1.584 MB / 0.5965 GB, free: 9.242 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (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 & ./IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)