Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement") translateModel(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.0012/0.0012, allocations: 105.5 kB / 15.99 MB, free: 6.348 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.001249/0.001249, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.252/1.252, allocations: 222.9 MB / 240.6 MB, free: 15.44 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002112/0.002112, allocations: 280.5 kB / 291 MB, free: 14.63 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9039/0.9039, allocations: 169.2 MB / 0.4985 GB, free: 4.734 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001665, allocations: 96.53 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1553, allocations: 86.97 MB / 0.6803 GB, free: 8.582 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement): time 0.002247/0.1576, allocations: 1.327 MB / 0.6816 GB, free: 7.238 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.00185/0.1595, allocations: 1.421 MB / 0.683 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.1595, allocations: 0 / 0.683 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.879e-05/0.1596, allocations: 0 / 0.683 GB, free: 5.809 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001646/0.1597, allocations: 15.92 kB / 0.683 GB, free: 5.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005488/0.1603, allocations: 193.5 kB / 0.6832 GB, free: 5.609 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.84e-05/0.1603, allocations: 19.94 kB / 0.6832 GB, free: 5.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.725e-05/0.1604, allocations: 15.98 kB / 0.6832 GB, free: 5.574 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.904e-05/0.1605, allocations: 23.92 kB / 0.6832 GB, free: 5.551 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.22e-05/0.1606, allocations: 11.92 kB / 0.6832 GB, free: 5.539 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.1606, allocations: 4 kB / 0.6832 GB, free: 5.535 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002193/0.1608, allocations: 147.8 kB / 0.6834 GB, free: 5.391 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.14e-05/0.1608, allocations: 4 kB / 0.6834 GB, free: 5.387 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.107e-05/0.1609, allocations: 11.92 kB / 0.6834 GB, free: 5.375 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001654/0.161, allocations: 104.1 kB / 0.6835 GB, free: 5.273 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.188e-06/0.1611, allocations: 0 / 0.6835 GB, free: 5.273 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.513e-06/0.1611, allocations: 0 / 0.6835 GB, free: 5.273 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.639e-06/0.1611, allocations: 0 / 0.6835 GB, free: 5.273 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.000331/0.1614, allocations: 371.5 kB / 0.6838 GB, free: 4.863 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.099e-05/0.1614, allocations: 8.031 kB / 0.6838 GB, free: 4.855 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.351e-05/0.1615, allocations: 76.22 kB / 0.6839 GB, free: 4.781 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001365/0.1617, allocations: 247.6 kB / 0.6841 GB, free: 4.5 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.686e-05/0.1617, allocations: 150.9 kB / 0.6843 GB, free: 4.352 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.1618, allocations: 158.7 kB / 0.6844 GB, free: 4.195 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.327e-05/0.1618, allocations: 112.9 kB / 0.6846 GB, free: 4.078 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.015e-05/0.1619, allocations: 79.28 kB / 0.6846 GB, free: 4 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.135e-05/0.1619, allocations: 150.6 kB / 0.6848 GB, free: 3.852 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.714e-05/0.162, allocations: 150.6 kB / 0.6849 GB, free: 3.703 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.074e-05/0.162, allocations: 154.6 kB / 0.6851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002611/0.1623, allocations: 453.9 kB / 0.6855 GB, free: 3.059 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 6.754e-05/0.1624, allocations: 169.1 kB / 0.6857 GB, free: 2.883 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.1624, allocations: 88.08 kB / 0.6857 GB, free: 2.793 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.236e-05/0.1624, allocations: 75.28 kB / 0.6858 GB, free: 2.719 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.482e-05/0.1625, allocations: 109.8 kB / 0.6859 GB, free: 2.602 MB / 494.1 MB Notification: Performance of pre-optimization done (n=0): time 9.12e-07/0.1625, allocations: 0 / 0.6859 GB, free: 2.602 MB / 494.1 MB Notification: Performance of matching and sorting (n=0): time 6.614e-05/0.1626, allocations: 29.7 kB / 0.6859 GB, free: 2.566 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.131e-05/0.1626, allocations: 126.7 kB / 0.6861 GB, free: 2.43 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.1627, allocations: 109.8 kB / 0.6862 GB, free: 2.312 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.495e-05/0.1627, allocations: 25.7 kB / 0.6862 GB, free: 2.281 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.409e-05/0.1628, allocations: 88.08 kB / 0.6863 GB, free: 2.191 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.553e-06/0.1628, allocations: 0 / 0.6863 GB, free: 2.191 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.1628, allocations: 25.7 kB / 0.6863 GB, free: 2.16 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.957e-05/0.1629, allocations: 318.8 kB / 0.6866 GB, free: 1.84 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/0.1629, allocations: 4 kB / 0.6866 GB, free: 1.836 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.846e-05/0.163, allocations: 22.56 kB / 0.6866 GB, free: 1.805 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.067e-05/0.163, allocations: 34.52 kB / 0.6867 GB, free: 1.762 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.163, allocations: 0 / 0.6867 GB, free: 1.762 MB / 494.1 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000113/0.1632, allocations: 53.56 kB / 0.6867 GB, free: 1.703 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.205e-05/0.1632, allocations: 4 kB / 0.6867 GB, free: 1.699 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.1632, allocations: 4 kB / 0.6867 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.678e-06/0.1632, allocations: 0 / 0.6867 GB, free: 1.695 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.651e-05/0.1633, allocations: 4 kB / 0.6867 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.308e-06/0.1633, allocations: 0 / 0.6867 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001531/0.1634, allocations: 15.83 kB / 0.6867 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.826e-05/0.1634, allocations: 8.094 kB / 0.6868 GB, free: 1.668 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.69e-05/0.1635, allocations: 189.1 kB / 0.6869 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.213e-05/0.1636, allocations: 112.8 kB / 0.687 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.83e-05/0.1637, allocations: 104.1 kB / 0.6871 GB, free: 1.246 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.765e-05/0.1637, allocations: 176.4 kB / 0.6873 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.859e-05/0.1638, allocations: 188.2 kB / 0.6875 GB, free: 0.875 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.949e-05/0.1638, allocations: 180.2 kB / 0.6877 GB, free: 0.6914 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001989/0.164, allocations: 413.1 kB / 0.6881 GB, free: 236 kB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.752e-05/0.1641, allocations: 105.3 kB / 0.6882 GB, free: 124 kB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.942e-05/0.1641, allocations: 101 kB / 0.6882 GB, free: 16 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.248/0.4121, allocations: 179.5 kB / 0.6884 GB, free: 18.5 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.492e-05/0.4122, allocations: 185.4 kB / 0.6886 GB, free: 18.32 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-05/0.4122, allocations: 183.9 kB / 0.6888 GB, free: 18.14 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.005e-05/0.4122, allocations: 182.6 kB / 0.6889 GB, free: 17.96 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.782e-05/0.4123, allocations: 311.3 kB / 0.6892 GB, free: 17.65 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.878e-05/0.4123, allocations: 180.3 kB / 0.6894 GB, free: 17.45 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.913e-05/0.4124, allocations: 180.2 kB / 0.6896 GB, free: 17.27 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.746e-05/0.4124, allocations: 110.7 kB / 0.6897 GB, free: 17.16 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.435e-05/0.4125, allocations: 179.2 kB / 0.6899 GB, free: 16.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.4125, allocations: 106.2 kB / 0.69 GB, free: 16.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.281e-05/0.4125, allocations: 84.52 kB / 0.69 GB, free: 16.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4125, allocations: 4.703 kB / 0.6901 GB, free: 16.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003635/0.4129, allocations: 50.33 kB / 0.6901 GB, free: 16.8 MB / 494.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.0005302/0.4134, allocations: 341.9 kB / 0.6904 GB, free: 16.63 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.452e-05/0.4135, allocations: 13.72 kB / 0.6904 GB, free: 16.63 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.4135, allocations: 0 / 0.6904 GB, free: 16.63 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.723e-06/0.4135, allocations: 0 / 0.6904 GB, free: 16.63 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.4138, allocations: 465.4 kB / 0.6909 GB, free: 16.19 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001988/0.414, allocations: 197.2 kB / 0.6911 GB, free: 15.99 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.129e-05/0.4141, allocations: 0.6738 MB / 0.6917 GB, free: 15.29 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.428e-05/0.4141, allocations: 13.64 kB / 0.6917 GB, free: 15.29 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4141, allocations: 3.344 kB / 0.6917 GB, free: 15.29 MB / 494.1 MB Notification: Performance of Templates: time 0.003214/0.4173, allocations: 1.607 MB / 0.6933 GB, free: 15.16 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.GetHeaderElement.pipe 2>&1)