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.001276/0.001276, allocations: 108 kB / 15.61 MB, free: 152 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.001416/0.001416, allocations: 195.2 kB / 16.53 MB, free: 6.664 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.206/1.206, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6927/0.6927, allocations: 132.2 MB / 422.6 MB, free: 1.754 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001135/0.001136, allocations: 64.09 kB / 0.5018 GB, free: 3.836 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3314/0.3325, allocations: 80.2 MB / 0.5801 GB, free: 4.539 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002203/0.3348, allocations: 1.273 MB / 0.5813 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.001605/0.3364, allocations: 1.451 MB / 0.5828 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.3364, allocations: 1.219 kB / 0.5828 GB, free: 2.633 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.681e-05/0.3365, allocations: 4.688 kB / 0.5828 GB, free: 2.629 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001505/0.3366, allocations: 8.484 kB / 0.5828 GB, free: 2.625 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004844/0.3371, allocations: 217.7 kB / 0.583 GB, free: 2.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.751e-05/0.3372, allocations: 26.62 kB / 0.583 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.448e-05/0.3372, allocations: 2.562 kB / 0.583 GB, free: 2.512 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.28e-05/0.3373, allocations: 15.81 kB / 0.583 GB, free: 2.508 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.216e-05/0.3374, allocations: 14.12 kB / 0.583 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.3374, allocations: 1.5 kB / 0.583 GB, free: 2.5 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002213/0.3376, allocations: 148.6 kB / 0.5832 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.192e-05/0.3377, allocations: 2.281 kB / 0.5832 GB, free: 2.453 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.3377, allocations: 14.91 kB / 0.5832 GB, free: 2.445 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002185/0.3379, allocations: 150 kB / 0.5833 GB, free: 2.391 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.3379, allocations: 0 / 0.5833 GB, free: 2.391 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.3379, allocations: 1.25 kB / 0.5833 GB, free: 2.391 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.057e-06/0.3379, allocations: 0 / 0.5833 GB, free: 2.391 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.000251/0.3382, allocations: 368.4 kB / 0.5837 GB, free: 2.012 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.08e-05/0.3382, allocations: 8.594 kB / 0.5837 GB, free: 2.012 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.518e-05/0.3383, allocations: 79.25 kB / 0.5838 GB, free: 1.938 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.496e-05/0.3384, allocations: 247.6 kB / 0.584 GB, free: 1.66 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.365e-05/0.3384, allocations: 156.1 kB / 0.5842 GB, free: 1.508 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.483e-05/0.3384, allocations: 157.1 kB / 0.5843 GB, free: 1.355 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 3.334e-05/0.3385, allocations: 101.7 kB / 0.5844 GB, free: 1.25 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.3385, allocations: 75.89 kB / 0.5845 GB, free: 1.176 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.034e-05/0.3385, allocations: 155.4 kB / 0.5846 GB, free: 1.023 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.83e-05/0.3385, allocations: 158.6 kB / 0.5848 GB, free: 0.8672 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.943e-05/0.3385, allocations: 152.1 kB / 0.5849 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001647/0.3387, allocations: 458.9 kB / 0.5854 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.566e-05/0.3387, allocations: 170 kB / 0.5855 GB, free: 56 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.842e-05/0.3388, allocations: 86.09 kB / 0.5856 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.258e-05/0.3388, allocations: 79.22 kB / 0.5857 GB, free: 15.89 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.169e-05/0.3389, allocations: 111.6 kB / 0.5858 GB, free: 15.77 MB / 446.1 MB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3389, allocations: 0 / 0.5858 GB, free: 15.77 MB / 446.1 MB Notification: Performance of matching and sorting (n=0): time 6.507e-05/0.339, allocations: 31.8 kB / 0.5858 GB, free: 15.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.531e-05/0.339, allocations: 127.9 kB / 0.5859 GB, free: 15.6 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.006e-05/0.3391, allocations: 107.2 kB / 0.586 GB, free: 15.5 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.3391, allocations: 30.61 kB / 0.5861 GB, free: 15.46 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.248e-05/0.3392, allocations: 82.47 kB / 0.5861 GB, free: 15.38 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.764e-06/0.3392, allocations: 0 / 0.5861 GB, free: 15.38 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.448e-05/0.3392, allocations: 22.36 kB / 0.5862 GB, free: 15.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001006/0.3393, allocations: 316.8 kB / 0.5865 GB, free: 15.04 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.457e-05/0.3393, allocations: 6.672 kB / 0.5865 GB, free: 15.04 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.089e-05/0.3394, allocations: 27.78 kB / 0.5865 GB, free: 15.01 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.427e-05/0.3394, allocations: 28.42 kB / 0.5865 GB, free: 14.98 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.222e-06/0.3394, allocations: 0.8125 kB / 0.5865 GB, free: 14.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001108/0.3395, allocations: 53.64 kB / 0.5866 GB, free: 14.94 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.3395, allocations: 5.109 kB / 0.5866 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.3396, allocations: 1.375 kB / 0.5866 GB, free: 14.94 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3396, allocations: 5.438 kB / 0.5866 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.586e-05/0.3396, allocations: 10.58 kB / 0.5866 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.3396, allocations: 0.7969 kB / 0.5866 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001324/0.3398, allocations: 5.656 kB / 0.5866 GB, free: 14.93 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.028e-05/0.3398, allocations: 3.594 kB / 0.5866 GB, free: 14.93 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 8.564e-05/0.3399, allocations: 190.5 kB / 0.5868 GB, free: 14.74 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.04e-05/0.3399, allocations: 110.3 kB / 0.5869 GB, free: 14.62 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.445e-05/0.34, allocations: 114.4 kB / 0.587 GB, free: 14.51 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.409e-05/0.34, allocations: 178.3 kB / 0.5872 GB, free: 14.33 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.602e-05/0.3401, allocations: 182.1 kB / 0.5874 GB, free: 14.14 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-05/0.3402, allocations: 181.7 kB / 0.5875 GB, free: 13.96 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.3404, allocations: 406.4 kB / 0.5879 GB, free: 13.51 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.012e-05/0.3404, allocations: 110.5 kB / 0.588 GB, free: 13.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.384e-05/0.3404, allocations: 107.3 kB / 0.5881 GB, free: 13.29 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.976e-05/0.3405, allocations: 182.3 kB / 0.5883 GB, free: 13.11 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.558e-05/0.3406, allocations: 178.2 kB / 0.5885 GB, free: 12.93 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.532e-05/0.3406, allocations: 181.7 kB / 0.5886 GB, free: 12.74 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.315e-05/0.3407, allocations: 182 kB / 0.5888 GB, free: 12.56 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001113/0.3408, allocations: 316.8 kB / 0.5891 GB, free: 12.23 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.394e-05/0.3409, allocations: 180.8 kB / 0.5893 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.419e-05/0.3409, allocations: 182.7 kB / 0.5895 GB, free: 11.85 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.428e-05/0.341, allocations: 110.8 kB / 0.5896 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.784e-05/0.3411, allocations: 182 kB / 0.5897 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.922e-05/0.3411, allocations: 106.3 kB / 0.5898 GB, free: 11.44 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.259e-05/0.3411, allocations: 89.33 kB / 0.5899 GB, free: 11.36 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3411, allocations: 0 / 0.5899 GB, free: 11.36 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0002893/0.3414, allocations: 49.69 kB / 0.59 GB, free: 11.35 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.0004598/0.3419, allocations: 330.3 kB / 0.5903 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 6.956e-05/0.342, allocations: 12.61 kB / 0.5903 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.342, allocations: 0 / 0.5903 GB, free: 11.15 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 4.649e-06/0.342, allocations: 8.812 kB / 0.5903 GB, free: 11.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002989/0.3423, allocations: 459.1 kB / 0.5907 GB, free: 10.69 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001992/0.3425, allocations: 180.1 kB / 0.5909 GB, free: 10.5 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002024/0.3427, allocations: 0.6732 MB / 0.5916 GB, free: 9.809 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.223e-05/0.3428, allocations: 10.53 kB / 0.5916 GB, free: 9.801 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.281e-05/0.3428, allocations: 9.25 kB / 0.5916 GB, free: 9.793 MB / 446.1 MB Notification: Performance of SimCode: time 2.01e-07/0.3428, allocations: 0 / 0.5916 GB, free: 9.793 MB / 446.1 MB Notification: Performance of Templates: time 0.003702/0.3465, allocations: 1.613 MB / 0.5932 GB, free: 9.629 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)