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: translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.00118/0.00118, 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.001367/0.001367, allocations: 194.7 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.441/1.441, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.947/0.947, allocations: 135.1 MB / 425.5 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001521/0.001521, allocations: 59.91 kB / 0.5053 GB, free: 5.328 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2344, allocations: 80.93 MB / 0.5844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002568/0.237, allocations: 1.258 MB / 0.5856 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002144/0.2392, allocations: 1.438 MB / 0.587 GB, free: 1.848 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.2392, allocations: 4 kB / 0.587 GB, free: 1.844 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.256e-05/0.2392, allocations: 3.938 kB / 0.587 GB, free: 1.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.2395, allocations: 15.94 kB / 0.587 GB, free: 1.824 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006214/0.2401, allocations: 213.7 kB / 0.5872 GB, free: 1.621 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.721e-05/0.2402, allocations: 27.88 kB / 0.5873 GB, free: 1.594 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.786e-05/0.2402, allocations: 3.984 kB / 0.5873 GB, free: 1.59 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.513e-05/0.2403, allocations: 15.98 kB / 0.5873 GB, free: 1.574 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001039/0.2404, allocations: 15.92 kB / 0.5873 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.177e-05/0.2404, allocations: 0 / 0.5873 GB, free: 1.559 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002309/0.2407, allocations: 147.8 kB / 0.5874 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.432e-05/0.2407, allocations: 7.938 kB / 0.5874 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.717e-05/0.2407, allocations: 11.97 kB / 0.5875 GB, free: 1.395 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002482/0.241, allocations: 151.7 kB / 0.5876 GB, free: 1.246 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.241, allocations: 0 / 0.5876 GB, free: 1.246 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.241, allocations: 0 / 0.5876 GB, free: 1.246 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.551e-06/0.241, allocations: 4 kB / 0.5876 GB, free: 1.242 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.0003755/0.2414, allocations: 371.6 kB / 0.588 GB, free: 0.832 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.6e-05/0.2414, allocations: 8.031 kB / 0.588 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.057e-05/0.2415, allocations: 80.22 kB / 0.588 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/0.2417, allocations: 239.7 kB / 0.5883 GB, free: 484 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.474e-05/0.2417, allocations: 158.9 kB / 0.5884 GB, free: 324 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.704e-05/0.2418, allocations: 166.7 kB / 0.5886 GB, free: 156 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.2419, allocations: 101 kB / 0.5887 GB, free: 48 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.803e-05/0.242, allocations: 79.28 kB / 0.5888 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.338e-05/0.242, allocations: 154.5 kB / 0.5889 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.873e-05/0.2421, allocations: 150.6 kB / 0.589 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.908e-05/0.2421, allocations: 150.6 kB / 0.5892 GB, free: 15.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002839/0.2424, allocations: 457.9 kB / 0.5896 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 7.984e-05/0.2425, allocations: 169.1 kB / 0.5898 GB, free: 14.85 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.162e-05/0.2425, allocations: 84.08 kB / 0.5899 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.2426, allocations: 79.22 kB / 0.5899 GB, free: 14.68 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.2426, allocations: 113.8 kB / 0.59 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.2426, allocations: 0 / 0.59 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of matching and sorting (n=0): time 6.964e-05/0.2427, allocations: 25.7 kB / 0.5901 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.911e-05/0.2428, allocations: 134.7 kB / 0.5902 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.132e-05/0.2429, allocations: 105.8 kB / 0.5903 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.534e-05/0.2429, allocations: 25.7 kB / 0.5903 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.54e-05/0.2429, allocations: 84.14 kB / 0.5904 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.036e-06/0.2429, allocations: 0 / 0.5904 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.529e-05/0.243, allocations: 29.64 kB / 0.5904 GB, free: 14.12 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.938e-05/0.2431, allocations: 314.8 kB / 0.5907 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.171e-05/0.2431, allocations: 0 / 0.5907 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.688e-05/0.2432, allocations: 34.5 kB / 0.5908 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.44e-05/0.2432, allocations: 22.58 kB / 0.5908 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.343e-06/0.2432, allocations: 0 / 0.5908 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001229/0.2433, allocations: 53.56 kB / 0.5908 GB, free: 13.67 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.446e-05/0.2434, allocations: 8 kB / 0.5908 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.219e-06/0.2434, allocations: 0 / 0.5908 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/0.2434, allocations: 3.938 kB / 0.5909 GB, free: 13.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.724e-05/0.2435, allocations: 7.938 kB / 0.5909 GB, free: 13.65 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.488e-06/0.2435, allocations: 7.984 kB / 0.5909 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001522/0.2436, allocations: 12.09 kB / 0.5909 GB, free: 13.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.417e-06/0.2437, allocations: 144 / 0.5909 GB, free: 13.63 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.000101/0.2438, allocations: 185.1 kB / 0.5911 GB, free: 13.44 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.926e-05/0.2438, allocations: 112.9 kB / 0.5912 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.788e-05/0.2439, allocations: 116 kB / 0.5913 GB, free: 13.2 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.964e-05/0.244, allocations: 176.3 kB / 0.5914 GB, free: 13.02 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.83e-05/0.244, allocations: 180.3 kB / 0.5916 GB, free: 12.84 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-05/0.2441, allocations: 180.2 kB / 0.5918 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002267/0.2443, allocations: 409.2 kB / 0.5922 GB, free: 12.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.34e-05/0.2444, allocations: 104.9 kB / 0.5923 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.2444, allocations: 105.2 kB / 0.5924 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.155e-05/0.2445, allocations: 188.2 kB / 0.5926 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.352e-05/0.2446, allocations: 184.3 kB / 0.5927 GB, free: 11.6 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.812e-05/0.2446, allocations: 176.3 kB / 0.5929 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.75e-05/0.2447, allocations: 184.2 kB / 0.5931 GB, free: 11.23 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001267/0.2448, allocations: 307.7 kB / 0.5934 GB, free: 10.91 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.419e-05/0.2449, allocations: 190 kB / 0.5936 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.3e-05/0.245, allocations: 180.3 kB / 0.5937 GB, free: 10.52 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.213e-05/0.2451, allocations: 104.9 kB / 0.5938 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.227e-05/0.2451, allocations: 184.2 kB / 0.594 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.907e-05/0.2452, allocations: 104.9 kB / 0.5941 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.078e-05/0.2452, allocations: 83.28 kB / 0.5942 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2452, allocations: 4 kB / 0.5942 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003078/0.2455, allocations: 55.86 kB / 0.5942 GB, free: 9.969 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.0005374/0.2461, allocations: 337.8 kB / 0.5946 GB, free: 9.672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 8.547e-05/0.2462, allocations: 4 kB / 0.5946 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2462, allocations: 7.938 kB / 0.5946 GB, free: 9.66 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.635e-06/0.2462, allocations: 3.938 kB / 0.5946 GB, free: 9.656 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003438/0.2466, allocations: 469.5 kB / 0.595 GB, free: 9.195 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002615/0.2468, allocations: 168.3 kB / 0.5952 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.2471, allocations: 0.6768 MB / 0.5958 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.672e-05/0.2472, allocations: 0 / 0.5958 GB, free: 8.305 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.2472, allocations: 15.44 kB / 0.5959 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of SimCode: time 2.545e-06/0.2472, allocations: 0 / 0.5959 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of Templates: time 0.004474/0.2517, allocations: 1.616 MB / 0.5974 GB, free: 6.688 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (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 & ./IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)